Lines Matching refs:duty
37 unsigned duty; /* PWM duty expressed in clk cycles */
81 tcbpwm->duty = 0;
95 &tcbpwm->duty);
99 &tcbpwm->duty);
131 * If duty is 0 the timer will be stopped and we have to
138 if (tcbpwm->duty == 0)
188 * If duty is 0 the timer will be stopped and we have to
195 if (tcbpwm->duty == 0)
221 * If duty is 0 or equal to period there's no need to register
226 if (tcbpwm->duty != tcbpwm->period && tcbpwm->duty > 0) {
247 tcbpwm->duty);
251 tcbpwm->duty);
273 unsigned duty;
311 duty = div_u64(duty_ns, min);
327 if ((atcbpwm && atcbpwm->duty > 0 &&
328 atcbpwm->duty != atcbpwm->period) &&
337 tcbpwm->duty = duty;