Lines Matching defs:handler
30 void (*handler[PWM_NCHAN])(struct pwm_channel *);
114 pwm->handler[index] = NULL;
156 pwm->handler[t] = NULL;
247 * pwm_channel_handler - manage channel's IRQ handler
249 * @handler: the handler to use, possibly NULL
251 * If the handler is non-null, the handler will be called after every
252 * period of this PWM channel. If the handler is null, this channel
256 void (*handler)(struct pwm_channel *ch))
264 pwm->handler[t] = handler;
265 pwm_writel(pwm, handler ? PWM_IER : PWM_IDR, 1 << t);
288 void (*handler)(struct pwm_channel *ch);
293 handler = pwm->handler[index];
294 if (handler && ch) {
296 handler(ch);