Lines Matching refs:bclk_div_ratio
37 uint32_t hclk_div_ratio, bclk_div_ratio; in esai_get_clock_rate_config() local
73 bclk_div_ratio = 1; in esai_get_clock_rate_config()
137 cfg->bclk_div_ratio = 1; in esai_get_clock_rate_config()
144 bclk_div_ratio = DIV_ROUND_UP(extal_rate / hclk_div_ratio, bclk_rate); in esai_get_clock_rate_config()
146 if (bclk_div_ratio <= 16) { in esai_get_clock_rate_config()
148 cfg->bclk_div_ratio = bclk_div_ratio; in esai_get_clock_rate_config()
162 bclk_div_ratio = DIV_ROUND_UP(extal_rate, bclk_rate); in esai_get_clock_rate_config()
164 if (bclk_div_ratio > 16) { in esai_get_clock_rate_config()
171 cfg->bclk_div_ratio = bclk_div_ratio; in esai_get_clock_rate_config()
264 cfg->bclk_div_ratio = 1; in esai_get_xceiver_default_config()
303 ESAI_TCCR_TFP(cfg->bclk_div_ratio - 1) | in esai_commit_config()
344 ESAI_RCCR_RFP(cfg->bclk_div_ratio - 1) | in esai_commit_config()