Lines Matching refs:sfc
90 unsigned int sfc; in amdtp_out_stream_set_rate() local
95 for (sfc = 0; sfc < ARRAY_SIZE(rate_info); ++sfc) in amdtp_out_stream_set_rate()
96 if (rate_info[sfc].rate == rate) { in amdtp_out_stream_set_rate()
97 s->sfc = sfc; in amdtp_out_stream_set_rate()
98 s->syt_interval = rate_info[sfc].syt_interval; in amdtp_out_stream_set_rate()
128 return 8 + max_data_blocks[s->sfc] * 4 * s->data_block_quadlets; in amdtp_out_stream_get_max_payload()
171 if (!cip_sfc_is_base_44100(s->sfc)) { in calculate_data_blocks()
185 if (s->sfc == CIP_SFC_44100) in calculate_data_blocks()
191 data_blocks = 11 * (s->sfc >> 1) + (phase == 0); in calculate_data_blocks()
192 if (++phase >= (80 >> (s->sfc >> 1))) in calculate_data_blocks()
206 if (!cip_sfc_is_base_44100(s->sfc)) in calculate_syt()
337 (s->sfc << AMDTP_FDF_SFC_SHIFT) | syt); in queue_out_packet()
457 s->data_block_state = initial_state[s->sfc].data_block; in amdtp_out_stream_start()
458 s->syt_offset_state = initial_state[s->sfc].syt_offset; in amdtp_out_stream_start()