Home
last modified time | relevance | path

Searched refs:bt_vendor_cbacks (Results 1 – 16 of 16) sorted by relevance

/hardware/broadcom/libbt/src/
Dhardware.c575 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf, \ in hw_config_set_bdaddr()
603 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf, \ in hw_config_read_bdaddr()
638 if ((status == 0) && bt_vendor_cbacks) in hw_config_cback()
639 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_cback()
667 is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_NAME, \ in hw_config_cback()
718 is_proceeding = bt_vendor_cbacks->xmit_cb( \ in hw_config_cback()
762 is_proceeding = bt_vendor_cbacks->xmit_cb(opcode, \ in hw_config_cback()
798 is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_config_cback); in hw_config_cback()
812 is_proceeding = bt_vendor_cbacks->xmit_cb( \ in hw_config_cback()
831 is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_VSC_UPDATE_BAUDRATE, \ in hw_config_cback()
[all …]
Dbt_vendor_brcm.c70 bt_vendor_callbacks_t *bt_vendor_cbacks = NULL; variable
126 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb; in init()
132 brcm_vnd_a2dp_init(bt_vendor_cbacks); in init()
234 if (bt_vendor_cbacks) in op()
236 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in op()
261 bt_vendor_cbacks = NULL; in cleanup()
/hardware/qcom/bt/msm8960/libbt-vendor/src/
Dbt_vendor_qcom.c47 bt_vendor_callbacks_t *bt_vendor_cbacks = NULL; variable
86 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb; in init()
124 if(bt_vendor_cbacks){ in op()
126 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in op()
130 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_FAIL); in op()
137 bt_vendor_cbacks->scocfg_cb(BT_VND_OP_RESULT_SUCCESS); //dummy in op()
170 bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS); //dummy in op()
179 if (bt_vendor_cbacks) in op()
181 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in op()
200 bt_vendor_cbacks = NULL; in cleanup()
Dhardware.c123 if (bt_vendor_cbacks) in hw_epilog_cback()
126 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_epilog_cback()
129 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback()
150 if (bt_vendor_cbacks) in hw_epilog_process()
153 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
169 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
173 if (bt_vendor_cbacks) in hw_epilog_process()
176 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_FAIL); in hw_epilog_process()
/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/
Dbt_vendor.cpp36 bt_vendor_callbacks_t* bt_vendor_cbacks = nullptr; variable
47 if (!bt_vendor_cbacks) { in hw_epilog_cback()
51 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_epilog_cback()
54 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback()
64 bt_vendor_cbacks = (bt_vendor_callbacks_t*)cb; in testInit()
70 if (bt_vendor_cbacks) { in testOperations()
71 btVendor->setVendorCback(bt_vendor_cbacks, opcode); in testOperations()
90 if (bt_vendor_cbacks) { in testOperations()
91 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in testOperations()
102 if (bt_vendor_cbacks) { in testOperations()
[all …]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhardware.c122 if (bt_vendor_cbacks) in hw_epilog_cback()
125 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_epilog_cback()
128 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback()
149 if (bt_vendor_cbacks) in hw_epilog_process()
152 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
168 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
172 if (bt_vendor_cbacks) in hw_epilog_process()
175 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_FAIL); in hw_epilog_process()
Dbt_vendor_qcom.c66 bt_vendor_callbacks_t *bt_vendor_cbacks = NULL; variable
525 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb; in init()
682 if(bt_vendor_cbacks){ in op()
684 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in op()
696 if (bt_vendor_cbacks) in op()
697 bt_vendor_cbacks->scocfg_cb(BT_VND_OP_RESULT_SUCCESS); //dummy in op()
936 if (bt_vendor_cbacks ) in op()
937 bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS); in op()
940 if (bt_vendor_cbacks) in op()
941 bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS); //dummy in op()
[all …]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhardware.c135 if (bt_vendor_cbacks) in hw_epilog_cback()
138 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_epilog_cback()
141 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback()
162 if (bt_vendor_cbacks) in hw_epilog_process()
165 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
181 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
185 if (bt_vendor_cbacks) in hw_epilog_process()
188 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_FAIL); in hw_epilog_process()
Dbt_vendor_qcom.c75 bt_vendor_callbacks_t *bt_vendor_cbacks = NULL; variable
538 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb; in init()
690 if(bt_vendor_cbacks){ in op()
694 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in op()
702 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in op()
715 if (bt_vendor_cbacks) in op()
716 bt_vendor_cbacks->scocfg_cb(BT_VND_OP_RESULT_SUCCESS); //dummy in op()
961 if (bt_vendor_cbacks ) in op()
962 bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS); in op()
966 if (bt_vendor_cbacks) in op()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhardware.c137 if (bt_vendor_cbacks) in hw_epilog_cback()
140 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_epilog_cback()
143 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback()
164 if (bt_vendor_cbacks) in hw_epilog_process()
167 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
183 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
187 if (bt_vendor_cbacks) in hw_epilog_process()
190 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_FAIL); in hw_epilog_process()
Dbt_vendor_qcom.c79 bt_vendor_callbacks_t *bt_vendor_cbacks = NULL; variable
557 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb; in init()
718 if(bt_vendor_cbacks){ in op()
722 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in op()
730 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in op()
743 if (bt_vendor_cbacks) in op()
744 bt_vendor_cbacks->scocfg_cb(BT_VND_OP_RESULT_SUCCESS); //dummy in op()
1000 if (bt_vendor_cbacks ) in op()
1001 bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_SUCCESS); in op()
1005 if (bt_vendor_cbacks) in op()
[all …]
/hardware/qcom/bt/msm8960/libbt-vendor/include/
Dbt_vendor_qcom.h37 extern bt_vendor_callbacks_t *bt_vendor_cbacks;
/hardware/qcom/bt/msm8996/libbt-vendor/include/
Dbt_vendor_qcom.h50 extern bt_vendor_callbacks_t *bt_vendor_cbacks;
/hardware/qcom/bt/msm8909/libbt-vendor/include/
Dbt_vendor_qcom.h50 extern bt_vendor_callbacks_t *bt_vendor_cbacks;
/hardware/qcom/bt/msm8992/libbt-vendor/include/
Dbt_vendor_qcom.h45 extern bt_vendor_callbacks_t *bt_vendor_cbacks;
/hardware/broadcom/libbt/include/
Dbt_vendor_brcm.h425 extern bt_vendor_callbacks_t *bt_vendor_cbacks;