Searched refs:bclk_target (Results 1 – 4 of 4) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | arizona.c | 1789 int bclk, lrclk, wl, frame, bclk_target; in arizona_hw_params() local 1803 bclk_target = tdm_slots * tdm_width * params_rate(params); in arizona_hw_params() 1806 bclk_target = snd_soc_params_to_bclk(params); in arizona_hw_params() 1812 bclk_target /= channels; in arizona_hw_params() 1813 bclk_target *= chan_limit; in arizona_hw_params() 1821 bclk_target /= channels; in arizona_hw_params() 1822 bclk_target *= channels + 1; in arizona_hw_params() 1826 if (rates[i] >= bclk_target && in arizona_hw_params()
|
H A D | cs42l43.c | 384 int frame, bclk_target, i; in cs42l43_asp_hw_params() local 399 bclk_target = params_rate(params) * frame; in cs42l43_asp_hw_params() 402 unsigned int gcd_nm = gcd(bclk_target, CS42L43_INTERNAL_SYSCLK); in cs42l43_asp_hw_params() 403 int n = bclk_target / gcd_nm; in cs42l43_asp_hw_params() 408 dev_err(priv->dev, "Can't produce %dHz bclk\n", bclk_target); in cs42l43_asp_hw_params() 413 n, m, bclk_target, n_slots, slot_width); in cs42l43_asp_hw_params()
|
H A D | madera.c | 3114 int bclk, lrclk, wl, frame, bclk_target, num_rates; in madera_hw_params() local 3131 bclk_target = tdm_slots * tdm_width * rate; in madera_hw_params() 3134 bclk_target = snd_soc_params_to_bclk(params); in madera_hw_params() 3140 bclk_target /= channels; in madera_hw_params() 3141 bclk_target *= chan_limit; in madera_hw_params() 3149 bclk_target /= channels; in madera_hw_params() 3150 bclk_target *= channels + 1; in madera_hw_params() 3154 if (rates[i] >= bclk_target && rates[i] % rate == 0) { in madera_hw_params()
|
/linux/sound/soc/ti/ |
H A D | davinci-mcasp.c | 1259 unsigned int bclk_target; in davinci_mcasp_hw_params() local 1265 bclk_target = rate * sbits * slots; in davinci_mcasp_hw_params() 1267 bclk_target = rate * 128; in davinci_mcasp_hw_params() 1270 bclk_target, true); in davinci_mcasp_hw_params()
|