Lines Matching defs:p_msg
51 tNFA_EE_API_DISCOVER *p_msg;
66 else if ((p_msg = (tNFA_EE_API_DISCOVER *) GKI_getbuf (sizeof(tNFA_EE_API_DISCOVER))) != NULL)
68 p_msg->hdr.event = NFA_EE_API_DISCOVER_EVT;
69 p_msg->p_cback = p_cback;
71 nfa_sys_sendmsg (p_msg);
151 tNFA_EE_API_REGISTER *p_msg;
161 else if ((p_msg = (tNFA_EE_API_REGISTER *) GKI_getbuf (sizeof(tNFA_EE_API_REGISTER))) != NULL)
163 p_msg->hdr.event = NFA_EE_API_REGISTER_EVT;
164 p_msg->p_cback = p_cback;
166 nfa_sys_sendmsg (p_msg);
187 tNFA_EE_API_DEREGISTER *p_msg;
204 (p_msg = (tNFA_EE_API_DEREGISTER *) GKI_getbuf (sizeof(tNFA_EE_API_DEREGISTER))) != NULL)
206 p_msg->hdr.event = NFA_EE_API_DEREGISTER_EVT;
207 p_msg->index = index;
209 nfa_sys_sendmsg (p_msg);
234 tNFA_EE_API_MODE_SET *p_msg;
256 else if ((p_msg = (tNFA_EE_API_MODE_SET *) GKI_getbuf (sizeof(tNFA_EE_API_MODE_SET))) != NULL)
258 p_msg->hdr.event = NFA_EE_API_MODE_SET_EVT;
259 p_msg->nfcee_id = nfcee_id;
260 p_msg->mode = mode;
261 p_msg->p_cb = p_found;
263 nfa_sys_sendmsg (p_msg);
298 tNFA_EE_API_SET_TECH_CFG *p_msg;
312 else if ((p_msg = (tNFA_EE_API_SET_TECH_CFG *) GKI_getbuf (sizeof(tNFA_EE_API_SET_TECH_CFG))) != NULL)
314 p_msg->hdr.event = NFA_EE_API_SET_TECH_CFG_EVT;
315 p_msg->nfcee_id = nfcee_id;
316 p_msg->p_cb = p_cb;
317 p_msg->technologies_switch_on = technologies_switch_on;
318 p_msg->technologies_switch_off = technologies_switch_off;
319 p_msg->technologies_battery_off = technologies_battery_off;
321 nfa_sys_sendmsg (p_msg);
354 tNFA_EE_API_SET_PROTO_CFG *p_msg;
368 else if ((p_msg = (tNFA_EE_API_SET_PROTO_CFG *) GKI_getbuf (sizeof(tNFA_EE_API_SET_PROTO_CFG))) != NULL)
370 p_msg->hdr.event = NFA_EE_API_SET_PROTO_CFG_EVT;
371 p_msg->nfcee_id = nfcee_id;
372 p_msg->p_cb = p_cb;
373 p_msg->protocols_switch_on = protocols_switch_on;
374 p_msg->protocols_switch_off = protocols_switch_off;
375 p_msg->protocols_battery_off = protocols_battery_off;
377 nfa_sys_sendmsg (p_msg);
409 tNFA_EE_API_ADD_AID *p_msg;
424 else if ((p_msg = (tNFA_EE_API_ADD_AID *) GKI_getbuf (size)) != NULL)
427 p_msg->hdr.event = NFA_EE_API_ADD_AID_EVT;
428 p_msg->nfcee_id = nfcee_id;
429 p_msg->p_cb = p_cb;
430 p_msg->aid_len = aid_len;
431 p_msg->power_state = power_state;
432 p_msgp_msg + 1);
433 memcpy(p_msg->p_aid, p_aid, aid_len);
435 nfa_sys_sendmsg (p_msg);
467 tNFA_EE_API_REMOVE_AID *p_msg;
477 else if ((p_msg = (tNFA_EE_API_REMOVE_AID *) GKI_getbuf (size)) != NULL)
479 p_msg->hdr.event = NFA_EE_API_REMOVE_AID_EVT;
480 p_msg->aid_len = aid_len;
481 p_msg->p_aid = (UINT8 *)(p_msg + 1);
482 memcpy(p_msg->p_aid, p_aid, aid_len);
484 nfa_sys_sendmsg (p_msg);
506 BT_HDR *p_msg;
510 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL)
512 p_msg->event = NFA_EE_API_UPDATE_NOW_EVT;
514 nfa_sys_sendmsg (p_msg);
541 tNFA_EE_API_CONNECT *p_msg;
554 else if ((p_msg = (tNFA_EE_API_CONNECT *) GKI_getbuf (sizeof(tNFA_EE_API_CONNECT))) != NULL)
556 p_msg->hdr.event = NFA_EE_API_CONNECT_EVT;
557 p_msg->nfcee_id = nfcee_id;
558 p_msg->p_cb = p_cb;
559 p_msg->ee_interface = ee_interface;
560 p_msg->p_cback = p_cback;
562 nfa_sys_sendmsg (p_msg);
587 tNFA_EE_API_SEND_DATA *p_msg;
601 else if ((p_msg = (tNFA_EE_API_SEND_DATA *) GKI_getbuf ((UINT16)(sizeof(tNFA_EE_API_SEND_DATA) + data_len))) != NULL)
603 p_msg->hdr.event = NFA_EE_API_SEND_DATA_EVT;
604 p_msg->nfcee_id = nfcee_id;
605 p_msg->p_cb = p_cb;
606 p_msg->data_len = data_len;
607 p_msg->p_data = (UINT8 *)(p_msg + 1);
608 memcpy(p_msg->p_data, p_data, data_len);
610 nfa_sys_sendmsg (p_msg);
633 tNFA_EE_API_DISCONNECT *p_msg;
646 else if ((p_msg = (tNFA_EE_API_DISCONNECT *) GKI_getbuf (sizeof(tNFA_EE_API_DISCONNECT))) != NULL)
648 p_msg->hdr.event = NFA_EE_API_DISCONNECT_EVT;
649 p_msg->nfcee_id = nfcee_id;
650 p_msg->p_cb = p_cb;
652 nfa_sys_sendmsg (p_msg);