Lines Matching refs:stm32_i2c_charac

74 static const struct stm32_i2c_charac_t stm32_i2c_charac[] = {  variable
834 (tscl_h >= stm32_i2c_charac[i2c_speed].hscl_min) && \
869 ti2cspeed = (NSEC_PER_SEC + (stm32_i2c_charac[i2c_speed].freq / 2U)) / in i2c_compute_scll_sclh()
870 stm32_i2c_charac[i2c_speed].freq; in i2c_compute_scll_sclh()
877 dnf_delay = stm32_i2c_charac[i2c_speed].dnf * ti2cclk; in i2c_compute_scll_sclh()
879 clk_max = NSEC_PER_SEC / stm32_i2c_charac[i2c_speed].freq_min; in i2c_compute_scll_sclh()
880 clk_min = NSEC_PER_SEC / stm32_i2c_charac[i2c_speed].freq_max; in i2c_compute_scll_sclh()
897 if ((tscl_l > stm32_i2c_charac[i2c_speed].lscl_min) && in i2c_compute_scll_sclh()
909 tscl_h + stm32_i2c_charac[i2c_speed].trise + in i2c_compute_scll_sclh()
910 stm32_i2c_charac[i2c_speed].tfall; in i2c_compute_scll_sclh()
971 tsdadel_min = (int32_t)stm32_i2c_charac[i2c_speed].tfall + in i2c_compute_presc_scldel_sdadel()
972 (int32_t)stm32_i2c_charac[i2c_speed].hddat_min - in i2c_compute_presc_scldel_sdadel()
974 (int32_t)(((int32_t)stm32_i2c_charac[i2c_speed].dnf + 3) * in i2c_compute_presc_scldel_sdadel()
977 tsdadel_max = (int32_t)stm32_i2c_charac[i2c_speed].vddat_max - in i2c_compute_presc_scldel_sdadel()
978 (int32_t)stm32_i2c_charac[i2c_speed].trise - in i2c_compute_presc_scldel_sdadel()
980 (int32_t)(((int32_t)stm32_i2c_charac[i2c_speed].dnf + 4) * in i2c_compute_presc_scldel_sdadel()
984 tscldel_min = (int32_t)stm32_i2c_charac[i2c_speed].trise + in i2c_compute_presc_scldel_sdadel()
985 (int32_t)stm32_i2c_charac[i2c_speed].sudat_min; in i2c_compute_presc_scldel_sdadel()
1031 if ((i2c_freq >= stm32_i2c_charac[speed].freq_min) && in stm32_i2c_configure_timing()
1032 (i2c_freq <= stm32_i2c_charac[speed].freq_max)) { in stm32_i2c_configure_timing()