Home
last modified time | relevance | path

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

12

/device/soc/esp/esp32/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.c306 cback_data.dev_info.handle = (UINT8)p_data->api_maintdev.hdr.layer_specific; in bta_hh_sm_execute()
319 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
322 cback_data.hs_data.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
338 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
343 APPL_TRACE_ERROR("wrong device handle: [%d]", p_data->hdr.layer_specific); in bta_hh_sm_execute()
430 index = bta_hh_dev_handle_to_cb_idx((UINT8)p_msg->layer_specific); in bta_hh_hdl_event()
447 index = bta_hh_dev_handle_to_cb_idx((UINT8)p_msg->layer_specific); in bta_hh_hdl_event()
455 … 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.c493 disc_dat.handle = p_data ? (UINT8)p_data->hdr.layer_specific : p_cb->hid_handle; in bta_hh_api_disc_act()
519 UINT8 dev_handle = p_data ? (UINT8)p_data->hid_cback.hdr.layer_specific : \ in bta_hh_open_cmpl_act()
583 UINT8 dev_handle = p_data ? (UINT8)p_data->hid_cback.hdr.layer_specific : \ in bta_hh_open_act()
625 bta_hh_co_data((UINT8)p_data->hid_cback.hdr.layer_specific, p_rpt, pdata->len, in bta_hh_data_act()
984 dev_info.handle = (UINT8)p_dev_info->hdr.layer_specific; in bta_hh_maint_dev_act()
1167 p_buf->hdr.layer_specific = (UINT16)dev_handle; in bta_hh_cback()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
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_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_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_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_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.c299 buf.layer_specific = p_cb->clcb[i].bta_conn_id; in bta_gattc_deregister()
510 gattc_data.int_conn.hdr.layer_specific = p_clcb->bta_conn_id; in bta_gattc_open()
555 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id; in bta_gattc_init_bk_conn()
659 APPL_TRACE_DEBUG("bta_gattc_conn conn_id=%d", p_data->hdr.layer_specific); in bta_gattc_conn()
660 p_clcb->bta_conn_id = p_data->int_conn.hdr.layer_specific; in bta_gattc_conn()
662 GATT_GetConnectionInfor(p_data->hdr.layer_specific, in bta_gattc_conn()
736 … p_data->int_conn.hdr.layer_specific, p_data->int_conn.conn_params, p_data->int_conn.role); in bta_gattc_conncback()
757 p_data->int_conn.hdr.layer_specific); in bta_gattc_disconncback()
777 cb_data.close.conn_id = p_data->hdr.layer_specific; in bta_gattc_close_fail()
816 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()
Dbta_gattc_utils.c954 if ((p_clcb = bta_gattc_find_clcb_by_conn_id(p_msg->int_conn.hdr.layer_specific)) == NULL) { in bta_gattc_find_int_disconn_clcb()
962 p_msg->int_conn.hdr.layer_specific); in bta_gattc_find_int_disconn_clcb()
/device/soc/esp/esp32/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()
Dhci_hal_h4.c334 pkt->layer_specific = 0; in host_recv_pkt_cb()
Dhci_packet_factory.c256 ret->layer_specific = 0; in make_packet()
/device/soc/esp/esp32/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()
1096 …j = (((BT_HDR *)fixed_queue_try_peek_last(p_fcrb->srej_rcv_hold_q))->layer_specific + 1) & L2CAP_F… in process_i_frame()
1120 p_buf->layer_specific = tx_seq; in process_i_frame()
1149 p_buf->layer_specific = tx_seq; in process_i_frame()
1466 if ((p_buf->layer_specific == 0) && (p_buf->event == p_ccb->local_cid)) { in retransmit_i_frames()
1491 p_buf2->layer_specific = p_buf->layer_specific; in retransmit_i_frames()
1583 p_xmit->layer_specific = p_buf->layer_specific; in l2c_fcr_get_next_xmit_sdu_seg()
1624 p_xmit->layer_specific |= L2CAP_FCR_START_SDU; in l2c_fcr_get_next_xmit_sdu_seg()
[all …]
Dl2c_link.c1035 p_buf->layer_specific = 0; in l2c_link_check_send_pkts()
1244 p_buf->layer_specific = 0; in l2c_link_send_to_lower()
1288 p_buf->layer_specific = num_segs; in l2c_link_send_to_lower()
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/rtkcmd/
Drtkcmd.c148 unsigned short layer_specific = 0; in Rtkbt_Getevent() local
168 ret = read(sock_fd, &layer_specific, 2); in Rtkbt_Getevent()
/device/board/osware/imx8mm/drivers/bluetooth/source/src/
Dhardware.c637 p_buf->layer_specific = 0; in hw_config_cback()
852 p_buf->layer_specific = 0; in hw_sco_i2spcm_proc_interface_param()
886 p_buf->layer_specific = 0; in hw_sco_i2spcm_proc_int_param()
1006 p_buf->layer_specific = 0; in hw_config_start()
1048 p_buf->layer_specific = 0; in hw_lpm_enable()
1195 p_buf->layer_specific = 0; in hw_sco_i2spcm_config()
1382 p_buf->layer_specific = 0; in hw_epilog_process()
/device/board/kaihong/khdvk_3566b/kernel/bluetooth/src/
Dhardware.c727 p_buf->layer_specific = 0; in hw_config_cback()
924 p_buf->layer_specific = 0; in hw_sco_i2spcm_proc_interface_param()
961 p_buf->layer_specific = 0; in hw_sco_i2spcm_proc_int_param()
1083 p_buf->layer_specific = 0; in hw_config_start()
1124 p_buf->layer_specific = 0; in hw_lpm_enable()
1276 p_buf->layer_specific = 0; in hw_sco_i2spcm_config()
1475 p_buf->layer_specific = 0; in hw_epilog_process()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c815 … if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) != NULL && p_buf->layer_specific == 0) { in btc_spp_write()
817 p_buf->layer_specific = 1; in btc_spp_write()
1025 p_buf->layer_specific = 0; in btc_spp_cb_handler()
1033 … if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) != NULL && p_buf->layer_specific == 0 && in btc_spp_cb_handler()
1035 p_buf->layer_specific = 1; in btc_spp_cb_handler()
1046 p_buf->layer_specific = 0; in btc_spp_cb_handler()
1138 … if ((p_buf = fixed_queue_try_peek_first(slot->tx.queue)) != NULL && p_buf->layer_specific == 0) { in btc_spp_cb_handler()
1140 p_buf->layer_specific = 1; in btc_spp_cb_handler()
1319 …p_buf->layer_specific = 0; // indicate the p_buf whether to be sent, 0 - ready to send; 1 - have s… in spp_vfs_write()
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Dhardware.c358 p_buf->layer_specific = 0; in hw_epilog_process()
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Dhardware.c308 p_buf->layer_specific = 0; in hw_epilog_process()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/rfcomm/
Drfc_port_fsm.c395 … ((BT_HDR *)p_data)->layer_specific = (UINT8) (p_port->credit_rx_max - p_port->credit_rx); in rfc_port_sm_opened()
398 ((BT_HDR *)p_data)->layer_specific = 0; in rfc_port_sm_opened()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c1550 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_search_cancel()
1564 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_search_cancel()
1571 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_search_cancel()
1677 p_msg->hdr.layer_specific = BTA_DM_API_DI_DISCOVER_EVT; in bta_dm_di_disc_callback()
1746 p_msg->hdr.layer_specific = BTA_DM_API_DI_DISCOVER_EVT; in bta_dm_di_disc()
1785 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_inq_cmpl()
2094 if (p_data->hdr.layer_specific == BTA_DM_API_DI_DISCOVER_EVT) { in bta_dm_search_cmpl()
2129 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_disc_result()
2490 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_discover_next_device()
2749 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_inq_cmpl_cb()

12