Home
last modified time | relevance | path

Searched refs:amdtp_rate_table (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/sound/firewire/fireface/
H A Dff-pcm.c23 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()
H A Dff-protocol-latter.c218 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()
H A Dff-stream.c132 if (amdtp_rate_table[i] == rate) in snd_ff_stream_reserve_duplex()
H A Dff-protocol-former.c448 if (amdtp_rate_table[i] == rate) in ff400_allocate_resources()
/openbmc/linux/sound/firewire/
H A Dfcp.c39 if (amdtp_rate_table[sfc] == rate) { in avc_general_set_sig_fmt()
131 *rate = amdtp_rate_table[sfc]; in avc_general_get_sig_fmt()
H A Damdtp-stream.c149 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()
288 for (sfc = 0; sfc < ARRAY_SIZE(amdtp_rate_table); ++sfc) { in amdtp_stream_set_parameters()
289 if (amdtp_rate_table[sfc] == rate) in amdtp_stream_set_parameters()
292 if (sfc == ARRAY_SIZE(amdtp_rate_table)) in amdtp_stream_set_parameters()
2102 events_per_period = amdtp_rate_table[d->irq_target->sfc] / 100; in amdtp_domain_start()
2107 amdtp_rate_table[d->irq_target->sfc]); in amdtp_domain_start()
2114 amdtp_rate_table[d->irq_target->sfc]); in amdtp_domain_start()
H A Damdtp-stream.h236 extern const unsigned int amdtp_rate_table[CIP_SFC_COUNT];
H A Damdtp-am824.c292 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc]; in midi_rate_use_one_byte()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-command.c120 if (amdtp_rate_table[sfc] == rate) in avc_general_inquiry_sig_fmt()
/openbmc/linux/sound/firewire/digi00x/
H A Damdtp-dot.c245 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc] * count; in midi_use_bytes()