Lines Matching refs:presc
66 uint32_t presc; /* Timing prescaler */ member
886 uint32_t tpresc = (i2c_valid_timing[count].presc + 1U) * ti2cclk; in i2c_compute_scll_sclh()
931 if (presc != prev_presc) { \
932 i2c_valid_timing[i2c_valid_timing_nbr].presc = presc; \
935 prev_presc = presc; \
956 uint32_t presc, scldel, sdadel; in i2c_compute_presc_scldel_sdadel() local
995 for (presc = 0; presc < STM32_I2C_PRESC_MAX; presc++) { in i2c_compute_presc_scldel_sdadel()
998 uint32_t tscldel = (scldel + 1U) * (presc + 1U) * ti2cclk; in i2c_compute_presc_scldel_sdadel()
1003 uint32_t tsdadel = (sdadel * (presc + 1U)) * ti2cclk; in i2c_compute_presc_scldel_sdadel()
1036 timing = ((i2c_valid_timing[idx].presc & in stm32_i2c_configure_timing()
1066 uint32_t presc = 1U; in stm32_i2c_configure_timing() local
1104 uint32_t t_presc = clock / presc; in stm32_i2c_configure_timing()
1112 ++presc; in stm32_i2c_configure_timing()
1117 ++presc; in stm32_i2c_configure_timing()
1121 timing = __LL_I2C_CONVERT_TIMINGS(presc - 1, in stm32_i2c_configure_timing()
1124 } while (presc < 16); in stm32_i2c_configure_timing()
1126 if (presc >= 16U) { in stm32_i2c_configure_timing()