Searched refs:i3c_clock (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/i3c/ |
D | i3c_stm32.c | 450 uint32_t i3c_clock, uint8_t *scll_od, uint8_t *sclh_i2c) in i3c_stm32_calc_scll_od_sclh_i2c() argument 457 *scll_od = DIV_ROUND_UP(STM32_I3C_SCLL_OD_MIN_FMP_NS * i3c_clock, in i3c_stm32_calc_scll_od_sclh_i2c() 460 *sclh_i2c = DIV_ROUND_UP(i3c_clock, i2c_bus_freq) - *scll_od - 2; in i3c_stm32_calc_scll_od_sclh_i2c() 462 DIV_ROUND_UP(STM32_I3C_SCLH_I2C_MIN_FMP_NS * i3c_clock, 1000000000ull) - in i3c_stm32_calc_scll_od_sclh_i2c() 471 *scll_od = DIV_ROUND_UP(STM32_I3C_SCLL_OD_MIN_FM_NS * i3c_clock, in i3c_stm32_calc_scll_od_sclh_i2c() 474 *sclh_i2c = DIV_ROUND_UP(i3c_clock, i2c_bus_freq) - *scll_od - 2; in i3c_stm32_calc_scll_od_sclh_i2c() 478 DIV_ROUND_UP(STM32_I3C_SCLH_I2C_MIN_FM_NS * i3c_clock, 1000000000ull) - 1) { in i3c_stm32_calc_scll_od_sclh_i2c() 494 i3c_clock, in i3c_stm32_calc_scll_od_sclh_i2c() 497 *sclh_i2c = DIV_ROUND_UP(i3c_clock, i2c_bus_freq) - in i3c_stm32_calc_scll_od_sclh_i2c() 503 i3c_clock, in i3c_stm32_calc_scll_od_sclh_i2c() [all …]
|