Lines Matching defs:period
18 * - Instead of sleeping to wait for a completed period, the interrupt
66 u8 period;
131 unsigned long long cycles = state->period;
134 /* Calculate the period cycles and prescale value */
139 * The register for the period length is cfg.period_bits bits wide.
166 do_div(cycles, state->period);
196 atmel_pwm->data->regs.period, cprd);
206 * Wait for at least a complete period to have passed before disabling a
249 cstate.period == state->period) {
251 atmel_pwm->data->regs.period);
315 atmel_pwm->data->regs.period);
318 state->period = DIV64_U64_ROUND_UP(tmp, rate);
345 .period = PWMV1_CPRD,
351 /* 16 bits to keep period and duty. */
358 .period = PWMV2_CPRD,
364 /* 16 bits to keep period and duty. */
371 .period = PWMV1_CPRD,
377 /* 32 bits to keep period and duty. */