Home
last modified time | relevance | path

Searched refs:STM32_NSEC_PER_SEC (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c116 #define STM32_NSEC_PER_SEC 1000000000L macro
491 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_compute_solutions()
561 u32 i2cbus = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_choose_solution()
564 u32 i2cclk = DIV_ROUND_CLOSEST(STM32_NSEC_PER_SEC, in stm32_i2c_choose_solution()
579 clk_max = STM32_NSEC_PER_SEC / i2c_specs[setup->speed].rate_min; in stm32_i2c_choose_solution()
580 clk_min = STM32_NSEC_PER_SEC / i2c_specs[setup->speed].rate_max; in stm32_i2c_choose_solution()