Searched refs:hci_handle (Results 1 - 12 of 12) sorted by relevance

/external/libnfc-nci/src/nfa/hci/
H A Dnfa_hci_api.c107 tNFA_STATUS NFA_HciGetGateAndPipeList (tNFA_HANDLE hci_handle) argument
111 if ((NFA_HANDLE_GROUP_MASK & hci_handle) != NFA_HANDLE_GROUP_HCI)
113 NFA_TRACE_API1 ("NFA_HciGetGateAndPipeList (): Invalid hci_handle:0x%04x", hci_handle);
117 NFA_TRACE_API1 ("NFA_HciGetGateAndPipeList (): hci_handle:0x%04x", hci_handle);
124 p_msg->hci_handle = hci_handle;
212 tNFA_STATUS NFA_HciAllocGate (tNFA_HANDLE hci_handle, UINT8 gate) argument
216 if ((NFA_HANDLE_GROUP_MASK & hci_handle) !
258 NFA_HciDeallocGate(tNFA_HANDLE hci_handle, UINT8 gate) argument
303 NFA_HciGetHostList(tNFA_HANDLE hci_handle) argument
350 NFA_HciCreatePipe(tNFA_HANDLE hci_handle, UINT8 source_gate_id, UINT8 dest_host, UINT8 dest_gate) argument
420 NFA_HciOpenPipe(tNFA_HANDLE hci_handle, UINT8 pipe) argument
470 NFA_HciGetRegistry(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 reg_inx) argument
520 NFA_HciSetRegistry(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 reg_inx, UINT8 data_size, UINT8 *p_data) argument
582 NFA_HciSendCommand(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 cmd_code, UINT16 cmd_size, UINT8 *p_data) argument
643 NFA_HciSendResponse(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 response, UINT8 data_size, UINT8 *p_data) argument
721 NFA_HciSendEvent(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 evt_code, UINT16 evt_size, UINT8 *p_data, UINT16 rsp_size, UINT8 *p_rsp_buf, UINT16 rsp_timeout) argument
793 NFA_HciClosePipe(tNFA_HANDLE hci_handle, UINT8 pipe) argument
842 NFA_HciDeletePipe(tNFA_HANDLE hci_handle, UINT8 pipe) argument
888 NFA_HciAddStaticPipe(tNFA_HANDLE hci_handle, UINT8 host, UINT8 gate, UINT8 pipe) argument
[all...]
H A Dnfa_hci_act.c86 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle;
145 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle;
301 evt_data.hci_register.hci_handle = (tNFA_HANDLE) (xx | NFA_HANDLE_GROUP_HCI);
426 if (pg->gate_owner == p_evt_data->get_gate_pipe_list.hci_handle)
470 nfa_hciu_send_to_app (NFA_HCI_GET_GATE_PIPE_LIST_EVT, &evt_data, p_evt_data->get_gate_pipe_list.hci_handle);
484 tNFA_HANDLE app_handle = p_evt_data->comm.hci_handle;
533 app_handle = p_evt_data->gate_dealloc.hci_handle;
603 UINT8 app_inx = p_evt_data->get_host_list.hci_handle & NFA_HANDLE_MASK;
605 nfa_hci_cb.app_in_use = p_evt_data->get_host_list.hci_handle;
633 ||(p_gate->gate_owner != p_evt_data->create_pipe.hci_handle) )
[all...]
/external/libnfc-nci/src/nfa/include/
H A Dnfa_hci_api.h93 tNFA_HANDLE hci_handle; /* Handle assigned to the application */ member in struct:__anon24029
318 NFC_API extern tNFA_STATUS NFA_HciGetGateAndPipeList (tNFA_HANDLE hci_handle);
356 NFC_API extern tNFA_STATUS NFA_HciAllocGate (tNFA_HANDLE hci_handle, UINT8 gate);
391 NFC_API extern tNFA_STATUS NFA_HciGetHostList (tNFA_HANDLE hci_handle);
413 NFC_API extern tNFA_STATUS NFA_HciCreatePipe (tNFA_HANDLE hci_handle,
431 NFC_API extern tNFA_STATUS NFA_HciOpenPipe (tNFA_HANDLE hci_handle, UINT8 pipe);
449 NFC_API extern tNFA_STATUS NFA_HciGetRegistry (tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 reg_inx);
467 NFC_API extern tNFA_STATUS NFA_HciSetRegistry (tNFA_HANDLE hci_handle,
488 NFC_API extern tNFA_STATUS NFA_HciSendCommand (tNFA_HANDLE hci_handle,
507 NFC_API extern tNFA_STATUS NFA_HciSendResponse (tNFA_HANDLE hci_handle,
[all...]
/external/libnfc-nci/src/nfa/int/
H A Dnfa_hci_int.h113 tNFA_HANDLE hci_handle; member in struct:__anon24171
123 tNFA_HANDLE hci_handle; member in struct:__anon24172
131 tNFA_HANDLE hci_handle; member in struct:__anon24173
138 tNFA_HANDLE hci_handle; member in struct:__anon24174
146 tNFA_HANDLE hci_handle; member in struct:__anon24175
154 tNFA_HANDLE hci_handle; member in struct:__anon24176
162 tNFA_HANDLE hci_handle; member in struct:__anon24177
171 tNFA_HANDLE hci_handle; member in struct:__anon24178
182 tNFA_HANDLE hci_handle; member in struct:__anon24179
193 tNFA_HANDLE hci_handle; member in struct:__anon24180
202 tNFA_HANDLE hci_handle; member in struct:__anon24181
211 tNFA_HANDLE hci_handle; member in struct:__anon24182
220 tNFA_HANDLE hci_handle; member in struct:__anon24183
231 tNFA_HANDLE hci_handle; member in struct:__anon24184
245 tNFA_HANDLE hci_handle; member in struct:__anon24185
272 tNFA_HANDLE hci_handle; member in struct:__anon24188
283 tNFA_HANDLE hci_handle; member in struct:__anon24189
[all...]
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_sco.c361 UINT16_TO_STREAM (p, p_ccb->hci_handle);
676 p->hci_handle = BTM_INVALID_HCI_HANDLE;
733 void btm_sco_chk_pend_unpark (UINT8 hci_status, UINT16 hci_handle) argument
743 ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle))
767 void btm_sco_chk_pend_rolechange (UINT16 hci_handle) argument
777 ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle))
895 void btm_sco_connected (UINT8 hci_status, BD_ADDR bda, UINT16 hci_handle, argument
924 BTM_TRACE_API("Role Change pending for HCI handle 0x%04x",hci_handle);
953 p->hci_handle = hci_handle;
1089 btm_sco_removed(UINT16 hci_handle, UINT8 reason) argument
[all...]
H A Dbtm_acl.c122 ** Description This function returns the FIRST acl_db entry for the passed hci_handle.
127 UINT8 btm_handle_to_acl_index (UINT16 hci_handle) argument
134 if ((p->in_use) && (p->hci_handle == hci_handle))
210 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport)
217 BTM_TRACE_DEBUG ("btm_acl_created hci_handle=%d link_role=%d transport=%d",
218 hci_handle,link_role, transport);
223 p->hci_handle = hci_handle;
240 p->hci_handle
209 btm_acl_created(BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport) argument
2236 btm_process_mode_change(UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) argument
2276 btm_process_clk_off_comp_evt(UINT16 hci_handle, UINT16 clock_offset) argument
3220 UINT16 hci_handle = BTM_GetHCIConnHandle(bd_addr, transport); local
[all...]
H A Dbtm_pm.c335 if (btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[acl_ind].hci_handle, max_lat,
618 btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[link_ind].hci_handle, p_cb->max_lat,
638 if (btsnd_hcic_exit_sniff_mode(btm_cb.acl_db[link_ind].hci_handle))
644 if (btsnd_hcic_exit_park_mode(btm_cb.acl_db[link_ind].hci_handle))
656 if (btsnd_hcic_hold_mode (btm_cb.acl_db[link_ind].hci_handle,
664 if (btsnd_hcic_sniff_mode (btm_cb.acl_db[link_ind].hci_handle,
673 if (btsnd_hcic_park_mode (btm_cb.acl_db[link_ind].hci_handle,
782 ** hci_handle - connection handle associated with the change
789 void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) argument
798 if ((xx = btm_handle_to_acl_index(hci_handle)) >
[all...]
H A Dbtm_int.h81 UINT16 hci_handle; member in struct:__anon1238
421 UINT16 hci_handle; /* HCI Handle */ member in struct:__anon1245
456 extern void btm_sco_chk_pend_rolechange (UINT16 hci_handle);
461 #define btm_sco_chk_pend_rolechange(hci_handle)
542 UINT16 hci_handle; /* Handle to connection when exists */ member in struct:__anon1250
993 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport);
1003 extern UINT8 btm_handle_to_acl_index (UINT16 hci_handle);
1009 extern void btm_process_clk_off_comp_evt (UINT16 hci_handle, UINT16 clock_offset);
1029 extern void btm_process_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode,
1039 extern void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT
[all...]
H A Dbtm_dev.c85 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR);
324 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR);
422 && ((p_dev_rec->hci_handle == handle)
H A Dbtm_sec.c1032 && (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE)
1190 if ( ((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_BR_EDR
1269 BTM_TRACE_EVENT ("BTM_SecBond: Remote sm4: 0x%x HCI Handle: 0x%04x", p_dev_rec->sm4, p_dev_rec->hci_handle);
1276 if (p && p->hci_handle != BTM_SEC_INVALID_HANDLE)
1422 BTM_TRACE_DEBUG ("hci_handle:0x%x sec_state:%d", p_dev_rec->hci_handle, p_dev_rec->sec_state );
1436 if (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE)
1444 return btm_sec_send_hci_disconnect(p_dev_rec, HCI_ERR_PEER_USER, p_dev_rec->hci_handle);
1570 (transport == BT_TRANSPORT_BR_EDR && p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE)
1618 p_dev_rec->hci_handle, p_dev_re
[all...]
H A Dbtm_ble.c95 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR);
H A Dbtm_ble_gap.c3012 if ((p_acl_cb->in_use) && (p_acl_cb->hci_handle == handle))

Completed in 1684 milliseconds