Lines Matching full:duty
58 uint32_t duty; member
335 result->duty = in calc_iic_master_bitrate()
343 (result->duty > requested_duty ? result->duty - requested_duty in calc_iic_master_bitrate()
344 : requested_duty - result->duty) / 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()
412 /* Calculate the actual bitrate and duty cycle. */ in calc_iic_master_clock_setting()
418 /* Adjust duty cycle down if it helps. */ in calc_iic_master_clock_setting()
421 while (test_bitrate.duty > requested_duty) { in calc_iic_master_clock_setting()
440 /* Adjust duty cycle up if it helps. */ in calc_iic_master_clock_setting()
441 while (test_bitrate.duty < requested_duty) { in calc_iic_master_clock_setting()