Searched refs:total_brl_brh (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/i2c/ |
D | i2c_renesas_ra_iic.c | 309 static void calc_iic_master_bitrate(const struct i2c_ra_iic_config *config, uint32_t total_brl_brh, in calc_iic_master_bitrate() argument 334 1 / ((total_brl_brh + 2 * constant_add) / divided_pclk + rise_time_s + fall_time_s); in calc_iic_master_bitrate() 338 (rise_time_s + fall_time_s + ((total_brl_brh + 2 * constant_add)) / divided_pclk)); in calc_iic_master_bitrate() 341 result->brl = total_brl_brh - brh; in calc_iic_master_bitrate() 350 __func__, total_brl_brh, brh, divider, result->bitrate, result->duty, in calc_iic_master_bitrate() 397 uint32_t total_brl_brh = in calc_iic_master_clock_setting() local 402 if ((total_brl_brh > 62) || (total_brl_brh < min_brl_brh)) { in calc_iic_master_clock_setting() 406 uint32_t temp_brh = total_brl_brh * requested_duty / 100; in calc_iic_master_clock_setting() 415 calc_iic_master_bitrate(config, total_brl_brh, temp_brh, temp_divider, in calc_iic_master_clock_setting() 424 if ((temp_brh < min_brh) || ((total_brl_brh - temp_brh) > 31)) { in calc_iic_master_clock_setting() [all …]
|