Lines Matching defs:handler
92 * The handler for a message is called when the message state goes to
95 * For receiving message we maintain a list of handler functions to call when
97 * called much like an interrupt handler and are passed a copy of the message
98 * from the IOP. The message state will be in MSG_RCVD while the handler runs;
99 * it is the handler's responsibility to call iop_complete_message() when
101 * the IOP. This two-step process is provided to allow the handler to defer
102 * message processing to a bottom-half handler if the processing will take
138 void (*handler)(struct iop_msg *);
288 iop_listeners[IOP_NUM_SCC][i].handler = NULL;
290 iop_listeners[IOP_NUM_ISM][i].handler = NULL;
295 * Register the interrupt handler for the IOPs.
321 * If the handler pointer is NULL the current listener (if any) is
327 void (*handler)(struct iop_msg *),
332 if (iop_listeners[iop_num][chan].handler && handler) return -EINVAL;
334 iop_listeners[iop_num][chan].handler = handler;
412 if (msg->handler) (*msg->handler)(msg);
435 msg->handler = iop_listeners[iop_num][chan].handler;
450 if (msg->handler) {
451 (*msg->handler)(msg);
468 void (*handler)(struct iop_msg *))
485 msg->handler = handler;