Lines Matching defs:handler
96 * The handler for a message is called when the message state goes to
99 * For receiving message we maintain a list of handler functions to call when
101 * called much like an interrupt handler and are passed a copy of the message
102 * from the IOP. The message state will be in MSG_RCVD while the handler runs;
103 * it is the handler's responsibility to call iop_complete_message() when
105 * the IOP. This two-step process is provided to allow the handler to defer
106 * message processing to a bottom-half handler if the processing will take
142 void (*handler)(struct iop_msg *);
270 iop_listeners[IOP_NUM_SCC][i].handler = NULL;
272 iop_listeners[IOP_NUM_ISM][i].handler = NULL;
277 * Register the interrupt handler for the IOPs.
303 * If the handler pointer is NULL the current listener (if any) is
309 void (*handler)(struct iop_msg *),
314 if (iop_listeners[iop_num][chan].handler && handler) return -EINVAL;
316 iop_listeners[iop_num][chan].handler = handler;
394 if (msg->handler) (*msg->handler)(msg);
417 msg->handler = iop_listeners[iop_num][chan].handler;
432 if (msg->handler) {
433 (*msg->handler)(msg);
450 void (*handler)(struct iop_msg *))
467 msg->handler = handler;