Home
last modified time | relevance | path

Searched refs:p_info (Results 1 – 22 of 22) sorted by relevance

/external/bluetooth/bluedroid/stack/a2dp/
Da2d_sbc.c278 tA2D_STATUS A2D_ParsSbcInfo(tA2D_SBC_CIE *p_ie, UINT8 *p_info, BOOLEAN for_caps) in A2D_ParsSbcInfo() argument
284 if( p_ie == NULL || p_info == NULL) in A2D_ParsSbcInfo()
288 losc = *p_info++; in A2D_ParsSbcInfo()
289 mt = *p_info++; in A2D_ParsSbcInfo()
291 if(losc != A2D_SBC_INFO_LEN || *p_info != A2D_MEDIA_CT_SBC) in A2D_ParsSbcInfo()
295 p_info++; in A2D_ParsSbcInfo()
296 p_ie->samp_freq = *p_info & A2D_SBC_IE_SAMP_FREQ_MSK; in A2D_ParsSbcInfo()
297 p_ie->ch_mode = *p_info & A2D_SBC_IE_CH_MD_MSK; in A2D_ParsSbcInfo()
298 p_info++; in A2D_ParsSbcInfo()
299 p_ie->block_len = *p_info & A2D_SBC_IE_BLOCKS_MSK; in A2D_ParsSbcInfo()
[all …]
/external/blktrace/btt/
Dproc.c27 struct p_info *pip;
36 static void __foreach(struct rb_node *n, void (*f)(struct p_info *, void *), in __foreach() argument
65 struct p_info * __find_process_pid(__u32 pid) in __find_process_pid()
83 struct p_info *__find_process_name(char *name) in __find_process_name()
103 static void insert_pid(struct p_info *that, __u32 pid) in insert_pid()
129 static void insert_name(struct p_info *that) in insert_name()
157 static void insert(struct p_info *pip) in insert()
163 static inline struct p_info *pip_alloc(void) in pip_alloc()
165 return memset(malloc(sizeof(struct p_info)), 0, sizeof(struct p_info)); in pip_alloc()
168 struct p_info *find_process(__u32 pid, char *name) in find_process()
[all …]
Doutput.c40 ai_pip_t pip_q2q_dm_avg(struct p_info *pip) { return &pip->avgs.q2q_dm; } in pip_q2q_dm_avg()
41 ai_pip_t pip_q2a_dm_avg(struct p_info *pip) { return &pip->avgs.q2a_dm; } in pip_q2a_dm_avg()
42 ai_pip_t pip_q2c_dm_avg(struct p_info *pip) { return &pip->avgs.q2c_dm; } in pip_q2c_dm_avg()
44 ai_pip_t pip_q2q_avg(struct p_info *pip) { return &pip->avgs.q2q; } in pip_q2q_avg()
45 ai_pip_t pip_q2c_avg(struct p_info *pip) { return &pip->avgs.q2c; } in pip_q2c_avg()
46 ai_pip_t pip_q2a_avg(struct p_info *pip) { return &pip->avgs.q2a; } in pip_q2a_avg()
47 ai_pip_t pip_q2g_avg(struct p_info *pip) { return &pip->avgs.q2g; } in pip_q2g_avg()
48 ai_pip_t pip_s2g_avg(struct p_info *pip) { return &pip->avgs.s2g; } in pip_s2g_avg()
49 ai_pip_t pip_g2i_avg(struct p_info *pip) { return &pip->avgs.g2i; } in pip_g2i_avg()
50 ai_pip_t pip_q2m_avg(struct p_info *pip) { return &pip->avgs.q2m; } in pip_q2m_avg()
[all …]
Dglobals.h110 struct p_info { struct
155 struct p_info *pip;
266 struct p_info *find_process(__u32 pid, char *name);
268 void pip_foreach_out(void (*f)(struct p_info *, void *), void *arg);
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_main.c105 tNFA_CE_LISTEN_INFO *p_info; in nfa_ce_sys_disable() local
114 for (xx = 0, p_info = nfa_ce_cb.listen_info; xx < NFA_CE_LISTEN_INFO_MAX; xx++, p_info++) in nfa_ce_sys_disable()
116 … if ((p_info->flags & NFA_CE_LISTEN_INFO_IN_USE) && (p_info->rf_disc_handle != NFA_HANDLE_INVALID)) in nfa_ce_sys_disable()
118 nfa_dm_delete_rf_discover (p_info->rf_disc_handle); in nfa_ce_sys_disable()
119 p_info->rf_disc_handle = NFA_HANDLE_INVALID; in nfa_ce_sys_disable()
/external/libnfc-nci/src/nfc/tags/
Dtags_int.c234 UINT8 t1t_info_to_evt (const tT1T_CMD_RSP_INFO * p_info) in t1t_info_to_evt() argument
236 return ((UINT8) (p_info - t1t_cmd_rsp_infos) + RW_T1T_FIRST_EVT); in t1t_info_to_evt()
248 UINT8 t2t_info_to_evt (const tT2T_CMD_RSP_INFO * p_info) in t2t_info_to_evt() argument
250 return ((UINT8) (p_info - t2t_cmd_rsp_infos) + RW_T2T_FIRST_EVT); in t2t_info_to_evt()
263 const char * t1t_info_to_str (const tT1T_CMD_RSP_INFO * p_info) in t1t_info_to_str() argument
265 int ind = (int) (p_info - t1t_cmd_rsp_infos); in t1t_info_to_str()
281 const char * t2t_info_to_str (const tT2T_CMD_RSP_INFO * p_info) in t2t_info_to_str() argument
283 int ind = (int) (p_info - t2t_cmd_rsp_infos); in t2t_info_to_str()
Drw_t1t_ndef.c76 tRW_EVENT rw_t1t_handle_rsp (const tT1T_CMD_RSP_INFO * p_info, BOOLEAN *p_notify, UINT8 *p_data, tN… in rw_t1t_handle_rsp() argument
85 return t1t_info_to_evt (p_info); in rw_t1t_handle_rsp()
88 rw_event = rw_t1t_info_to_event (p_info); in rw_t1t_handle_rsp()
90 if (p_info->opcode == T1T_CMD_RALL) in rw_t1t_handle_rsp()
94 else if (p_info->opcode == T1T_CMD_RSEG) in rw_t1t_handle_rsp()
107 else if (p_info->opcode == T1T_CMD_READ8) in rw_t1t_handle_rsp()
127 tRW_EVENT rw_t1t_info_to_event (const tT1T_CMD_RSP_INFO * p_info) in rw_t1t_info_to_event() argument
162 rw_event = t1t_info_to_evt (p_info); in rw_t1t_info_to_event()
Drw_t2t_ndef.c182 tRW_EVENT rw_t2t_info_to_event (const tT2T_CMD_RSP_INFO *p_info) in rw_t2t_info_to_event() argument
218 rw_event = t2t_info_to_evt (p_info); in rw_t2t_info_to_event()
/external/libnfc-nci/src/nfc/int/
Dtags_int.h79 extern UINT8 t1t_info_to_evt (const tT1T_CMD_RSP_INFO * p_info);
84 extern UINT8 t2t_info_to_evt (const tT2T_CMD_RSP_INFO * p_info);
88 extern const char * t1t_info_to_str (const tT1T_CMD_RSP_INFO * p_info);
89 extern const char * t2t_info_to_str (const tT2T_CMD_RSP_INFO * p_info);
Drw_int.h593 extern tRW_EVENT rw_t1t_handle_rsp (const tT1T_CMD_RSP_INFO * p_info, BOOLEAN *p_notify, UINT8 *p_d…
594 extern tRW_EVENT rw_t1t_info_to_event (const tT1T_CMD_RSP_INFO * p_info);
608 extern tRW_EVENT rw_t2t_info_to_event (const tT2T_CMD_RSP_INFO *p_info);
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_api.c93 tNFA_EE_INFO *p_info) in NFA_EeGetInfo() argument
102 if (p_info == NULL || p_num_nfcee == NULL) in NFA_EeGetInfo()
123 p_info->ee_handle = NFA_HANDLE_GROUP_EE | (tNFA_HANDLE)p_cb->nfcee_id; in NFA_EeGetInfo()
124 p_info->ee_status = p_cb->ee_status; in NFA_EeGetInfo()
125 p_info->num_interface = p_cb->num_interface; in NFA_EeGetInfo()
126 p_info->num_tlvs = p_cb->num_tlvs; in NFA_EeGetInfo()
127 memcpy(p_info->ee_interface, p_cb->ee_interface, p_cb->num_interface); in NFA_EeGetInfo()
128 memcpy(p_info->ee_tlv, p_cb->ee_tlv, p_cb->num_tlvs * sizeof(tNFA_EE_TLV)); in NFA_EeGetInfo()
129 p_info++; in NFA_EeGetInfo()
Dnfa_ee_act.c911 tNFA_EE_INFO *p_info; in nfa_ee_nci_disc_ntf() local
1021 p_info = &evt_data.new_ee; in nfa_ee_nci_disc_ntf()
1022 p_info->ee_handle = NFA_HANDLE_GROUP_EE | (tNFA_HANDLE)p_cb->nfcee_id; in nfa_ee_nci_disc_ntf()
1023 p_info->ee_status = p_cb->ee_status; in nfa_ee_nci_disc_ntf()
1024 p_info->num_interface = p_cb->num_interface; in nfa_ee_nci_disc_ntf()
1025 p_info->num_tlvs = p_cb->num_tlvs; in nfa_ee_nci_disc_ntf()
1026 memcpy(p_info->ee_interface, p_cb->ee_interface, p_cb->num_interface); in nfa_ee_nci_disc_ntf()
1027 memcpy(p_info->ee_tlv, p_cb->ee_tlv, p_cb->num_tlvs * sizeof(tNFA_EE_TLV)); in nfa_ee_nci_disc_ntf()
1116 tNFA_EE_DISCOVER_INFO *p_info; in nfa_ee_build_discover_req_evt() local
1124 p_info = p_evt_data->ee_disc_info; in nfa_ee_build_discover_req_evt()
[all …]
/external/bluetooth/bluedroid/bta/jv/
Dbta_jv_api.c279 tBTM_INQ_INFO *p_info; in BTA_JvGetPreknownDevice() local
284 p_info = BTM_InqFirstResult(); in BTA_JvGetPreknownDevice()
285 if(p_info) in BTA_JvGetPreknownDevice()
303 while(p_info && index > count) in BTA_JvGetPreknownDevice()
306 p_info = BTM_InqNextResult(p_info); in BTA_JvGetPreknownDevice()
311 if(index == count && p_info) in BTA_JvGetPreknownDevice()
314 bdcpy(p_bd_addr, p_info->results.remote_bd_addr); in BTA_JvGetPreknownDevice()
/external/bluetooth/bluedroid/stack/include/
Da2d_sbc.h155 A2D_API extern tA2D_STATUS A2D_ParsSbcInfo(tA2D_SBC_CIE *p_ie, UINT8 *p_info,
/external/libnfc-nci/src/nfc/nfc/
Dnfc_ncif.c1103 tNFC_EE_DISCOVER_INFO *p_info; in nfc_ncif_proc_ee_discover_req() local
1112 p_info = ee_disc_req.info; in nfc_ncif_proc_ee_discover_req()
1117 p_info->op = *p++; /* T */ in nfc_ncif_proc_ee_discover_req()
1125 p_info->nfcee_id = *p++; in nfc_ncif_proc_ee_discover_req()
1126 p_info->tech_n_mode = *p++; in nfc_ncif_proc_ee_discover_req()
1127 p_info->protocol = *p++; in nfc_ncif_proc_ee_discover_req()
1130 p_info++; in nfc_ncif_proc_ee_discover_req()
/external/bluetooth/bluedroid/bta/av/
Dbta_av_aact.c995 tAVDT_SEP_INFO *p_info; in bta_av_config_ind() local
1020 p_info = &p_scb->sep_info[0]; in bta_av_config_ind()
1021 p_info->in_use = 0; in bta_av_config_ind()
1022 p_info->media_type = p_scb->media_type; in bta_av_config_ind()
1023 p_info->seid = p_data->str_msg.msg.config_ind.int_seid; in bta_av_config_ind()
1024 p_info->tsep = AVDT_TSEP_SNK; in bta_av_config_ind()
1034 …APPL_TRACE_DEBUG3("bta_av_config_ind: SEID: %d use_rc: %d cur_psc_mask:0x%x", p_info->seid, p_scb-… in bta_av_config_ind()
1038 p_info->seid, in bta_av_config_ind()
1503 tAVDT_SEP_INFO *p_info = &p_scb->sep_info[p_scb->sep_info_idx]; in bta_av_save_caps() local
1512 cfg.codec_info, &p_scb->sep_info_idx, p_info->seid, in bta_av_save_caps()
[all …]
/external/bluetooth/bluedroid/stack/btm/
Dbtm_ble_gap.c1289 static void btm_ble_parse_adv_data(tBTM_INQ_INFO *p_info, UINT8 *p_data,
1313 if (p_info)
1315 p_info->remote_name_type =(ad_type == BTM_BLE_AD_TYPE_NAME_SHORT) ?
1317 memcpy(p_info->remote_name, p_cur, ad_len -1);
1318 p_info->remote_name[ad_len] = 0;
1319 p_adv_data->p_remote_name = p_info->remote_name;
1320 p_info->remote_name_len = p_adv_data->remote_name_len = ad_len - 1;
Dbtm_ble.c69 tBTM_INQ_INFO *p_info=NULL; in BTM_SecAddBleDevice() local
126 p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice()
127 if (p_info) in BTM_SecAddBleDevice()
129 p_info->results.ble_addr_type = p_dev_rec->ble.ble_addr_type ; in BTM_SecAddBleDevice()
130 p_info->results.device_type = p_dev_rec->device_type; in BTM_SecAddBleDevice()
132 p_info->results.device_type, p_info->results.ble_addr_type); in BTM_SecAddBleDevice()
/external/libnfc-nci/src/nfc/llcp/
Dllcp_link.c1085 UINT8 *p, *p_info, *p_pdu_length; in llcp_link_proc_agf_pdu() local
1142 p_info = p; in llcp_link_proc_agf_pdu()
1143 BE_STREAM_TO_UINT16 (pdu_hdr, p_info ); in llcp_link_proc_agf_pdu()
1172 llcp_sdp_proc_snl ((UINT16) (pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
1184 … llcp_dlc_proc_rx_pdu (dsap, ptype, ssap, (UINT16) (pdu_length - LLCP_PDU_HEADER_SIZE), p_info); in llcp_link_proc_agf_pdu()
/external/libnfc-nci/src/nfa/include/
Dnfa_ee_api.h248 tNFA_EE_INFO *p_info);
/external/bluetooth/bluedroid/bta/include/
Dbta_fs_co.h222 … tBTA_FS_CO_SESS_ST new_st, char *p_path, UINT8 *p_info, UINT8 app_id);
/external/bluetooth/bluedroid/btif/co/
Dbta_fs_co.c1130 … tBTA_FS_CO_SESS_ST new_st, char *p_path, UINT8 *p_info, UINT8 app_id) in bta_fs_co_session_info() argument