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()
3087 int bclk, lrclk, wl, frame, bclk_target, num_rates; in madera_hw_params() local3104 bclk_target = tdm_slots * tdm_width * rate; in madera_hw_params()3107 bclk_target = snd_soc_params_to_bclk(params); in madera_hw_params()3113 bclk_target /= channels; in madera_hw_params()3114 bclk_target *= chan_limit; in madera_hw_params()3125 bclk_target /= channels; in madera_hw_params()3126 bclk_target *= channels + 1; in madera_hw_params()3130 if (rates[i] >= bclk_target && rates[i] % rate == 0) { in madera_hw_params()