Lines Matching refs:p_msg

51     tNFA_HCI_API_REGISTER_APP *p_msg;
74 &&((p_msg = (tNFA_HCI_API_REGISTER_APP *) GKI_getbuf (sizeof (tNFA_HCI_API_REGISTER_APP))) != NULL))
76 p_msg->hdr.event = NFA_HCI_API_REGISTER_APP_EVT;
79 memset (p_msg->app_name, 0, sizeof (p_msg->app_name));
80 BCM_STRNCPY_S (p_msg->app_name, sizeof (p_msg->app_name), p_app_name, NFA_MAX_HCI_APP_NAME_LEN);
81 p_msg->p_cback = p_cback;
82 p_msg->b_send_conn_evts = b_send_conn_evts;
84 nfa_sys_sendmsg (p_msg);
109 tNFA_HCI_API_GET_APP_GATE_PIPE *p_msg;
121 &&((p_msg = (tNFA_HCI_API_GET_APP_GATE_PIPE *) GKI_getbuf (sizeof (tNFA_HCI_API_GET_APP_GATE_PIPE))) != NULL))
123 p_msg->hdr.event = NFA_HCI_API_GET_APP_GATE_PIPE_EVT;
124 p_msg->hci_handle = hci_handle;
126 nfa_sys_sendmsg (p_msg);
150 tNFA_HCI_API_DEREGISTER_APP *p_msg;
182 &&((p_msg = (tNFA_HCI_API_DEREGISTER_APP *) GKI_getbuf (sizeof (tNFA_HCI_API_DEREGISTER_APP))) != NULL) )
184 p_msg->hdr.event = NFA_HCI_API_DEREGISTER_APP_EVT;
186 memset (p_msg->app_name, 0, sizeof (p_msg->app_name));
187 BCM_STRNCPY_S (p_msg->app_name, sizeof (p_msg->app_name), p_app_name, NFA_MAX_HCI_APP_NAME_LEN);
189 nfa_sys_sendmsg (p_msg);
214 tNFA_HCI_API_ALLOC_GATE *p_msg;
233 &&((p_msg = (tNFA_HCI_API_ALLOC_GATE *) GKI_getbuf (sizeof (tNFA_HCI_API_ALLOC_GATE))) != NULL) )
235 p_msg->hdr.event = NFA_HCI_API_ALLOC_GATE_EVT;
236 p_msg->hci_handle = hci_handle;
237 p_msg->gate = gate;
239 nfa_sys_sendmsg (p_msg);
260 tNFA_HCI_API_DEALLOC_GATE *p_msg;
278 &&((p_msg = (tNFA_HCI_API_DEALLOC_GATE *) GKI_getbuf (sizeof (tNFA_HCI_API_DEALLOC_GATE))) != NULL) )
280 p_msg->hdr.event = NFA_HCI_API_DEALLOC_GATE_EVT;
281 p_msg->hci_handle = hci_handle;
282 p_msg->gate = gate;
284 nfa_sys_sendmsg (p_msg);
305 tNFA_HCI_API_GET_HOST_LIST *p_msg;
318 &&((p_msg = (tNFA_HCI_API_GET_HOST_LIST *) GKI_getbuf (sizeof (tNFA_HCI_API_GET_HOST_LIST))) != NULL) )
320 p_msg->hdr.event = NFA_HCI_API_GET_HOST_LIST_EVT;
321 p_msg->hci_handle = hci_handle;
323 nfa_sys_sendmsg (p_msg);
355 tNFA_HCI_API_CREATE_PIPE_EVT *p_msg;
393 &&((p_msg = (tNFA_HCI_API_CREATE_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_CREATE_PIPE_EVT))) != NULL) )
395 p_msg->hdr.event = NFA_HCI_API_CREATE_PIPE_EVT;
396 p_msg->hci_handle = hci_handle;
397 p_msg->source_gate = source_gate_id;
398 p_msg->dest_host = dest_host; /* Host id of the destination host */
399 p_msg->dest_gate = dest_gate; /* Gate id of the destination gate */
401 nfa_sys_sendmsg (p_msg);
422 tNFA_HCI_API_OPEN_PIPE_EVT *p_msg;
442 &&((p_msg = (tNFA_HCI_API_OPEN_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_OPEN_PIPE_EVT))) != NULL) )
444 p_msg->hdr.event = NFA_HCI_API_OPEN_PIPE_EVT;
445 p_msg->hci_handle = hci_handle;
446 p_msg->pipe = pipe; /* Pipe ID of the pipe to open */
448 nfa_sys_sendmsg (p_msg);
472 tNFA_HCI_API_GET_REGISTRY *p_msg;
490 &&((p_msg = (tNFA_HCI_API_GET_REGISTRY *) GKI_getbuf (sizeof (tNFA_HCI_API_GET_REGISTRY))) != NULL) )
492 p_msg->hdr.event = NFA_HCI_API_GET_REGISTRY_EVT;
493 p_msg->hci_handle = hci_handle;
494 p_msg->pipe = pipe;
495 p_msg->reg_inx = reg_inx;
497 nfa_sys_sendmsg (p_msg);
526 tNFA_HCI_API_SET_REGISTRY *p_msg;
551 &&((p_msg = (tNFA_HCI_API_SET_REGISTRY *) GKI_getbuf (sizeof (tNFA_HCI_API_SET_REGISTRY))) != NULL) )
553 p_msg->hdr.event = NFA_HCI_API_SET_REGISTRY_EVT;
554 p_msg->hci_handle = hci_handle;
555 p_msg->pipe = pipe;
556 p_msg->reg_inx = reg_inx;
557 p_msg->size = data_size;
559 memcpy (p_msg->data, p_data, data_size);
560 nfa_sys_sendmsg (p_msg);
588 tNFA_HCI_API_SEND_CMD_EVT *p_msg;
612 &&((p_msg = (tNFA_HCI_API_SEND_CMD_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_SEND_CMD_EVT))) != NULL) )
614 p_msg->hdr.event = NFA_HCI_API_SEND_CMD_EVT;
615 p_msg->hci_handle = hci_handle;
616 p_msg->pipe = pipe;
617 p_msg->cmd_code = cmd_code;
618 p_msg->cmd_len = cmd_size;
621 memcpy (p_msg->data, p_data, cmd_size);
623 nfa_sys_sendmsg (p_msg);
649 tNFA_HCI_API_SEND_RSP_EVT *p_msg;
673 &&((p_msg = (tNFA_HCI_API_SEND_RSP_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_SEND_RSP_EVT))) != NULL) )
675 p_msg->hdr.event = NFA_HCI_API_SEND_RSP_EVT;
676 p_msg->hci_handle = hci_handle;
677 p_msg->response = response;
678 p_msg->size = data_size;
681 memcpy (p_msg->data, p_data, data_size);
683 nfa_sys_sendmsg (p_msg);
730 tNFA_HCI_API_SEND_EVENT_EVT *p_msg;
761 &&((p_msg = (tNFA_HCI_API_SEND_EVENT_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_SEND_EVENT_EVT))) != NULL) )
763 p_msg->hdr.event = NFA_HCI_API_SEND_EVENT_EVT;
764 p_msg->hci_handle = hci_handle;
765 p_msg->pipe = pipe;
766 p_msg->evt_code = evt_code;
767 p_msg->evt_len = evt_size;
768 p_msg->p_evt_buf = p_data;
769 p_msg->rsp_len = rsp_size;
770 p_msg->p_rsp_buf = p_rsp_buf;
771 p_msg->rsp_timeout = rsp_timeout;
773 nfa_sys_sendmsg (p_msg);
795 tNFA_HCI_API_CLOSE_PIPE_EVT *p_msg;
814 &&((p_msg = (tNFA_HCI_API_CLOSE_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_CLOSE_PIPE_EVT))) != NULL) )
816 p_msg->hdr.event = NFA_HCI_API_CLOSE_PIPE_EVT;
817 p_msg->hci_handle = hci_handle;
818 p_msg->pipe = pipe;
820 nfa_sys_sendmsg (p_msg);
844 tNFA_HCI_API_DELETE_PIPE_EVT *p_msg;
863 &&((p_msg = (tNFA_HCI_API_DELETE_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_DELETE_PIPE_EVT))) != NULL) )
865 p_msg->hdr.event = NFA_HCI_API_DELETE_PIPE_EVT;
866 p_msg->hci_handle = hci_handle;
867 p_msg->pipe = pipe;
869 nfa_sys_sendmsg (p_msg);
890 tNFA_HCI_API_ADD_STATIC_PIPE_EVT *p_msg;
925 &&((p_msg = (tNFA_HCI_API_ADD_STATIC_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_ADD_STATIC_PIPE_EVT))) != NULL) )
927 p_msg->hdr.event = NFA_HCI_API_ADD_STATIC_PIPE_EVT;
928 p_msg->hci_handle = hci_handle;
929 p_msg->host = host;
930 p_msg->gate = gate;
931 p_msg->pipe = pipe;
933 nfa_sys_sendmsg (p_msg);
952 BT_HDR *p_msg;
989 if ((p_msg = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL)
991 p = (UINT8 *) (p_msg + 1);
993 p_msg->event = NFA_HCI_CHECK_QUEUE_EVT;
994 p_msg->len = size;
995 p_msg->offset = 0;
999 nfa_sys_sendmsg (p_msg);