Searched refs:pwm_ratio (Results 1 – 1 of 1) sorted by relevance
100 u8 pwm_ratio; in acx424akp_set_brightness() local106 pwm_ratio = max(((duty_ns * 256) / period_ns) - 1, 1); in acx424akp_set_brightness()112 dev_dbg(acx->dev, "calculated duty cycle %02x\n", pwm_ratio); in acx424akp_set_brightness()114 &pwm_ratio, 1); in acx424akp_set_brightness()