Home
last modified time | relevance | path

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

/sound/usb/
Dclock.c536 int cur_rate, prev_rate; in set_sample_rate_v2v3() local
565 cur_rate = snd_usb_set_sample_rate_v2v3(chip, fmt, clock, rate); in set_sample_rate_v2v3()
566 if (cur_rate < 0) { in set_sample_rate_v2v3()
569 fmt->iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2v3()
570 return cur_rate; in set_sample_rate_v2v3()
573 if (!cur_rate) in set_sample_rate_v2v3()
574 cur_rate = prev_rate; in set_sample_rate_v2v3()
576 if (cur_rate != rate) { in set_sample_rate_v2v3()
579 fmt->iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2v3()
Dendpoint.c736 if (ep->cur_rate != params_rate(params) || in endpoint_compatible()
821 ep->cur_rate = params_rate(params); in snd_usb_endpoint_open()
838 ep->cur_channels, ep->cur_rate, in snd_usb_endpoint_open()
955 ep->cur_rate = 0; in snd_usb_endpoint_close()
1320 int rate = ep->cur_rate; in update_clock_ref_rate()
1366 ep->freqn = get_usb_full_speed_rate(ep->cur_rate); in snd_usb_endpoint_set_params()
1369 ep->freqn = get_usb_high_speed_rate(ep->cur_rate); in snd_usb_endpoint_set_params()
1373 ep->sample_rem = ep->cur_rate % ep->pps; in snd_usb_endpoint_set_params()
1374 ep->packsize[0] = ep->cur_rate / ep->pps; in snd_usb_endpoint_set_params()
1375 ep->packsize[1] = (ep->cur_rate + (ep->pps - 1)) / ep->pps; in snd_usb_endpoint_set_params()
Dcard.h140 unsigned int cur_rate; member
Dquirks.c1721 unsigned int cur_rate = subs->data_endpoint->cur_rate; in pioneer_djm_set_format_quirk() local
1724 sr[0] = cur_rate & 0xff; in pioneer_djm_set_format_quirk()
1725 sr[1] = (cur_rate >> 8) & 0xff; in pioneer_djm_set_format_quirk()
1726 sr[2] = (cur_rate >> 16) & 0xff; in pioneer_djm_set_format_quirk()
Dpcm.c999 return apply_hw_params_minmax(it, ep->cur_rate, ep->cur_rate); in hw_rule_rate_implicit_fb()
/sound/atmel/
Dac97c.c47 unsigned int cur_rate; member
94 if (chip->cur_rate) { in atmel_ac97c_playback_open()
95 runtime->hw.rate_min = chip->cur_rate; in atmel_ac97c_playback_open()
96 runtime->hw.rate_max = chip->cur_rate; in atmel_ac97c_playback_open()
113 if (chip->cur_rate) { in atmel_ac97c_capture_open()
114 runtime->hw.rate_min = chip->cur_rate; in atmel_ac97c_capture_open()
115 runtime->hw.rate_max = chip->cur_rate; in atmel_ac97c_capture_open()
131 chip->cur_rate = 0; in atmel_ac97c_playback_close()
148 chip->cur_rate = 0; in atmel_ac97c_capture_close()
165 chip->cur_rate = params_rate(hw_params); in atmel_ac97c_playback_hw_params()
[all …]
/sound/soc/mxs/
Dmxs-saif.c95 if (master_saif->ongoing && rate != master_saif->cur_rate) { in mxs_saif_set_clk()
98 master_saif->id, master_saif->cur_rate); in mxs_saif_set_clk()
152 master_saif->cur_rate = rate; in mxs_saif_set_clk()
606 delay = USEC_PER_SEC / master_saif->cur_rate; in mxs_saif_trigger()
Dmxs-saif.h108 unsigned int cur_rate; member
/sound/xen/
Dxen_snd_front_cfg.c153 char *cur_rate; in cfg_hw_rates() local
164 while ((cur_rate = strsep(&list, XENSND_LIST_SEPARATOR))) { in cfg_hw_rates()
166 if (!strncasecmp(cur_rate, in cfg_hw_rates()
/sound/pci/ice1712/
Dice1724.c641 return ((rate == ice->cur_rate) && !force) ? 0 : -EBUSY; in snd_vt1724_set_pro_rate()
647 return (rate == ice->cur_rate) ? 0 : -EBUSY; in snd_vt1724_set_pro_rate()
656 else if (rate == ice->cur_rate) { in snd_vt1724_set_pro_rate()
662 ice->cur_rate = rate; in snd_vt1724_set_pro_rate()
2724 if (ice->cur_rate) in snd_vt1724_resume()
2725 rate = ice->cur_rate; in snd_vt1724_resume()
Dice1712.h334 unsigned int cur_rate; /* current rate */ member
Dice1712.c1000 ice->cur_rate = rate; in snd_ice1712_set_pro_rate()
2698 if (ice->cur_rate) in snd_ice1712_resume()
2699 rate = ice->cur_rate; in snd_ice1712_resume()
2708 ice->cur_rate = rate; in snd_ice1712_resume()