Home
last modified time | relevance | path

Searched refs:hd_cb (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/stack/hid/
Dhidd_conn.cc80 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_check_config_done()
85 hd_cb.device.state = HIDD_DEV_CONNECTED; in hidd_check_config_done()
87 hd_cb.callback(hd_cb.device.addr, HID_DHOST_EVT_OPEN, 0, NULL); in hidd_check_config_done()
90 if (hd_cb.pending_data) { in hidd_check_config_done()
91 if (L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data) != in hidd_check_config_done()
94 hd_cb.pending_data->len); in hidd_check_config_done()
96 hd_cb.pending_data = NULL; in hidd_check_config_done()
117 p_dev = &hd_cb.device; in hidd_l2cif_connect_ind()
119 if (!hd_cb.allow_incoming) { in hidd_l2cif_connect_ind()
128 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_l2cif_connect_ind()
[all …]
Dhidd_api.cc50 tHID_DEV_CTB hd_cb; variable
64 memset(&hd_cb, 0, sizeof(tHID_DEV_CTB)); in HID_DevInit()
81 if (hd_cb.reg_flag) { in HID_DevRegister()
99 hd_cb.callback = host_cback; in HID_DevRegister()
100 hd_cb.reg_flag = TRUE; in HID_DevRegister()
102 if (hd_cb.pending_data) { in HID_DevRegister()
103 osi_free(hd_cb.pending_data); in HID_DevRegister()
104 hd_cb.pending_data = NULL; in HID_DevRegister()
122 if (!hd_cb.reg_flag) { in HID_DevDeregister()
131 hd_cb.reg_flag = FALSE; in HID_DevDeregister()
[all …]
Dhidd_int.h86 extern tHID_DEV_CTB hd_cb;