Searched refs:i2cclk (Results 1 – 1 of 1) sorted by relevance
494 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_compute_solutions() local507 af_delay_min - (setup->dnf + 3) * i2cclk; in stm32_i2c_compute_solutions()510 af_delay_max - (setup->dnf + 4) * i2cclk; in stm32_i2c_compute_solutions()525 u32 scldel = (l + 1) * (p + 1) * i2cclk; in stm32_i2c_compute_solutions()531 u32 sdadel = (a * (p + 1) + 1) * i2cclk; in stm32_i2c_compute_solutions()567 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_choose_solution() local578 dnf_delay = setup->dnf * i2cclk; in stm32_i2c_choose_solution()580 tsync = af_delay_min + dnf_delay + (2 * i2cclk); in stm32_i2c_choose_solution()595 u32 prescaler = (v->presc + 1) * i2cclk; in stm32_i2c_choose_solution()600 (i2cclk >= in stm32_i2c_choose_solution()[all …]