/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_buffer.c | 26 static void gki_add_to_pool_list(UINT8 pool_id); 27 static void gki_remove_from_pool_list(UINT8 pool_id); 46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) 63 p_cb->pool_start[id] = (UINT8 *)p_mem; 64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); 88 magic = (UINT32 *)((UINT8 *)hdr + BUFFER_HDR_SIZE + tempsize); 91 hdr = (BUFFER_HDR_T *)((UINT8 *)hdr + act_size); 101 static BOOLEAN gki_alloc_free_queue(UINT8 id) 147 UINT8 i, tt, mb; 180 p_cb->bufpool0 = (UINT8 *)GKI_os_malloc ((GKI_BUF0_SIZE + BUFFER_PADDING_SIZE) * GKI_BUF0_MAX) [all...] |
gki_inet.h | 39 extern UINT8 *ntoh6(UINT8 *p);
|
/external/libnfc-nci/src/gki/common/ |
gki_buffer.c | 26 static void gki_add_to_pool_list(UINT8 pool_id); 27 static void gki_remove_from_pool_list(UINT8 pool_id); 46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) 63 p_cb->pool_start[id] = (UINT8 *)p_mem; 64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); 88 magic = (UINT32 *)((UINT8 *)hdr + BUFFER_HDR_SIZE + tempsize); 91 hdr = (BUFFER_HDR_T *)((UINT8 *)hdr + act_size); 101 static BOOLEAN gki_alloc_free_queue(UINT8 id) 147 UINT8 i, tt, mb; 180 p_cb->bufpool0 = (UINT8 *)GKI_os_malloc ((GKI_BUF0_SIZE + BUFFER_PADDING_SIZE) * GKI_BUF0_MAX) [all...] |
gki_inet.h | 39 extern UINT8 *ntoh6(UINT8 *p);
|
/external/libnfc-nci/src/nfa/sys/ |
nfa_sys_main.c | 75 UINT8 id; 81 id = (UINT8) (p_msg->event >> 8); 127 void nfa_sys_register (UINT8 id, const tNFA_SYS_REG *p_reg) 158 UINT8 id; 159 UINT8 done = TRUE; 191 void nfa_sys_deregister (UINT8 id) 222 BOOLEAN nfa_sys_is_register (UINT8 id) 254 UINT8 id; 288 UINT8 id; 329 void nfa_sys_notify_nfcc_power_mode (UINT8 nfcc_power_mode [all...] |
/external/libnfc-nci/src/nfc/include/ |
llcp_defs.h | 40 #define LLCP_GET_NS(u8) ((UINT8)(u8) >> 4) 41 #define LLCP_GET_NR(u8) ((UINT8)(u8) & 0x0F) 42 #define LLCP_GET_SEQUENCE(NS, NR) (((UINT8) (NS) << 4) | (UINT8) (NR)) 84 #define LLCP_GET_FRMR_W_ERROR_FLAG(u8) (((UINT8) (u8) >> 7) & 0x01) 85 #define LLCP_GET_FRMR_I_ERROR_FLAG(u8) (((UINT8) (u8) >> 6) & 0x01) 86 #define LLCP_GET_FRMR_R_ERROR_FLAG(u8) (((UINT8) (u8) >> 5) & 0x01) 87 #define LLCP_GET_FRMR_S_ERROR_FLAG(u8) (((UINT8) (u8) >> 4) & 0x01) 88 #define LLCP_GET_FRMR_PTYPE(u8) ((UINT8) (u8) & 0x0F) 101 #define LLCP_GET_MAJOR_VERSION(u8) (((UINT8) (u8) >> 4) & 0x0F [all...] |
/system/bt/udrv/include/ |
uipc.h | 29 typedef UINT8 tUIPC_CH_ID; 95 BOOLEAN UIPC_Send(tUIPC_CH_ID ch_id, UINT16 msg_evt, UINT8 *p_buf, UINT16 msglen); 106 UINT32 UIPC_Read(tUIPC_CH_ID ch_id, UINT16 *p_msg_evt, UINT8 *p_buf, UINT32 len);
|
/system/bt/stack/avrc/ |
avrc_api.c | 42 static const UINT8 avrc_ctrl_event_map[] = 75 static void avrc_ctrl_cback(UINT8 handle, UINT8 event, UINT16 result, 78 UINT8 avrc_event; 102 static UINT8 * avrc_get_data_ptr(BT_HDR *p_pkt) 104 return (UINT8 *)(p_pkt + 1) + p_pkt->offset; 126 UINT8 *p_data = avrc_get_data_ptr(p_pkt); 127 UINT8 *p_data_copy = avrc_get_data_ptr(p_pkt_copy); 143 static void avrc_prep_end_frag(UINT8 handle) 147 UINT8 *p_data, *p_orig_data [all...] |
avrc_bld_tg.c | 43 UINT8 *p_data, *p_start, *p_len, *p_count; 45 UINT8 xx; 47 UINT8 *p_event_id; 59 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; 121 UINT8 *p_data, *p_start, *p_len, *p_num; 123 UINT8 xx; 127 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; 173 UINT8 *p_data, *p_start, *p_len, *p_num; 174 UINT8 xx; 179 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset [all...] |
/system/bt/bta/hh/ |
bta_hh_utils.c | 44 static const UINT8 bta_hh_mod_key_mask[BTA_HH_MOD_MAX_KEY] = 63 UINT8 bta_hh_find_cb(BD_ADDR bda) 65 UINT8 xx; 122 UINT8 index; 157 UINT16 version, UINT8 flag) 181 void bta_hh_add_device_to_list(tBTA_HH_DEV_CB *p_cb, UINT8 handle, 184 UINT8 sub_class, 187 UINT8 app_id) 209 (UINT8 *)osi_malloc(p_dscp_info->dl_len); 226 BOOLEAN bta_hh_tod_spt(tBTA_HH_DEV_CB *p_cb,UINT8 sub_class [all...] |
/system/bt/stack/gap/ |
gap_int.h | 36 UINT8 index; /* Index of this control block and callback */ 59 UINT8 con_state; 66 UINT8 con_flags; 68 UINT8 service_id; /* Used by BTM */ 72 UINT8 chan_mode_mask; /* Supported channel modes (FCR) */ 141 UINT8 trace_level;
|
/system/bt/stack/gatt/ |
att_protocol.c | 48 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) 50 UINT8 *p; 54 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) 75 UINT8 *p; 77 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 102 BT_HDR *attp_build_err_cmd(UINT8 cmd_code, UINT16 err_handle, UINT8 reason) 104 UINT8 *p [all...] |
/system/bt/stack/include/ |
btu.h | 74 extern void btu_hcif_process_event (UINT8 controller_id, BT_HDR *p_buf); 75 extern void btu_hcif_send_cmd (UINT8 controller_id, BT_HDR *p_msg);
|
port_api.h | 50 UINT8 baud_rate; 57 UINT8 byte_size; 61 UINT8 stop_bits; 65 UINT8 parity; 72 UINT8 parity_type; 82 UINT8 fc_type; 84 UINT8 rx_char1; 87 UINT8 xon_char; 90 UINT8 xoff_char; 104 typedef int (tPORT_DATA_CO_CALLBACK) (UINT16 port_handle, UINT8* p_buf, UINT16 len, int type) [all...] |
sdp_api.h | 83 UINT8 *p_data; 101 UINT8 u8; /* 8-bit integer */ 104 UINT8 array[4]; /* Variable length field */ 135 UINT8 *p_free_mem; /* Pointer to free memory */ 137 UINT8 *raw_data; /* Received record from server. allocated/released by client */ 216 BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr, 234 BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr, 252 BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr, 453 INT32 SDP_ReadRecord(UINT32 handle, UINT8 *p_data, INT32 *p_data_len); 470 UINT8 attr_type, UINT32 attr_len [all...] |
/system/bt/stack/rfcomm/ |
rfc_port_if.c | 82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) 110 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) 140 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) 142 UINT8 flow; 143 UINT8 cl; 144 UINT8 k; 194 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) 215 void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars [all...] |
rfc_ts_frames.c | 41 void rfc_send_sabme (tRFC_MCB *p_mcb, UINT8 dlci) 43 UINT8 *p_data; 44 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE); 48 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 55 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 70 void rfc_send_ua (tRFC_MCB *p_mcb, UINT8 dlci) 72 UINT8 *p_data; 73 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, FALSE); 77 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 84 *p_data = RFCOMM_UA_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci) [all...] |
/system/bt/bta/ag/ |
bta_ag_int.h | 169 UINT8 app_id; 237 UINT8 scn; 274 UINT8 state; /* state machine state */ 275 UINT8 conn_service; /* connected service */ 276 UINT8 peer_scn; /* peer scn */ 277 UINT8 app_id; /* application id */ 278 UINT8 role; /* initiator/acceptor role */ 279 UINT8 post_sco; /* action to perform after sco event */ 280 UINT8 call_ind; /* CIEV call indicator value */ 281 UINT8 callsetup_ind; /* CIEV callsetup indicator value * [all...] |
/system/bt/stack/bnep/ |
bnep_utils.c | 41 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type); 43 void bnepu_process_peer_multicast_filter_set (tBNEP_CONN *p_bcb, UINT8 *p_filters, UINT16 len); 84 tBNEP_CONN *bnepu_find_bcb_by_bd_addr (UINT8 *p_bda) 94 if (!memcmp ((UINT8 *)(p_bcb->rem_bda), p_bda, BD_ADDR_LEN)) 124 memset ((UINT8 *)p_bcb, 0, sizeof (tBNEP_CONN)); 127 memcpy ((UINT8 *)(p_bcb->rem_bda), (UINT8 *)p_rem_bda, BD_ADDR_LEN); 181 UINT8 *p, *p_start; 187 p = p_start = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET [all...] |
/system/bt/bta/av/ |
bta_av_api.c | 112 void BTA_AvRegister(tBTA_AV_CHNL chnl, const char *p_service_name, UINT8 app_id, 333 void BTA_AvReconfig(tBTA_AV_HNDL hndl, BOOLEAN suspend, UINT8 sep_info_idx, 334 UINT8 *p_codec_info, UINT8 num_protect, UINT8 *p_protect_info) 344 p_buf->p_protect_info = (UINT8 *)(p_buf + 1); 361 void BTA_AvProtectReq(tBTA_AV_HNDL hndl, UINT8 *p_data, UINT16 len) 372 p_buf->p_data = (UINT8 *) (p_buf + 1); 391 void BTA_AvProtectRsp(tBTA_AV_HNDL hndl, UINT8 error_code, UINT8 *p_data, UINT16 len [all...] |
/external/libnfc-nci/src/nfc/llcp/ |
llcp_api.c | 52 void LLCP_SetTestParams (UINT8 version, UINT16 wks) 84 UINT8 opt, 85 UINT8 wt, 166 UINT8 *p_opt, 167 UINT8 *p_wt, 214 void LLCP_GetDiscoveryConfig (UINT8 *p_wt, 215 UINT8 *p_gen_bytes, 216 UINT8 *p_gen_bytes_len) 218 UINT8 *p = p_gen_bytes; 277 *p_gen_bytes_len = (UINT8) (p - p_gen_bytes) [all...] |
llcp_sdp.c | 64 UINT8 *p; 73 p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset; 91 static void llcp_sdp_add_sdreq (UINT8 tid, char *p_name) 93 UINT8 *p; 96 p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset + llcp_cb.sdp_cb.p_snl->len; 116 tLLCP_STATUS llcp_sdp_send_sdreq (UINT8 tid, char *p_name) 198 static void llcp_sdp_add_sdres (UINT8 tid, UINT8 sap) 200 UINT8 *p; 202 p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset + llcp_cb.sdp_cb.p_snl->len [all...] |
/system/bt/bta/jv/ |
bta_jv_int.h | 102 UINT8 state; /* state: see above enum */ 117 typedef UINT8 tBTA_JV_STATE; 144 UINT8 max_sess; /* max sessions */ 156 UINT8 handle; /* index: the handle reported to java app */ 157 UINT8 scn; /* the scn of the server */ 158 UINT8 max_sess; /* max sessions */ 218 UINT8* p_data; 230 UINT8 *p_data; 243 UINT8 *p_data; 254 UINT8 remote_scn [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
patchram.cpp | 45 static UINT8 sConfig [CONFIG_MAX_LEN]; 50 extern UINT8 *p_nfc_hal_dm_start_up_cfg; //defined in the HAL 51 static UINT8 nfa_dm_start_up_vsc_cfg[CONFIG_MAX_LEN]; 52 extern UINT8 *p_nfc_hal_dm_start_up_vsc_cfg; //defined in the HAL 53 extern UINT8 *p_nfc_hal_dm_lptd_cfg; //defined in the HAL 54 static UINT8 sDontSendLptd[] = { 0 }; 55 extern UINT8 *p_nfc_hal_pre_discover_cfg; //defined in the HAL 56 extern UINT8 *p_nfc_hal_dm_xtal_params_cfg; //defined in HAL 266 void prmCallback(UINT8 event) 350 p_nfc_hal_dm_lptd_cfg = const_cast<UINT8*> (sLptdConfig.getInternalBuffer ()) [all...] |
/system/bt/stack/avdt/ |
avdt_ad.c | 48 UINT8 avdt_ad_type_to_tcid(UINT8 type, tAVDT_SCB *p_scb) 50 UINT8 scb_idx; 76 static UINT8 avdt_ad_tcid_to_type(UINT8 tcid) 78 UINT8 type; 135 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_st(UINT8 type, tAVDT_CCB *p_ccb, UINT8 state) 139 UINT8 ccb_idx; 205 UINT8 idx [all...] |