Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i3c/
Di3c_stm32.c545 uint8_t *scll_pp, uint8_t *sclh_i3c) in i3c_stm32_calc_scll_pp_sclh_i3c() argument
547 *sclh_i3c = DIV_ROUND_UP(STM32_I3C_SCLH_I3C_MIN_NS * i3c_clock, 1000000000ull) - 1; in i3c_stm32_calc_scll_pp_sclh_i3c()
548 *scll_pp = DIV_ROUND_UP(i3c_clock, i3c_bus_freq) - *sclh_i3c - 2; in i3c_stm32_calc_scll_pp_sclh_i3c()
556 LOG_DBG("TimingReg0: SCLL_PP = %d, SCLH_I3C = %d", *scll_pp, *sclh_i3c); in i3c_stm32_calc_scll_pp_sclh_i3c()
578 uint8_t sclh_i3c = 0; in i3c_stm32_config_clk_wave() local
591 ret = i3c_stm32_calc_scll_pp_sclh_i3c(i3c_bus_freq, i3c_clock, &scll_pp, &sclh_i3c); in i3c_stm32_config_clk_wave()
598 ((uint32_t)sclh_i3c << 8) | (scll_pp); in i3c_stm32_config_clk_wave()