Searched refs:curr_rate (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/sound/firewire/bebob/ |
H A D | bebob_stream.c | 63 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 D | fireworks_stream.c | 189 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 D | digi00x-stream.c | 292 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 D | ff-stream.c | 113 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 D | ff-protocol-latter.c | 205 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 D | motu-stream.c | 140 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 D | exynos5422-dmc.c | 161 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 D | dirtylimit.c | 593 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 D | tascam-stream.c | 390 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 D | dice-stream.c | 269 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()
|