Home
last modified time | relevance | path

Searched refs:layer_specific (Results 1 – 25 of 59) sorted by relevance

123

/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_api.c150 p_buf->layer_specific = handle; in BTA_AgDeregister()
174 p_buf->hdr.layer_specific = handle; in BTA_AgOpen()
199 p_buf->layer_specific = handle; in BTA_AgClose()
221 p_buf->layer_specific = handle; in BTA_AgAudioOpen()
243 p_buf->layer_specific = handle; in BTA_AgAudioClose()
267 p_buf->hdr.layer_specific = handle; in BTA_AgResult()
294 p_buf->hdr.layer_specific = handle; in BTA_AgSetCodec()
316 p_buf->layer_specific = handle; in BTA_AgCiData()
Dbta_ag_rfc.c109 p_buf->layer_specific = handle; in bta_ag_port_cback()
170 p_buf->hdr.layer_specific = handle; in bta_ag_mgmt_cback()
393 p_buf->hdr.layer_specific = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_do_close()
Dbta_ag_main.c400 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); in bta_ag_timer_cback()
854 if (p_data->hdr.layer_specific != BTA_AG_HANDLE_ALL) { in bta_ag_api_result()
855 if ((p_scb = bta_ag_scb_by_idx(p_data->hdr.layer_specific)) != NULL) { in bta_ag_api_result()
963 if ((p_scb = bta_ag_scb_by_idx(p_msg->layer_specific)) != NULL) { in bta_ag_hdl_event()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/av/
Dbta_av_api.c116 p_buf->hdr.layer_specific = chnl; in BTA_AvRegister()
146 p_buf->layer_specific = hndl; in BTA_AvDeregister()
170 p_buf->hdr.layer_specific = handle; in BTA_AvOpen()
195 p_buf->layer_specific = handle; in BTA_AvClose()
254 p_buf->layer_specific = enable; in BTA_AvEnable_Sink()
304 p_buf->hdr.layer_specific = hndl; in BTA_AvReconfig()
332 p_buf->hdr.layer_specific = hndl; in BTA_AvProtectReq()
362 p_buf->hdr.layer_specific = hndl; in BTA_AvProtectRsp()
431 p_buf->hdr.layer_specific = rc_handle; in BTA_AvRemoteCmd()
458 p_buf->hdr.layer_specific = rc_handle; in BTA_AvVendorCmd()
[all …]
Dbta_av_ci.c53 p_buf->layer_specific = chnl; in bta_av_ci_src_data_ready()
78 p_buf->hdr.layer_specific = hndl; in bta_av_ci_setconfig()
Dbta_av_main.c233 p_buf->layer_specific = p_scb->hndl; in bta_av_timer_cback()
423 p_msg->hdr.layer_specific = event; in bta_av_conn_cback()
473 activate_sink = p_data->hdr.layer_specific; in bta_av_api_sink_enable()
547 registr.chnl = (tBTA_AV_CHNL)p_data->hdr.layer_specific; in bta_av_api_register()
759 tBTA_AV_SCB *p_scb = bta_av_hndl_to_scb(p_data->hdr.layer_specific); in bta_av_api_deregister()
783 UINT8 chnl = (UINT8)p_data->hdr.layer_specific; in bta_av_ci_data()
929 p_buf->hdr.layer_specific = p_scb->hndl; in bta_av_sys_rs_cback()
1252 APPL_TRACE_VERBOSE("handle=0x%x\n", p_msg->layer_specific); in bta_av_hdl_event()
1253 tBTA_AV_SCB *p_scb = bta_av_hndl_to_scb(p_msg->layer_specific); in bta_av_hdl_event()
Dbta_av_act.c553 if (p_data->hdr.layer_specific < BTA_AV_NUM_RCB) { in bta_av_rc_remote_cmd()
554 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_remote_cmd()
577 if (p_data->hdr.layer_specific < BTA_AV_NUM_RCB) { in bta_av_rc_vendor_cmd()
578 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_vendor_cmd()
598 if (p_data->hdr.layer_specific < BTA_AV_NUM_RCB) { in bta_av_rc_vendor_rsp()
599 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_vendor_rsp()
619 if ((p_cb->features & BTA_AV_FEAT_METADATA) && (p_data->hdr.layer_specific < BTA_AV_NUM_RCB)) { in bta_av_rc_meta_rsp()
622 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_meta_rsp()
957 UINT16 handle = p_data->hdr.layer_specific; in bta_av_rc_close()
1087 int index = (p_data->hdr.layer_specific & BTA_AV_HNDL_MSK) - 1; in bta_av_conn_chg()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hh/
Dbta_hh_api.c120 p_buf->layer_specific = (UINT16) dev_handle; in BTA_HhClose()
146 p_buf->hdr.layer_specific = BTA_HH_INVALID_HANDLE; in BTA_HhOpen()
172 p_buf->hdr.layer_specific = (UINT16) dev_handle; in bta_hh_snd_write_dev()
303 if (p_data->layer_specific != BTA_HH_RPTT_OUTPUT) { in BTA_HhSendData()
308 bta_hh_snd_write_dev(dev_handle, HID_TRANS_DATA, (UINT8)p_data->layer_specific, 0, 0, p_data); in BTA_HhSendData()
327 p_buf->layer_specific = (UINT16) dev_handle; in BTA_HhGetDscpInfo()
358 p_buf->hdr.layer_specific = BTA_HH_INVALID_HANDLE; in BTA_HhAddDev()
398 p_buf->hdr.layer_specific = (UINT16) dev_handle; in BTA_HhRemoveDev()
425 p_buf->hdr.layer_specific = (UINT16) dev_handle; in BTA_HhUpdateLeScanParam()
Dbta_hh_main.c308 cback_data.dev_info.handle = (UINT8)p_data->api_maintdev.hdr.layer_specific; in bta_hh_sm_execute()
321 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
324 cback_data.hs_data.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
340 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
345 …APPL_TRACE_ERROR("wrong device handle: [%d], event:%d", p_data->hdr.layer_specific, event - BTA_HH… in bta_hh_sm_execute()
432 index = bta_hh_dev_handle_to_cb_idx((UINT8)p_msg->layer_specific); in bta_hh_hdl_event()
453 index = bta_hh_dev_handle_to_cb_idx((UINT8)p_msg->layer_specific); in bta_hh_hdl_event()
461 … APPL_TRACE_DEBUG("bta_hh_hdl_event:: handle = %d dev_cb[%d] ", p_msg->layer_specific, index); in bta_hh_hdl_event()
Dbta_hh_act.c495 disc_dat.handle = p_data ? (UINT8)p_data->hdr.layer_specific : p_cb->hid_handle; in bta_hh_api_disc_act()
521 UINT8 dev_handle = p_data ? (UINT8)p_data->hid_cback.hdr.layer_specific : \ in bta_hh_open_cmpl_act()
587 UINT8 dev_handle = p_data ? (UINT8)p_data->hid_cback.hdr.layer_specific : \ in bta_hh_open_act()
629 bta_hh_co_data((UINT8)p_data->hid_cback.hdr.layer_specific, p_rpt, pdata->len, in bta_hh_data_act()
999 dev_info.handle = (UINT8)p_dev_info->hdr.layer_specific; in bta_hh_maint_dev_act()
1192 p_buf->hdr.layer_specific = (UINT16)dev_handle; in bta_hh_cback()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_api.c169 p_buf->layer_specific = handle; in BTA_HfClientDeregister()
193 p_buf->hdr.layer_specific = handle; in BTA_HfClientOpen()
217 p_buf->layer_specific = handle; in BTA_HfClientClose()
239 p_buf->layer_specific = handle; in BTA_HfClientAudioOpen()
261 p_buf->layer_specific = handle; in BTA_HfClientAudioClose()
298 p_buf->hdr.layer_specific = handle; in BTA_HfClientSendAT()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_act.c376 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, in bta_gatts_add_include_srvc()
380 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_include_srvc()
420 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, in bta_gatts_add_char()
425 cb_data.add_result.service_id = p_msg->api_add_char.hdr.layer_specific; in bta_gatts_add_char()
469 attr_id = GATTS_AddCharDescriptor(p_msg->api_add_char_descr.hdr.layer_specific, in bta_gatts_add_char_descr()
475 cb_data.add_result.service_id = p_msg->api_add_char_descr.hdr.layer_specific; in bta_gatts_add_char_descr()
511 gatts_status = GATTS_SetAttributeValue(p_msg->api_set_val.hdr.layer_specific, in bta_gatts_set_attr_value()
517 cb_data.attr_val.attr_id = p_msg->api_set_val.hdr.layer_specific; in bta_gatts_set_attr_value()
550 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_delete_service()
581 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_start_service()
[all …]
Dbta_gatts_api.c195 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddIncludeService()
231 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharacteristic()
284 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharDescriptor()
336 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService()
363 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_StartService()
389 p_buf->layer_specific = service_id; in BTA_GATTS_StopService()
421 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_HandleValueIndication()
463 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_SendRsp()
487 p_buf->hdr.layer_specific = attr_handle; in BTA_SetAttributeValue()
583 p_buf->layer_specific = conn_id; in BTA_GATTS_Close()
Dbta_gattc_ci.c60 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_open()
94 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_load()
131 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_save()
Dbta_gattc_api.c219 p_buf->layer_specific = conn_id; in BTA_GATTC_Close()
245 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ConfigureMTU()
276 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ServiceSearchRequest()
488 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ReadCharacteristic()
519 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ReadCharDescr()
553 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ReadMultiple()
588 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_Read_by_type()
628 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_WriteCharValue()
677 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_WriteCharDescr()
723 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_PrepareWrite()
[all …]
Dbta_gatts_main.c110 UINT16 attr_id = ((tBTA_GATTS_DATA *) p_msg)->api_set_val.hdr.layer_specific; in bta_gatts_hdl_event()
125 ((tBTA_GATTS_DATA *)p_msg)->api_add_incl_srvc.hdr.layer_specific); in bta_gatts_hdl_event()
Dbta_gattc_act.c301 buf.layer_specific = p_cb->clcb[i].bta_conn_id; in bta_gattc_deregister()
520 gattc_data.int_conn.hdr.layer_specific = p_clcb->bta_conn_id; in bta_gattc_open()
565 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id; in bta_gattc_init_bk_conn()
669 APPL_TRACE_DEBUG("bta_gattc_conn conn_id=%d", p_data->hdr.layer_specific); in bta_gattc_conn()
670 p_clcb->bta_conn_id = p_data->int_conn.hdr.layer_specific; in bta_gattc_conn()
672 GATT_GetConnectionInfor(p_data->hdr.layer_specific, in bta_gattc_conn()
748 … p_data->int_conn.hdr.layer_specific, p_data->int_conn.conn_params, p_data->int_conn.role, in bta_gattc_conncback()
770 p_data->int_conn.hdr.layer_specific); in bta_gattc_disconncback()
790 cb_data.close.conn_id = p_data->hdr.layer_specific; in bta_gattc_close_fail()
827 cb_data.close.status = GATT_Disconnect(p_data->hdr.layer_specific); in bta_gattc_close()
[all …]
Dbta_gattc_main.c406 p_clcb = bta_gattc_find_clcb_by_conn_id(p_msg->layer_specific); in bta_gattc_hdl_event()
412 APPL_TRACE_DEBUG("Ignore unknown conn ID: %d\n", p_msg->layer_specific); in bta_gattc_hdl_event()
/hal_espressif-3.7.0/components/bt/host/bluedroid/hci/
Dpacket_fragmenter.c91 …if((packet->len > max_packet_size) && (packet->layer_specific == 0) && (event == MSG_STACK_TO_HC_H… in fragment_and_dispatch()
115 if (packet->layer_specific) { in fragment_and_dispatch()
116 packet->layer_specific--; in fragment_and_dispatch()
117 if (packet->layer_specific == 0) { in fragment_and_dispatch()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/avrc/
Davrc_opt.c74 p_cmd->layer_specific = AVCT_DATA_CTRL; in avrc_vendor_msg()
114 p_cmd->layer_specific = AVCT_DATA_CTRL; in AVRC_UnitCmd()
159 p_cmd->layer_specific = AVCT_DATA_CTRL; in AVRC_SubCmd()
Davrc_api.c207 p_pkt->layer_specific = p_pkt_old->layer_specific; in avrc_send_continue_frag()
529 (p_pkt->layer_specific & AVCT_DATA_CTRL && AVRC_PACKET_LEN < sizeof(p_pkt->len))) { in avrc_msg_cback()
790 p_cmd->layer_specific = AVCT_DATA_CTRL; in avrc_pass_msg()
999 p_pkt->layer_specific = p_pkt_new->layer_specific; in AVRC_MsgReq()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/l2cap/
Dl2c_main.c153 if ((p_msg->layer_specific == 0) && (rcv_cid == L2CAP_SIGNALLING_CID) in l2c_rcv_acl_data()
156 … " cid:%d opcode:%d cur count:%d", handle, p_msg->layer_specific, in l2c_rcv_acl_data()
158 p_msg->layer_specific = 2; in l2c_rcv_acl_data()
168 … " opcode:%d cur count:%d", handle, p_msg->layer_specific, rcv_cid, in l2c_rcv_acl_data()
804 if (!timed_out || (!p_buf->layer_specific) || (--p_buf->layer_specific == 0)) { in l2c_process_held_packets()
806 p_buf->layer_specific = 0xFFFF; in l2c_process_held_packets()
1014 p_data->layer_specific = flags; in l2c_data_write()
Dl2c_fcr.c427 ctrl_word = p_buf->layer_specific & L2CAP_FCR_SEG_BITS; /* SAR bits */ in prepare_I_frame()
555 p_buf->layer_specific = L2CAP_NON_FLUSHABLE_PKT; in l2c_fcr_send_S_frame()
925 ls = p_tmp->layer_specific & L2CAP_FCR_SAR_BITS; in process_reqseq()
1099 …j = (((BT_HDR *)fixed_queue_try_peek_last(p_fcrb->srej_rcv_hold_q))->layer_specific + 1) & L2CAP_F… in process_i_frame()
1123 p_buf->layer_specific = tx_seq; in process_i_frame()
1152 p_buf->layer_specific = tx_seq; in process_i_frame()
1469 if ((p_buf->layer_specific == 0) && (p_buf->event == p_ccb->local_cid)) { in retransmit_i_frames()
1494 p_buf2->layer_specific = p_buf->layer_specific; in retransmit_i_frames()
1586 p_xmit->layer_specific = p_buf->layer_specific; in l2c_fcr_get_next_xmit_sdu_seg()
1627 p_xmit->layer_specific |= L2CAP_FCR_START_SDU; in l2c_fcr_get_next_xmit_sdu_seg()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_sink.c92 UINT16 layer_specific; member
551 if (p_msg->layer_specific != a2dp_sink_local_param.media_pkt_seq_num.expected_seq_num) { in btc_a2dp_sink_handle_inc_media()
556 … p_msg->layer_specific, a2dp_sink_local_param.media_pkt_seq_num.expected_seq_num, in btc_a2dp_sink_handle_inc_media()
560 a2dp_sink_local_param.media_pkt_seq_num.expected_seq_num = p_msg->layer_specific + 1; in btc_a2dp_sink_handle_inc_media()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/l2cap/
Dbtc_l2cap.c679 … if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) != NULL && p_buf->layer_specific == 0) { in btc_l2cap_write()
681 p_buf->layer_specific = 1; in btc_l2cap_write()
900 … if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) != NULL && p_buf->layer_specific == 0) { in btc_l2cap_cb_handler()
902 p_buf->layer_specific = 1; in btc_l2cap_cb_handler()
950 p_buf->layer_specific = 0; in btc_l2cap_cb_handler()
958 … if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) != NULL && p_buf->layer_specific == 0 && in btc_l2cap_cb_handler()
960 p_buf->layer_specific = 1; in btc_l2cap_cb_handler()
1025 …p_buf->layer_specific = 0; // indicate the p_buf whether to be sent, 0 - ready to send; 1 - have s… in l2cap_vfs_write()

123