Home
last modified time | relevance | path

Searched refs:cur_rate (Results 1 – 9 of 9) sorted by relevance

/sound/usb/
Dclock.c365 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()
Dpcm.c107 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 …]
Dcard.h120 unsigned int cur_rate; /* current rate (for hw_params callback) */ member
/sound/atmel/
Dac97c.c50 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/
Dmxs-saif.c107 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()
Dmxs-saif.h121 unsigned int cur_rate; member
/sound/pci/ice1712/
Dice1724.c674 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()
Dice1712.h347 unsigned int cur_rate; /* current rate */ member
Dice1712.c1044 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()