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
130 void (*handler)(struct iop_msg *);
293 iop_listeners[IOP_NUM_SCC][i].handler = NULL;
295 iop_listeners[IOP_NUM_ISM][i].handler = NULL;
300 * Register the interrupt handler for the IOPs.
330 * If the handler pointer is NULL the current listener (if any) is
336 void (*handler)(struct iop_msg *),
341 if (iop_listeners[iop_num][chan].handler && handler) return -EINVAL;
343 iop_listeners[iop_num][chan].handler = handler;
420 if (msg->handler) (*msg->handler)(msg);
448 msg->handler = iop_listeners[iop_num][chan].handler;
461 if (msg->handler) {
462 (*msg->handler)(msg);
486 void (*handler)(struct iop_msg *))
503 msg->handler = handler;