Searched refs:pwm_ratio (Results 1 – 1 of 1) sorted by relevance
154 u8 pwm_ratio; in nt35560_set_brightness() local172 pwm_ratio = max(((duty_ns * 256) / period_ns) - 1, 1); in nt35560_set_brightness()178 dev_dbg(nt->dev, "calculated duty cycle %02x\n", pwm_ratio); in nt35560_set_brightness()180 &pwm_ratio, 1); in nt35560_set_brightness()