Lines Matching defs:period
37 unsigned period; /* PWM period expressed in clk cycles */
97 tcbpwm->period = 0;
115 tcbpwm->period = __raw_readl(regs + ATMEL_TC_REG(group, RC));
245 * If duty is 0 or equal to period there's no need to register
250 if (tcbpwm->duty != tcbpwm->period && tcbpwm->duty > 0) {
273 __raw_writel(tcbpwm->period, regs + ATMEL_TC_REG(group, RC));
294 unsigned period;
325 /* If period is too big return ERANGE error */
331 period = div_u64(period_ns, min);
347 * We're checking the period value of the second PWM device
351 atcbpwm->duty != atcbpwm->period) &&
352 (atcbpwm->div != i || atcbpwm->period != period)) {
358 tcbpwm->period = period;