Home
last modified time | relevance | path

Searched refs:p_evt (Results 1 – 9 of 9) sorted by relevance

/external/bluetooth/bluedroid/bta/fs/
Dbta_fs_ci.c52 tBTA_FS_CI_WRITE_EVT *p_evt; in bta_fs_ci_write() local
54 if ((p_evt = (tBTA_FS_CI_WRITE_EVT *) GKI_getbuf(sizeof(tBTA_FS_CI_WRITE_EVT))) != NULL) in bta_fs_ci_write()
56 p_evt->hdr.event = evt; in bta_fs_ci_write()
57 p_evt->fd = fd; in bta_fs_ci_write()
58 p_evt->status = status; in bta_fs_ci_write()
60 bta_sys_sendmsg(p_evt); in bta_fs_ci_write()
87 tBTA_FS_CI_READ_EVT *p_evt; in bta_fs_ci_read() local
89 if ((p_evt = (tBTA_FS_CI_READ_EVT *) GKI_getbuf(sizeof(tBTA_FS_CI_READ_EVT))) != NULL) in bta_fs_ci_read()
91 p_evt->hdr.event = evt; in bta_fs_ci_read()
92 p_evt->fd = fd; in bta_fs_ci_read()
[all …]
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_ci.c54 tBTA_GATTC_CI_EVT *p_evt; in bta_gattc_ci_cache_open() local
56 if ((p_evt = (tBTA_GATTC_CI_EVT *) GKI_getbuf(sizeof(tBTA_GATTC_CI_EVT))) != NULL) in bta_gattc_ci_cache_open()
58 p_evt->hdr.event = evt; in bta_gattc_ci_cache_open()
59 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_open()
61 p_evt->status = status; in bta_gattc_ci_cache_open()
62 bta_sys_sendmsg(p_evt); in bta_gattc_ci_cache_open()
86 tBTA_GATTC_CI_LOAD *p_evt; in bta_gattc_ci_cache_load() local
88 if ((p_evt = (tBTA_GATTC_CI_LOAD *) GKI_getbuf(sizeof(tBTA_GATTC_CI_LOAD))) != NULL) in bta_gattc_ci_cache_load()
90 memset(p_evt, 0, sizeof(tBTA_GATTC_CI_LOAD)); in bta_gattc_ci_cache_load()
92 p_evt->hdr.event = evt; in bta_gattc_ci_cache_load()
[all …]
/external/bluetooth/bluedroid/bta/hl/
Dbta_hl_ci.c51 tBTA_HL_CI_GET_PUT_DATA *p_evt; in bta_hl_ci_get_tx_data() local
58 if ((p_evt = (tBTA_HL_CI_GET_PUT_DATA *)GKI_getbuf(sizeof(tBTA_HL_CI_GET_PUT_DATA))) != NULL) in bta_hl_ci_get_tx_data()
60 p_evt->hdr.event = evt; in bta_hl_ci_get_tx_data()
61 p_evt->mdl_handle = mdl_handle; in bta_hl_ci_get_tx_data()
62 p_evt->status = status; in bta_hl_ci_get_tx_data()
63 bta_sys_sendmsg(p_evt); in bta_hl_ci_get_tx_data()
86 tBTA_HL_CI_GET_PUT_DATA *p_evt; in bta_hl_ci_put_rx_data() local
92 if ((p_evt = (tBTA_HL_CI_GET_PUT_DATA *)GKI_getbuf(sizeof(tBTA_HL_CI_GET_PUT_DATA))) != NULL) in bta_hl_ci_put_rx_data()
94 p_evt->hdr.event = evt; in bta_hl_ci_put_rx_data()
95 p_evt->mdl_handle = mdl_handle; in bta_hl_ci_put_rx_data()
[all …]
/external/libnfc-nci/src/nfc/nci/
Dnci_hrcv.c299 tNFC_RESPONSE *p_evt = (tNFC_RESPONSE *) &nfcee_info; in nci_proc_ee_management_rsp() local
313 p_evt = (tNFC_RESPONSE *) &nfcee_discover; in nci_proc_ee_management_rsp()
324 p_evt = (tNFC_RESPONSE *) &mode_set; in nci_proc_ee_management_rsp()
339 (*p_cback) (event, p_evt); in nci_proc_ee_management_rsp()
357 tNFC_RESPONSE *p_evt = (tNFC_RESPONSE *) &nfcee_info; in nci_proc_ee_management_ntf() local
418 (*p_cback) (event, p_evt); in nci_proc_ee_management_ntf()
436 UINT8 *p_evt; in nci_proc_prop_rsp() local
441 p = p_evt = (UINT8 *) (p_msg + 1) + p_msg->offset; in nci_proc_prop_rsp()
448 (*p_cback) ((tNFC_VS_EVT) (NCI_RSP_BIT|op_code), p_msg->len, p_evt); in nci_proc_prop_rsp()
463 UINT8 *p_evt; in nci_proc_prop_ntf() local
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_ncif.c1354 void nfc_ncif_proc_get_config_rsp (BT_HDR *p_evt) in nfc_ncif_proc_get_config_rsp() argument
1360 p_evt->offset += NCI_MSG_HDR_SIZE; in nfc_ncif_proc_get_config_rsp()
1361 p_evt->len -= NCI_MSG_HDR_SIZE; in nfc_ncif_proc_get_config_rsp()
1364 p = (UINT8 *) (p_evt + 1) + p_evt->offset; in nfc_ncif_proc_get_config_rsp()
1366 evt_data.get_config.tlv_size = p_evt->len; in nfc_ncif_proc_get_config_rsp()
1404 BT_HDR *p_evt; in nfc_data_event() local
1410 while ((p_evt = (BT_HDR *)GKI_getfirst (&p_cb->rx_q)) != NULL) in nfc_data_event()
1412 if (p_evt->layer_specific & NFC_RAS_FRAGMENTED) in nfc_data_event()
1416 p_evt = (BT_HDR *) GKI_dequeue (&p_cb->rx_q); in nfc_data_event()
1418 p_evt->offset += NCI_MSG_HDR_SIZE; in nfc_data_event()
[all …]
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_utils.c1063 void nfa_hciu_send_to_app (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt, tNFA_HANDLE app_handle) in nfa_hciu_send_to_app() argument
1073 nfa_hci_cb.p_app_cback[app_inx] (event, p_evt); in nfa_hciu_send_to_app()
1094 void nfa_hciu_send_to_all_apps (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt) in nfa_hciu_send_to_all_apps() argument
1101 nfa_hci_cb.p_app_cback[app_inx] (event, p_evt); in nfa_hciu_send_to_all_apps()
1116 void nfa_hciu_send_to_apps_handling_connectivity_evts (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt) in nfa_hciu_send_to_apps_handling_connectivity_evts() argument
1125 nfa_hci_cb.p_app_cback[app_inx] (event, p_evt); in nfa_hciu_send_to_apps_handling_connectivity_evts()
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h490 extern void nfa_hciu_send_to_app (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt, tNFA…
491 extern void nfa_hciu_send_to_all_apps (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt);
492 … nfa_hciu_send_to_apps_handling_connectivity_evts (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_evt);
/external/bluetooth/bluedroid/stack/avdt/
Davdt_api.c324 static UINT16 avdt_get_cap_req(BD_ADDR bd_addr, tAVDT_CCB_API_GETCAP *p_evt) in avdt_get_cap_req() argument
330 if ((p_evt->single.seid < AVDT_SEID_MIN) || (p_evt->single.seid > AVDT_SEID_MAX)) in avdt_get_cap_req()
332 AVDT_TRACE_ERROR1("seid: %d", p_evt->single.seid); in avdt_get_cap_req()
355 avdt_ccb_event(p_ccb, AVDT_CCB_API_GETCAP_REQ_EVT, (tAVDT_CCB_EVT *)p_evt); in avdt_get_cap_req()
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_act.c824 tNFC_NFCEE_DISCOVER_REVT *p_evt = p_data->disc_rsp.p_data; in nfa_ee_nci_disc_rsp() local
827 UINT8 num_nfcee = p_evt->num_nfcee; in nfa_ee_nci_disc_rsp()
840 if (p_evt->status != NFC_STATUS_OK) in nfa_ee_nci_disc_rsp()
873 if (p_evt->status != NFC_STATUS_OK) in nfa_ee_nci_disc_rsp()
881 if (p_evt->status == NFC_STATUS_OK) in nfa_ee_nci_disc_rsp()
883 nfa_ee_cb.num_ee_expecting = p_evt->num_nfcee; in nfa_ee_nci_disc_rsp()