Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_util_i3c.c126 uint32_t scllpp; in I3C_CtrlTimingComputation() local
204 scllpp = DIV_ROUND_CLOSEST(ti3c_pp_min, ti3cclk) - (sclhi3c + 1U) - 1U; in I3C_CtrlTimingComputation()
216scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk) + (ti3cclk / 2U)), ti3cclk) … in I3C_CtrlTimingComputation()
240 scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk)), ti3cclk) - 1U; in I3C_CtrlTimingComputation()
246 if (((scllpp + 1U) * ti3cclk) >= (ideal_scllpp + (ti3cclk / 2U) + 1U)) in I3C_CtrlTimingComputation()
248 scllpp -= 1U; in I3C_CtrlTimingComputation()
253 if (((scllpp + sclhi3c + 1U + 1U) * ti3cclk) < (ideal_scllpp + (ti3cclk / 2U) + 1U)) in I3C_CtrlTimingComputation()
255 scllpp += 1U; in I3C_CtrlTimingComputation()
272 scllod = scllpp; in I3C_CtrlTimingComputation()
337 if ((scllpp > 0xFFU) || (sclhi3c > 0xFFU) || (scllod > 0xFFU) || (sclhi2c > 0xFFU) || in I3C_CtrlTimingComputation()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_util_i3c.c126 uint32_t scllpp; in I3C_CtrlTimingComputation() local
204 scllpp = DIV_ROUND_CLOSEST(ti3c_pp_min, ti3cclk) - (sclhi3c + 1U) - 1U; in I3C_CtrlTimingComputation()
216scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk) + (ti3cclk / 2U)), ti3cclk) … in I3C_CtrlTimingComputation()
240 scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk)), ti3cclk) - 1U; in I3C_CtrlTimingComputation()
246 if (((scllpp + 1U) * ti3cclk) >= (ideal_scllpp + (ti3cclk / 2U) + 1U)) in I3C_CtrlTimingComputation()
248 scllpp -= 1U; in I3C_CtrlTimingComputation()
253 if (((scllpp + sclhi3c + 1U + 1U) * ti3cclk) < (ideal_scllpp + (ti3cclk / 2U) + 1U)) in I3C_CtrlTimingComputation()
255 scllpp += 1U; in I3C_CtrlTimingComputation()
272 scllod = scllpp; in I3C_CtrlTimingComputation()
337 if ((scllpp > 0xFFU) || (sclhi3c > 0xFFU) || (scllod > 0xFFU) || (sclhi2c > 0xFFU) || in I3C_CtrlTimingComputation()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_util_i3c.c126 uint32_t scllpp; in I3C_CtrlTimingComputation() local
204 scllpp = DIV_ROUND_CLOSEST(ti3c_pp_min, ti3cclk) - (sclhi3c + 1U) - 1U; in I3C_CtrlTimingComputation()
216scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk) + (ti3cclk / 2U)), ti3cclk) … in I3C_CtrlTimingComputation()
240 scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk)), ti3cclk) - 1U; in I3C_CtrlTimingComputation()
246 if (((scllpp + 1U) * ti3cclk) >= (ideal_scllpp + (ti3cclk / 2U) + 1U)) in I3C_CtrlTimingComputation()
248 scllpp -= 1U; in I3C_CtrlTimingComputation()
253 if (((scllpp + sclhi3c + 1U + 1U) * ti3cclk) < (ideal_scllpp + (ti3cclk / 2U) + 1U)) in I3C_CtrlTimingComputation()
255 scllpp += 1U; in I3C_CtrlTimingComputation()
272 scllod = scllpp; in I3C_CtrlTimingComputation()
337 if ((scllpp > 0xFFU) || (sclhi3c > 0xFFU) || (scllod > 0xFFU) || (sclhi2c > 0xFFU) || in I3C_CtrlTimingComputation()
[all …]