Lines Matching refs:rx
108 s->ctx_data.rx.syt_override = -1; in amdtp_stream_init()
273 s->ctx_data.rx.transfer_delay = in amdtp_stream_set_parameters()
279 s->ctx_data.rx.transfer_delay += in amdtp_stream_set_parameters()
340 data_blocks = s->ctx_data.rx.data_block_state; in calculate_data_blocks()
342 phase = s->ctx_data.rx.data_block_state; in calculate_data_blocks()
361 s->ctx_data.rx.data_block_state = phase; in calculate_data_blocks()
373 if (s->ctx_data.rx.last_syt_offset < TICKS_PER_CYCLE) { in calculate_syt()
375 syt_offset = s->ctx_data.rx.last_syt_offset + in calculate_syt()
376 s->ctx_data.rx.syt_offset_state; in calculate_syt()
388 phase = s->ctx_data.rx.syt_offset_state; in calculate_syt()
390 syt_offset = s->ctx_data.rx.last_syt_offset; in calculate_syt()
395 s->ctx_data.rx.syt_offset_state = phase; in calculate_syt()
398 syt_offset = s->ctx_data.rx.last_syt_offset - TICKS_PER_CYCLE; in calculate_syt()
399 s->ctx_data.rx.last_syt_offset = syt_offset; in calculate_syt()
402 syt_offset += s->ctx_data.rx.transfer_delay; in calculate_syt()
487 ((s->ctx_data.rx.fdf << CIP_FDF_SHIFT) & CIP_FDF_MASK) | in generate_cip_header()
806 if (s->ctx_data.rx.syt_override < 0) in out_stream_callback()
809 syt = s->ctx_data.rx.syt_override; in out_stream_callback()
936 s->ctx_data.rx.data_block_state = entry->data_block; in amdtp_stream_start()
937 s->ctx_data.rx.syt_offset_state = entry->syt_offset; in amdtp_stream_start()
938 s->ctx_data.rx.last_syt_offset = TICKS_PER_CYCLE; in amdtp_stream_start()