Home
last modified time | relevance | path

Searched refs:xrate (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/soc/sh/
H A Dfsi.c932 unsigned long xrate; in fsi_clk_set_rate_external() local
937 xrate = clk_get_rate(xck); in fsi_clk_set_rate_external()
938 if (xrate % rate) { in fsi_clk_set_rate_external()
944 clk_set_rate(ick, xrate); in fsi_clk_set_rate_external()
947 ackmd = xrate / rate; in fsi_clk_set_rate_external()
949 dev_dbg(dev, "external/rate = %ld/%ld\n", xrate, rate); in fsi_clk_set_rate_external()
/openbmc/linux/sound/pci/rme9652/
H A Drme9652.c463 int xrate; in rme9652_set_rate() local
481 xrate = rme9652_adat_sample_rate(rme9652); in rme9652_set_rate()
485 if (xrate > 48000) { in rme9652_set_rate()
491 if (xrate > 48000) { in rme9652_set_rate()
497 if (xrate < 48000) { in rme9652_set_rate()
503 if (xrate < 48000) { in rme9652_set_rate()
/openbmc/linux/sound/pci/ice1712/
H A Dice1712.c1803 static const unsigned int xrate[13] = { in snd_ice1712_pro_internal_clock_put() local
1815 PRO_RATE_DEFAULT = xrate[ucontrol->value.integer.value[0] % 13]; in snd_ice1712_pro_internal_clock_put()
1864 static const unsigned int xrate[13] = { in snd_ice1712_pro_internal_clock_default_get() local
1870 if (xrate[val] == PRO_RATE_DEFAULT) in snd_ice1712_pro_internal_clock_default_get()
1881 static const unsigned int xrate[13] = { in snd_ice1712_pro_internal_clock_default_put() local
1889 PRO_RATE_DEFAULT = xrate[ucontrol->value.integer.value[0] % 13]; in snd_ice1712_pro_internal_clock_default_put()