Searched refs:hd_cb (Results 1 – 4 of 4) sorted by relevance
65 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_check_config_done()70 hd_cb.device.state = HIDD_DEV_CONNECTED; in hidd_check_config_done()72 hd_cb.callback(hd_cb.device.addr, HID_DHOST_EVT_OPEN, 0, NULL); in hidd_check_config_done()75 if (hd_cb.pending_data) { in hidd_check_config_done()76 L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data); in hidd_check_config_done()77 hd_cb.pending_data = NULL; in hidd_check_config_done()98 p_dev = &hd_cb.device; in hidd_l2cif_connect_ind()100 if (!hd_cb.allow_incoming) { in hidd_l2cif_connect_ind()108 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_l2cif_connect_ind()173 hd_cb.callback(hd_cb.device.addr, HID_DHOST_EVT_CLOSE, in hidd_on_l2cap_error()[all …]
38 tHID_DEV_CTB hd_cb; variable50 uint8_t log_level = hd_cb.trace_level; in HID_DevInit()54 memset(&hd_cb, 0, sizeof(tHID_DEV_CTB)); in HID_DevInit()55 hd_cb.trace_level = log_level; in HID_DevInit()70 if (new_level != 0xFF) hd_cb.trace_level = new_level; in HID_DevSetTraceLevel()72 return (hd_cb.trace_level); in HID_DevSetTraceLevel()89 if (hd_cb.reg_flag) return HID_ERR_ALREADY_REGISTERED; in HID_DevRegister()97 hd_cb.callback = host_cback; in HID_DevRegister()98 hd_cb.reg_flag = TRUE; in HID_DevRegister()100 if (hd_cb.pending_data) { in HID_DevRegister()[all …]
86 extern tHID_DEV_CTB hd_cb;
409 if (hd_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \414 if (hd_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \419 if (hd_cb.trace_level >= BT_TRACE_LEVEL_API) \424 if (hd_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \429 if (hd_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \434 if (hd_cb.trace_level >= BT_TRACE_LEVEL_VERBOSE) \