Home
last modified time | relevance | path

Searched refs:curr_rate (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/sound/firewire/bebob/
Dbebob_stream.c64 snd_bebob_stream_get_rate(struct snd_bebob *bebob, unsigned int *curr_rate) in snd_bebob_stream_get_rate() argument
85 *curr_rate = rx_rate; in snd_bebob_stream_get_rate()
558 unsigned int curr_rate; in snd_bebob_stream_reserve_duplex() local
567 err = bebob->spec->rate->get(bebob, &curr_rate); in snd_bebob_stream_reserve_duplex()
571 rate = curr_rate; in snd_bebob_stream_reserve_duplex()
572 if (curr_rate != rate) { in snd_bebob_stream_reserve_duplex()
580 if (bebob->substreams_counter == 0 || curr_rate != rate) { in snd_bebob_stream_reserve_duplex()
630 unsigned int curr_rate; in snd_bebob_stream_start_duplex() local
633 err = bebob->spec->rate->get(bebob, &curr_rate); in snd_bebob_stream_start_duplex()
658 err = bebob->spec->rate->set(bebob, curr_rate); in snd_bebob_stream_start_duplex()
/Linux-v5.4/sound/firewire/fireworks/
Dfireworks_stream.c186 unsigned int curr_rate; in snd_efw_stream_reserve_duplex() local
196 err = snd_efw_command_get_sampling_rate(efw, &curr_rate); in snd_efw_stream_reserve_duplex()
200 rate = curr_rate; in snd_efw_stream_reserve_duplex()
201 if (rate != curr_rate) { in snd_efw_stream_reserve_duplex()
211 if (efw->substreams_counter == 0 || rate != curr_rate) { in snd_efw_stream_reserve_duplex()
/Linux-v5.4/sound/firewire/fireface/
Dff-stream.c111 unsigned int curr_rate; in snd_ff_stream_reserve_duplex() local
115 err = ff->spec->protocol->get_clock(ff, &curr_rate, &src); in snd_ff_stream_reserve_duplex()
119 if (ff->substreams_counter == 0 || curr_rate != rate) { in snd_ff_stream_reserve_duplex()
Dff-protocol-latter.c133 unsigned int curr_rate; in latter_allocate_resources() local
136 err = latter_get_clock(ff, &curr_rate, &src); in latter_allocate_resources()
140 if (curr_rate == rate) in latter_allocate_resources()
/Linux-v5.4/sound/firewire/digi00x/
Ddigi00x-stream.c288 unsigned int curr_rate; in snd_dg00x_stream_reserve_duplex() local
291 err = snd_dg00x_stream_get_local_rate(dg00x, &curr_rate); in snd_dg00x_stream_reserve_duplex()
295 rate = curr_rate; in snd_dg00x_stream_reserve_duplex()
297 if (dg00x->substreams_counter == 0 || curr_rate != rate) { in snd_dg00x_stream_reserve_duplex()
/Linux-v5.4/sound/firewire/motu/
Dmotu-stream.c138 unsigned int curr_rate; in snd_motu_stream_reserve_duplex() local
141 err = motu->spec->protocol->get_clock_rate(motu, &curr_rate); in snd_motu_stream_reserve_duplex()
145 rate = curr_rate; in snd_motu_stream_reserve_duplex()
147 if (motu->substreams_counter == 0 || curr_rate != rate) { in snd_motu_stream_reserve_duplex()
/Linux-v5.4/sound/firewire/tascam/
Dtascam-stream.c388 unsigned int curr_rate; in snd_tscm_stream_reserve_duplex() local
391 err = snd_tscm_stream_get_rate(tscm, &curr_rate); in snd_tscm_stream_reserve_duplex()
395 if (tscm->substreams_counter == 0 || rate != curr_rate) { in snd_tscm_stream_reserve_duplex()
/Linux-v5.4/sound/firewire/dice/
Ddice-stream.c283 unsigned int curr_rate; in snd_dice_stream_reserve_duplex() local
287 err = snd_dice_transaction_get_rate(dice, &curr_rate); in snd_dice_stream_reserve_duplex()
291 rate = curr_rate; in snd_dice_stream_reserve_duplex()
293 if (dice->substreams_counter == 0 || curr_rate != rate) { in snd_dice_stream_reserve_duplex()