Lines Matching defs:duty_cycle
137 * @duty_cycle: percentage of a period during which a led is ON
140 u8 duty_cycle)
154 if (duty_cycle > LP3944_DUTY_CYCLE_MAX)
157 pwm_value = (duty_cycle * 255) / LP3944_DUTY_CYCLE_MAX;
233 u8 duty_cycle;
251 /* duty_cycle is the percentage of period during which the led is ON */
252 duty_cycle = 100 * (*delay_on) / period;
258 duty_cycle = 100 - duty_cycle;
271 err = lp3944_dim_set_dutycycle(led->client, LP3944_DIM0, duty_cycle);