Searched refs:cur_rate (Results 1 – 9 of 9) sorted by relevance
/sound/usb/ |
D | clock.c | 365 int err, cur_rate, prev_rate; in set_sample_rate_v2() local 394 cur_rate = get_sample_rate_v2(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2() 396 cur_rate = prev_rate; in set_sample_rate_v2() 399 if (cur_rate != rate) { in set_sample_rate_v2() 403 iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2() 408 cur_rate, rate); in set_sample_rate_v2()
|
D | pcm.c | 107 if (subs->cur_rate < fp->rate_min || in find_format() 108 subs->cur_rate > fp->rate_max) in find_format() 113 if (fp->rate_table[i] == subs->cur_rate) in find_format() 654 subs->cur_rate, in configure_sync_endpoint() 662 subs->cur_rate, subs->pcm_format); in configure_sync_endpoint() 694 subs->cur_rate, in configure_sync_endpoint() 718 subs->cur_rate, in configure_endpoint() 757 subs->cur_rate = params_rate(hw_params); in snd_usb_hw_params() 763 subs->pcm_format, subs->cur_rate, subs->channels); in snd_usb_hw_params() 792 subs->cur_rate = 0; in snd_usb_hw_free() [all …]
|
D | card.h | 120 unsigned int cur_rate; /* current rate (for hw_params callback) */ member
|
/sound/atmel/ |
D | ac97c.c | 50 unsigned int cur_rate; member 97 if (chip->cur_rate) { in atmel_ac97c_playback_open() 98 runtime->hw.rate_min = chip->cur_rate; in atmel_ac97c_playback_open() 99 runtime->hw.rate_max = chip->cur_rate; in atmel_ac97c_playback_open() 116 if (chip->cur_rate) { in atmel_ac97c_capture_open() 117 runtime->hw.rate_min = chip->cur_rate; in atmel_ac97c_capture_open() 118 runtime->hw.rate_max = chip->cur_rate; in atmel_ac97c_capture_open() 134 chip->cur_rate = 0; in atmel_ac97c_playback_close() 151 chip->cur_rate = 0; in atmel_ac97c_capture_close() 174 chip->cur_rate = params_rate(hw_params); in atmel_ac97c_playback_hw_params() [all …]
|
/sound/soc/mxs/ |
D | mxs-saif.c | 107 if (master_saif->ongoing && rate != master_saif->cur_rate) { in mxs_saif_set_clk() 110 master_saif->id, master_saif->cur_rate); in mxs_saif_set_clk() 164 master_saif->cur_rate = rate; in mxs_saif_set_clk() 615 delay = USEC_PER_SEC / master_saif->cur_rate; in mxs_saif_trigger()
|
D | mxs-saif.h | 121 unsigned int cur_rate; member
|
/sound/pci/ice1712/ |
D | ice1724.c | 674 return ((rate == ice->cur_rate) && !force) ? 0 : -EBUSY; in snd_vt1724_set_pro_rate() 680 return (rate == ice->cur_rate) ? 0 : -EBUSY; in snd_vt1724_set_pro_rate() 689 else if (rate == ice->cur_rate) { in snd_vt1724_set_pro_rate() 695 ice->cur_rate = rate; in snd_vt1724_set_pro_rate() 2851 if (ice->cur_rate) in snd_vt1724_resume() 2852 rate = ice->cur_rate; in snd_vt1724_resume()
|
D | ice1712.h | 347 unsigned int cur_rate; /* current rate */ member
|
D | ice1712.c | 1044 ice->cur_rate = rate; in snd_ice1712_set_pro_rate() 2820 if (ice->cur_rate) in snd_ice1712_resume() 2821 rate = ice->cur_rate; in snd_ice1712_resume() 2830 ice->cur_rate = rate; in snd_ice1712_resume()
|