Searched refs:mbox (Results 1 – 4 of 4) sorted by relevance
503 void GKI_send_msg(uint8_t task_id, uint8_t mbox, void* msg) { in GKI_send_msg() argument508 if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX) || in GKI_send_msg()531 if (p_cb->OSTaskQFirst[task_id][mbox]) in GKI_send_msg()532 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_send_msg()534 p_cb->OSTaskQFirst[task_id][mbox] = p_hdr; in GKI_send_msg()536 p_cb->OSTaskQLast[task_id][mbox] = p_hdr; in GKI_send_msg()544 GKI_send_event(task_id, (uint16_t)EVENT_MASK(mbox)); in GKI_send_msg()561 void* GKI_read_mbox(uint8_t mbox) { in GKI_read_mbox() argument566 if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX)) return (NULL); in GKI_read_mbox()570 if (gki_cb.com.OSTaskQFirst[task_id][mbox]) { in GKI_read_mbox()[all …]
699 void GKI_send_msg(uint8_t task_id, uint8_t mbox, void* msg) { in GKI_send_msg() argument704 if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX) || in GKI_send_msg()727 if (p_cb->OSTaskQFirst[task_id][mbox]) in GKI_send_msg()728 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_send_msg()730 p_cb->OSTaskQFirst[task_id][mbox] = p_hdr; in GKI_send_msg()732 p_cb->OSTaskQLast[task_id][mbox] = p_hdr; in GKI_send_msg()740 GKI_send_event(task_id, (uint16_t)EVENT_MASK(mbox)); in GKI_send_msg()757 void* GKI_read_mbox(uint8_t mbox) { in GKI_read_mbox() argument762 if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX)) return (NULL); in GKI_read_mbox()766 if (gki_cb.com.OSTaskQFirst[task_id][mbox]) { in GKI_read_mbox()[all …]
79 uint8_t mbox; /* GKI mailbox id */ member
322 GKI_send_msg(NFC_TASK, p_nfa_sys_cfg->mbox, p_msg); in nfa_sys_sendmsg()