Lines Matching refs:mbox
709 void GKI_send_msg (UINT8 task_id, UINT8 mbox, void *msg) in GKI_send_msg() argument
715 …if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX) || (p_cb->OSRdyTbl[task_id] == TASK_DEAD… in GKI_send_msg()
740 if (p_cb->OSTaskQFirst[task_id][mbox]) in GKI_send_msg()
741 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_send_msg()
743 p_cb->OSTaskQFirst[task_id][mbox] = p_hdr; in GKI_send_msg()
745 p_cb->OSTaskQLast[task_id][mbox] = p_hdr; in GKI_send_msg()
754 GKI_send_event(task_id, (UINT16)EVENT_MASK(mbox)); in GKI_send_msg()
771 void *GKI_read_mbox (UINT8 mbox) in GKI_read_mbox() argument
777 if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX)) in GKI_read_mbox()
782 if (gki_cb.com.OSTaskQFirst[task_id][mbox]) in GKI_read_mbox()
784 p_hdr = gki_cb.com.OSTaskQFirst[task_id][mbox]; in GKI_read_mbox()
785 gki_cb.com.OSTaskQFirst[task_id][mbox] = p_hdr->p_next; in GKI_read_mbox()
1348 void GKI_isend_msg (UINT8 task_id, UINT8 mbox, void *msg) in GKI_isend_msg() argument
1354 …if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX) || (p_cb->OSRdyTbl[task_id] == TASK_DEAD… in GKI_isend_msg()
1385 if (p_cb->OSTaskQFirst[task_id][mbox]) in GKI_isend_msg()
1386 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_isend_msg()
1388 p_cb->OSTaskQFirst[task_id][mbox] = p_hdr; in GKI_isend_msg()
1390 p_cb->OSTaskQLast[task_id][mbox] = p_hdr; in GKI_isend_msg()
1396 GKI_isend_event(task_id, (UINT16)EVENT_MASK(mbox)); in GKI_isend_msg()