Searched refs:p_result (Results 1 – 7 of 7) sorted by relevance
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_pars_tg.c | 42 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, in avrc_pars_vendor_cmd() argument 64 p_result->pdu = *p++; in avrc_pars_vendor_cmd() 65 AVRC_TRACE_DEBUG("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu); in avrc_pars_vendor_cmd() 66 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) { in avrc_pars_vendor_cmd() 81 switch (p_result->pdu) { in avrc_pars_vendor_cmd() 83 p_result->get_caps.capability_id = *p++; in avrc_pars_vendor_cmd() 84 if (!AVRC_IS_VALID_CAP_ID(p_result->get_caps.capability_id)) { in avrc_pars_vendor_cmd() 99 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd() 100 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) { in avrc_pars_vendor_cmd() 109 BE_STREAM_TO_UINT8 (p_result->get_cur_app_val.num_attr, p); in avrc_pars_vendor_cmd() [all …]
|
D | avrc_pars_ct.c | 44 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result) in avrc_pars_vendor_rsp() argument 60 BE_STREAM_TO_UINT8 (p_result->pdu, p); in avrc_pars_vendor_rsp() 63 …rc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len); in avrc_pars_vendor_rsp() 65 p_result->rsp.status = *p; in avrc_pars_vendor_rsp() 66 return p_result->rsp.status; in avrc_pars_vendor_rsp() 69 switch (p_result->pdu) { in avrc_pars_vendor_rsp() 78 BE_STREAM_TO_UINT8 (p_result->volume.volume, p); in avrc_pars_vendor_rsp() 89 p_result->reg_notif.status = p_msg->hdr.ctype; in avrc_pars_vendor_rsp() 90 p_result->reg_notif.event_id = eventid; in avrc_pars_vendor_rsp() 91 BE_STREAM_TO_UINT8 (p_result->reg_notif.param.volume, p); in avrc_pars_vendor_rsp() [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/hf_ag/ |
D | bta_ag_cmd.c | 1232 void bta_ag_hsp_result(tBTA_AG_SCB *p_scb, tBTA_AG_API_RESULT *p_result) in bta_ag_hsp_result() argument 1234 UINT8 code = bta_ag_trans_result[p_result->result]; in bta_ag_hsp_result() 1236 APPL_TRACE_DEBUG("bta_ag_hsp_result : res = %d", p_result->result); in bta_ag_hsp_result() 1238 switch(p_result->result) { in bta_ag_hsp_result() 1241 bta_ag_send_result(p_scb, code, NULL, p_result->data.num); in bta_ag_hsp_result() 1251 bta_ag_send_ring(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result() 1260 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result() 1269 if (p_result->result == BTA_AG_IN_CALL_CONN_RES) { in bta_ag_hsp_result() 1275 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) { in bta_ag_hsp_result() 1276 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result() [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/a2dp/ |
D | a2d_sbc.c | 54 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, UINT8 *p_result) in A2D_BldSbcInfo() argument 58 if ( p_ie == NULL || p_result == NULL || in A2D_BldSbcInfo() 73 *p_result++ = A2D_SBC_INFO_LEN; in A2D_BldSbcInfo() 74 *p_result++ = media_type; in A2D_BldSbcInfo() 75 *p_result++ = A2D_MEDIA_CT_SBC; in A2D_BldSbcInfo() 78 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2D_BldSbcInfo() 80 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd; in A2D_BldSbcInfo() 82 *p_result++ = p_ie->min_bitpool; in A2D_BldSbcInfo() 83 *p_result = p_ie->max_bitpool; in A2D_BldSbcInfo()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/ |
D | avrc_api.h | 581 extern tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, 594 extern tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result);
|
D | a2d_sbc.h | 114 UINT8 *p_result);
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 51 static void bta_dm_inq_cmpl_cb (void *p_result); 84 static void bta_dm_eir_search_services( tBTM_INQ_RESULTS *p_result, 133 static void bta_dm_observe_cmpl_cb(void *p_result); 2730 static void bta_dm_inq_cmpl_cb (void *p_result) in bta_dm_inq_cmpl_cb() argument 2739 p_msg->inq_cmpl.num = ((tBTM_INQUIRY_CMPL *)p_result)->num_resp; in bta_dm_inq_cmpl_cb() 2912 tBTM_REMOTE_DEV_NAME *p_result = (tBTM_REMOTE_DEV_NAME *)p_data; in bta_dm_pinname_cback() local 2922 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback() 2923 bytes_to_copy = (p_result->length < (BD_NAME_LEN - 1)) in bta_dm_pinname_cback() 2924 ? p_result->length : (BD_NAME_LEN - 1); in bta_dm_pinname_cback() 2925 memcpy(sec_event.cfm_req.bd_name, p_result->remote_bd_name, bytes_to_copy); in bta_dm_pinname_cback() [all …]
|