Searched refs:temp_brh (Results 1 – 1 of 1) sorted by relevance
406 uint32_t temp_brh = total_brl_brh * requested_duty / 100; in calc_iic_master_clock_setting() local408 if (temp_brh < min_brh) { in calc_iic_master_clock_setting()409 temp_brh = min_brh; 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()422 temp_brh -= 1; in calc_iic_master_clock_setting()424 if ((temp_brh < min_brh) || ((total_brl_brh - temp_brh) > 31)) { in calc_iic_master_clock_setting()430 calc_iic_master_bitrate(config, total_brl_brh, temp_brh, temp_divider, in calc_iic_master_clock_setting()442 ++temp_brh; in calc_iic_master_clock_setting()444 if ((temp_brh > total_brl_brh) || (temp_brh > 31) || in calc_iic_master_clock_setting()445 ((total_brl_brh - temp_brh) < min_brh)) { in calc_iic_master_clock_setting()[all …]