Lines Matching defs:msg_type

324 	int		msg_type;
333 for (msg_type = 0; msg_type < SBBC_MBOX_MSG_TYPES; msg_type++) {
335 for (intr = master_mbox->intrs[msg_type]; intr != NULL;
349 "softint for msg_type %x\n",
350 msg_type);
556 uint32_t msg_type;
560 for (msg_type = 0; msg_type < SBBC_MBOX_MSG_TYPES; msg_type++) {
561 intr = master_mbox->intrs[msg_type];
565 "postreg for msgtype=%x\n", msg_type);
588 sbbc_mbox_reg_intr(uint32_t msg_type, sbbc_intrfunc_t intr_handler,
597 if (msg_type >= SBBC_MBOX_MSG_TYPES)
607 msg_type &= SBBC_MSG_TYPE_MASK;
608 previntr = intr = master_mbox->intrs[msg_type];
640 master_mbox->intrs[msg_type] = intr;
658 "deferring msg=%x registration\n", msg_type);
670 sbbc_mbox_unreg_intr(uint32_t msg_type, sbbc_intrfunc_t intr_handler)
680 msg_type &= SBBC_MSG_TYPE_MASK;
682 if (msg_type >= SBBC_MBOX_MSG_TYPES ||
690 previntr = intr = master_mbox->intrs[msg_type];
713 if (previntr != master_mbox->intrs[msg_type])
716 master_mbox->intrs[msg_type] = nextintr;
891 uint16_t msg_type;
899 (request->msg_type.type >= SBBC_MBOX_MSG_TYPES) ||
901 (response->msg_type.type >= SBBC_MBOX_MSG_TYPES)))
904 msg_type = request->msg_type.type;
911 mbox_wait_lock = &master_mbox->mbox_wait_lock[msg_type];
1051 if (master_mbox->mbox_wait_list[msg_type] == NULL) {
1052 master_mbox->mbox_wait_list[msg_type] = waiter;
1056 tmp = master_mbox->mbox_wait_list[msg_type];
1057 master_mbox->mbox_wait_list[msg_type] = waiter;
1068 * NOTE: We use the request msg_type for the
1070 * msg_type won't change.
1095 if (mbox_find_waiter(msg_type, msg_id) == NULL) {
1170 frag.f_type = msg->msg_type;
1993 mbox_find_waiter(uint16_t msg_type, uint32_t msg_id)
1998 for (waiter = master_mbox->mbox_wait_list[msg_type];
2005 master_mbox->mbox_wait_list[msg_type] =
2466 msgtype = msg->msg_type.type;
2593 msg->msg_type.type = MBOX_EVENT_DP_ERROR;
2621 msg->msg_type.type = MBOX_EVENT_DP_FAULT;
2656 msgp->ecc_resp.msg_type.type,
2657 msgp->ecc_resp.msg_type.sub_type,
2668 if (msgp->ecc_resp.msg_type.type == INFO_MBOX) {
2669 switch (msgp->ecc_resp.msg_type.sub_type) {
2701 msgp->ecc_resp.msg_type.type,
2702 msgp->ecc_resp.msg_type.sub_type);
2720 if (msgp->ecc_resp.msg_type.type == INFO_MBOX) {
2721 switch (msgp->ecc_resp.msg_type.sub_type) {