Lines Matching refs:i2cclk
515 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_compute_solutions() local
528 af_delay_min - (setup->dnf + 3) * i2cclk; in stm32_i2c_compute_solutions()
531 af_delay_max - (setup->dnf + 4) * i2cclk; in stm32_i2c_compute_solutions()
546 int scldel = (l + 1) * (p + 1) * i2cclk; in stm32_i2c_compute_solutions()
552 int sdadel = (a * (p + 1) + 1) * i2cclk; in stm32_i2c_compute_solutions()
593 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_choose_solution() local
605 dnf_delay = setup->dnf * i2cclk; in stm32_i2c_choose_solution()
607 tsync = af_delay_min + dnf_delay + (2 * i2cclk); in stm32_i2c_choose_solution()
622 u32 prescaler = (v->presc + 1) * i2cclk; in stm32_i2c_choose_solution()
628 (i2cclk >= in stm32_i2c_choose_solution()
640 (i2cclk < tscl_h)) { in stm32_i2c_choose_solution()