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()
3114 int bclk, lrclk, wl, frame, bclk_target, num_rates; in madera_hw_params() local3131 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()