Lines Matching refs:period
6 * - The hardware supports fixed period & configures only 2-wire mode.
9 * keep track of running period.
11 * and new setting for the first period. From second period, the output is
46 u32 period;
70 /* The hardware only supports normal polarity and fixed period. */
71 if (state->polarity != PWM_POLARITY_NORMAL || state->period < pc->period)
77 duty_cycle = min_t(u64, state->duty_cycle, pc->period);
78 val = duty_cycle * LGM_PWM_MAX_DUTY_CYCLE / pc->period;
97 state->period = pc->period; /* fixed period */
101 state->duty_cycle = DIV_ROUND_UP(duty * pc->period, LGM_PWM_MAX_DUTY_CYCLE);
117 pc->period = LGM_PWM_PERIOD_2WIRE_NS;