Lines Matching defs:period
102 duty_cycle *= state.period - lth;
195 unsigned int period)
206 min((int)DIV_ROUND_UP(period, fls(period)), 4096);
216 data->max_brightness) * period;
386 unsigned int period)
538 * period, parsed from the DT, in the PWM device. For the non-DT case,
539 * set the period from platform data if it has not already been set
542 if (!state.period && (data->pwm_period_ns > 0))
543 state.period = data->pwm_period_ns;
579 /* Get the PWM period (in nanoseconds) */
583 state.period);
606 pb->lth_brightness = data->lth_brightness * (div_u64(state.period,