Lines Matching refs:syt_offset
374 if (desc->syt_offset != CIP_SYT_NO_INFO) in pool_blocking_data_blocks()
428 unsigned int syt_offset; in calculate_syt_offset() local
432 syt_offset = *last_syt_offset + *syt_offset_state; in calculate_syt_offset()
447 syt_offset = *last_syt_offset; in calculate_syt_offset()
448 syt_offset += 1386 + ((index && !(index & 3)) || in calculate_syt_offset()
455 syt_offset = *last_syt_offset - TICKS_PER_CYCLE; in calculate_syt_offset()
456 *last_syt_offset = syt_offset; in calculate_syt_offset()
458 if (syt_offset >= TICKS_PER_CYCLE) in calculate_syt_offset()
459 syt_offset = CIP_SYT_NO_INFO; in calculate_syt_offset()
461 return syt_offset; in calculate_syt_offset()
475 desc->syt_offset = calculate_syt_offset(&last, &state, sfc); in pool_ideal_syt_offsets()
489 unsigned int syt_offset; in compute_syt_offset() local
498 syt_offset = syt_cycle_lo * TICKS_PER_CYCLE + (syt & 0x0fff); in compute_syt_offset()
499 if (syt_offset < transfer_delay) in compute_syt_offset()
500 syt_offset += CIP_SYT_CYCLE_MODULUS * TICKS_PER_CYCLE; in compute_syt_offset()
502 return syt_offset - transfer_delay; in compute_syt_offset()
534 dst->syt_offset = compute_syt_offset(src->syt, src->cycle, transfer_delay); in cache_seq()
536 dst->syt_offset = CIP_SYT_NO_INFO; in cache_seq()
1019 static unsigned int compute_syt(unsigned int syt_offset, unsigned int cycle, in compute_syt() argument
1024 syt_offset += transfer_delay; in compute_syt()
1025 syt = ((cycle + syt_offset / TICKS_PER_CYCLE) << 12) | in compute_syt()
1026 (syt_offset % TICKS_PER_CYCLE); in compute_syt()
1048 if (aware_syt && seq->syt_offset != CIP_SYT_NO_INFO) in generate_rx_packet_descs()
1049 desc->syt = compute_syt(seq->syt_offset, desc->cycle, s->transfer_delay); in generate_rx_packet_descs()
1765 unsigned int syt_offset; in amdtp_stream_start() member
1786 s->ctx_data.rx.syt_offset_state = entry->syt_offset; in amdtp_stream_start()