Lines Matching full:bitrate
57 uint32_t bitrate; member
333 result->bitrate = in calc_iic_master_bitrate()
348 " [output] bitrate[%u] duty[%u] divider[%u] brh[%u] brl[%u] " in calc_iic_master_bitrate()
350 __func__, total_brl_brh, brh, divider, result->bitrate, result->duty, in calc_iic_master_bitrate()
377 /* Start with maximum possible bitrate. */ in calc_iic_master_clock_setting()
380 struct ra_iic_master_bitrate bitrate = {}; in calc_iic_master_clock_setting() local
382 calc_iic_master_bitrate(config, min_brl_brh, min_brh, 0, &bitrate); in calc_iic_master_clock_setting()
394 /* If the requested bitrate cannot be achieved with this divider, continue. in calc_iic_master_clock_setting()
412 /* Calculate the actual bitrate and duty cycle. */ in calc_iic_master_clock_setting()
463 bitrate = temp_bitrate; in calc_iic_master_clock_setting()
468 clk_cfg->brl_value = bitrate.brl; in calc_iic_master_clock_setting()
469 clk_cfg->brh_value = bitrate.brh; in calc_iic_master_clock_setting()
470 clk_cfg->cks_value = bitrate.divider; in calc_iic_master_clock_setting()