Lines Matching refs:duty
36 unsigned duty; /* PWM duty expressed in clk cycles */
96 tcbpwm->duty = 0;
108 tcbpwm->duty =
111 tcbpwm->duty =
153 * If duty is 0 the timer will be stopped and we have to
160 if (tcbpwm->duty == 0)
212 * If duty is 0 the timer will be stopped and we have to
219 if (tcbpwm->duty == 0)
245 * If duty is 0 or equal to period there's no need to register
250 if (tcbpwm->duty != tcbpwm->period && tcbpwm->duty > 0) {
269 __raw_writel(tcbpwm->duty, regs + ATMEL_TC_REG(group, RA));
271 __raw_writel(tcbpwm->duty, regs + ATMEL_TC_REG(group, RB));
295 unsigned duty;
330 duty = div_u64(duty_ns, min);
350 if ((atcbpwm && atcbpwm->duty > 0 &&
351 atcbpwm->duty != atcbpwm->period) &&
360 tcbpwm->duty = duty;