Searched refs:amdtp_rate_table (Results 1 – 10 of 10) sorted by relevance
23 for (i = 0; i < ARRAY_SIZE(amdtp_rate_table); i++) { in hw_rule_rate() 34 t.min = min(t.min, amdtp_rate_table[i]); in hw_rule_rate() 35 t.max = max(t.max, amdtp_rate_table[i]); in hw_rule_rate() 54 for (i = 0; i < ARRAY_SIZE(amdtp_rate_table); i++) { in hw_rule_channels() 62 if (!snd_interval_test(r, amdtp_rate_table[i])) in hw_rule_channels() 83 for (i = 0; i < ARRAY_SIZE(amdtp_rate_table); i++) { in limit_channels_and_rates() 97 rate = amdtp_rate_table[i]; in limit_channels_and_rates() 166 if (amdtp_rate_table[i] == rate) in pcm_open() 185 rate = amdtp_rate_table[ff->rx_stream.sfc]; in pcm_open()
218 for (i = 0; i < ARRAY_SIZE(amdtp_rate_table); ++i) { in latter_allocate_resources() 219 if (rate == amdtp_rate_table[i]) in latter_allocate_resources() 222 if (i == ARRAY_SIZE(amdtp_rate_table)) in latter_allocate_resources()
132 if (amdtp_rate_table[i] == rate) in snd_ff_stream_reserve_duplex()
448 if (amdtp_rate_table[i] == rate) in ff400_allocate_resources()
39 if (amdtp_rate_table[sfc] == rate) { in avc_general_set_sig_fmt() 131 *rate = amdtp_rate_table[sfc]; in avc_general_get_sig_fmt()
149 const unsigned int amdtp_rate_table[CIP_SFC_COUNT] = { variable 158 EXPORT_SYMBOL(amdtp_rate_table);171 if (snd_interval_test(r, amdtp_rate_table[i])) in apply_constraint_to_size() 291 for (sfc = 0; sfc < ARRAY_SIZE(amdtp_rate_table); ++sfc) { in amdtp_stream_set_parameters() 292 if (amdtp_rate_table[sfc] == rate) in amdtp_stream_set_parameters() 295 if (sfc == ARRAY_SIZE(amdtp_rate_table)) in amdtp_stream_set_parameters() 2122 events_per_period = amdtp_rate_table[d->irq_target->sfc] / 100; in amdtp_domain_start() 2127 amdtp_rate_table[d->irq_target->sfc]); in amdtp_domain_start() 2134 amdtp_rate_table[d->irq_target->sfc]); in amdtp_domain_start()
236 extern const unsigned int amdtp_rate_table[CIP_SFC_COUNT];
292 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc]; in midi_rate_use_one_byte()
120 if (amdtp_rate_table[sfc] == rate) in avc_general_inquiry_sig_fmt()
245 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc] * count; in midi_use_bytes()