Home
last modified time | relevance | path

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

/openbmc/linux/sound/firewire/bebob/
H A Dbebob_stream.c63 snd_bebob_stream_get_rate(struct snd_bebob *bebob, unsigned int *curr_rate) in snd_bebob_stream_get_rate() argument
84 *curr_rate = rx_rate; in snd_bebob_stream_get_rate()
529 unsigned int curr_rate; in snd_bebob_stream_reserve_duplex() local
538 err = bebob->spec->rate->get(bebob, &curr_rate); in snd_bebob_stream_reserve_duplex()
542 rate = curr_rate; in snd_bebob_stream_reserve_duplex()
543 if (curr_rate != rate) { in snd_bebob_stream_reserve_duplex()
551 if (bebob->substreams_counter == 0 || curr_rate != rate) { in snd_bebob_stream_reserve_duplex()
610 unsigned int curr_rate; in snd_bebob_stream_start_duplex() local
614 err = bebob->spec->rate->get(bebob, &curr_rate); in snd_bebob_stream_start_duplex()
652 err = bebob->spec->rate->set(bebob, curr_rate); in snd_bebob_stream_start_duplex()
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks_stream.c189 unsigned int curr_rate; in snd_efw_stream_reserve_duplex() local
199 err = snd_efw_command_get_sampling_rate(efw, &curr_rate); in snd_efw_stream_reserve_duplex()
203 rate = curr_rate; in snd_efw_stream_reserve_duplex()
204 if (rate != curr_rate) { in snd_efw_stream_reserve_duplex()
214 if (efw->substreams_counter == 0 || rate != curr_rate) { in snd_efw_stream_reserve_duplex()
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x-stream.c292 unsigned int curr_rate; in snd_dg00x_stream_reserve_duplex() local
295 err = snd_dg00x_stream_get_local_rate(dg00x, &curr_rate); in snd_dg00x_stream_reserve_duplex()
299 rate = curr_rate; in snd_dg00x_stream_reserve_duplex()
301 if (dg00x->substreams_counter == 0 || curr_rate != rate) { in snd_dg00x_stream_reserve_duplex()
/openbmc/linux/sound/firewire/fireface/
H A Dff-stream.c113 unsigned int curr_rate; in snd_ff_stream_reserve_duplex() local
117 err = ff->spec->protocol->get_clock(ff, &curr_rate, &src); in snd_ff_stream_reserve_duplex()
121 if (ff->substreams_counter == 0 || curr_rate != rate) { in snd_ff_stream_reserve_duplex()
H A Dff-protocol-latter.c205 unsigned int curr_rate; in latter_allocate_resources() local
208 err = latter_get_clock(ff, &curr_rate, &src); in latter_allocate_resources()
212 if (curr_rate == rate) in latter_allocate_resources()
/openbmc/linux/sound/firewire/motu/
H A Dmotu-stream.c140 unsigned int curr_rate; in snd_motu_stream_reserve_duplex() local
143 err = snd_motu_protocol_get_clock_rate(motu, &curr_rate); in snd_motu_stream_reserve_duplex()
147 rate = curr_rate; in snd_motu_stream_reserve_duplex()
149 if (motu->substreams_counter == 0 || curr_rate != rate) { in snd_motu_stream_reserve_duplex()
/openbmc/linux/drivers/memory/samsung/
H A Dexynos5422-dmc.c161 unsigned long curr_rate; member
696 if (target_rate == dmc->curr_rate) in exynos5_dmc_target()
708 dmc->curr_rate = target_rate; in exynos5_dmc_target()
939 stat->current_frequency = dmc->curr_rate; in exynos5_dmc_get_status()
977 *freq = dmc->curr_rate; in exynos5_dmc_get_cur_freq()
1292 dmc->curr_rate = clk_get_rate(dmc->mout_mclk_cdrex); in exynos5_dmc_init_clks()
1293 dmc->curr_rate = exynos5_dmc_align_init_freq(dmc, dmc->curr_rate); in exynos5_dmc_init_clks()
1294 exynos5_dmc_df_profile.initial_freq = dmc->curr_rate; in exynos5_dmc_init_clks()
1296 ret = exynos5_dmc_get_volt_freq(dmc, &dmc->curr_rate, &target_rate, in exynos5_dmc_init_clks()
/openbmc/qemu/system/
H A Ddirtylimit.c593 uint64_t curr_rate = 0; in dirtylimit_ring_full_time() local
599 curr_rate += vcpu_dirty_rate_get(cpu->cpu_index); in dirtylimit_ring_full_time()
603 if (!curr_rate || !nvcpus) { in dirtylimit_ring_full_time()
607 return dirtylimit_dirty_ring_full_time(curr_rate / nvcpus); in dirtylimit_ring_full_time()
/openbmc/linux/sound/firewire/tascam/
H A Dtascam-stream.c390 unsigned int curr_rate; in snd_tscm_stream_reserve_duplex() local
393 err = snd_tscm_stream_get_rate(tscm, &curr_rate); in snd_tscm_stream_reserve_duplex()
397 if (tscm->substreams_counter == 0 || rate != curr_rate) { in snd_tscm_stream_reserve_duplex()
427 tscm->need_long_tx_init_skip = (rate != curr_rate); in snd_tscm_stream_reserve_duplex()
/openbmc/linux/sound/firewire/dice/
H A Ddice-stream.c269 unsigned int curr_rate; in snd_dice_stream_reserve_duplex() local
273 err = snd_dice_transaction_get_rate(dice, &curr_rate); in snd_dice_stream_reserve_duplex()
277 rate = curr_rate; in snd_dice_stream_reserve_duplex()
279 if (dice->substreams_counter == 0 || curr_rate != rate) { in snd_dice_stream_reserve_duplex()