Searched refs:bclk_target (Results 1 – 2 of 2) sorted by relevance
1788 int bclk, lrclk, wl, frame, bclk_target; in arizona_hw_params() local1802 bclk_target = tdm_slots * tdm_width * params_rate(params); in arizona_hw_params()1805 bclk_target = snd_soc_params_to_bclk(params); in arizona_hw_params()1811 bclk_target /= channels; in arizona_hw_params()1812 bclk_target *= chan_limit; in arizona_hw_params()1820 bclk_target /= channels; in arizona_hw_params()1821 bclk_target *= channels + 1; in arizona_hw_params()1825 if (rates[i] >= bclk_target && in arizona_hw_params()
3108 int bclk, lrclk, wl, frame, bclk_target, num_rates; in madera_hw_params() local3125 bclk_target = tdm_slots * tdm_width * rate; in madera_hw_params()3128 bclk_target = snd_soc_params_to_bclk(params); in madera_hw_params()3134 bclk_target /= channels; in madera_hw_params()3135 bclk_target *= chan_limit; in madera_hw_params()3143 bclk_target /= channels; in madera_hw_params()3144 bclk_target *= channels + 1; in madera_hw_params()3148 if (rates[i] >= bclk_target && rates[i] % rate == 0) { in madera_hw_params()