Lines Matching refs:sysclk
247 unsigned int sysclk; member
325 dev->sysclk = freq; in mchp_i2s_mcc_set_sysclk()
423 unsigned int sysclk; in mchp_i2s_mcc_config_divs() local
428 if (!dev->sysclk) in mchp_i2s_mcc_config_divs()
429 sysclk = bclk; in mchp_i2s_mcc_config_divs()
431 sysclk = dev->sysclk; in mchp_i2s_mcc_config_divs()
438 lcm_rate = lcm(sysclk, bclk); in mchp_i2s_mcc_config_divs()
439 if ((lcm_rate / sysclk % 2 == 1 && lcm_rate / sysclk > 2) || in mchp_i2s_mcc_config_divs()
444 (clk_rate == sysclk || clk_rate / (sysclk * 2) <= GENMASK(5, 0)) && in mchp_i2s_mcc_config_divs()
487 if (dev->sysclk) in mchp_i2s_mcc_config_divs()
488 *mra |= MCHP_I2SMCC_MRA_IMCKDIV(*best_rate / (2 * sysclk)); in mchp_i2s_mcc_config_divs()
553 if (dev->sysclk) in mchp_i2s_mcc_hw_params()
565 if (dev->sysclk) in mchp_i2s_mcc_hw_params()