Lines Matching refs:msgintr
640 dp_msg_intr_t *msgintr; in rmc_comm_reg_intr() local
648 msgintr = &rcs->dp_state.msg_intr; in rmc_comm_reg_intr()
662 if (msgintr->intr_handler == NULL) { in rmc_comm_reg_intr()
665 &msgintr->intr_id, NULL, NULL, intr_handler, in rmc_comm_reg_intr()
668 msgintr->intr_handler = intr_handler; in rmc_comm_reg_intr()
669 msgintr->intr_lock = lock; in rmc_comm_reg_intr()
670 msgintr->intr_state = state; in rmc_comm_reg_intr()
671 msgintr->intr_msg_type = msg_type; in rmc_comm_reg_intr()
672 msgintr->intr_arg = (caddr_t)msgbuf; in rmc_comm_reg_intr()
692 dp_msg_intr_t *msgintr; in rmc_comm_unreg_intr() local
700 msgintr = &rcs->dp_state.msg_intr; in rmc_comm_unreg_intr()
702 if (msgintr->intr_handler != NULL && in rmc_comm_unreg_intr()
703 msgintr->intr_msg_type == msg_type && in rmc_comm_unreg_intr()
704 msgintr->intr_handler == intr_handler) { in rmc_comm_unreg_intr()
706 ddi_remove_softintr(msgintr->intr_id); in rmc_comm_unreg_intr()
707 msgintr->intr_handler = NULL; in rmc_comm_unreg_intr()
708 msgintr->intr_id = 0; in rmc_comm_unreg_intr()
709 msgintr->intr_msg_type = 0; in rmc_comm_unreg_intr()
710 msgintr->intr_arg = NULL; in rmc_comm_unreg_intr()
711 msgintr->intr_lock = NULL; in rmc_comm_unreg_intr()
712 msgintr->intr_state = NULL; in rmc_comm_unreg_intr()