Home | History | Annotate | Download | only in hid

Lines Matching refs:hd_cb

38 tHID_DEV_CTB hd_cb;
51 uint8_t log_level = hd_cb.trace_level;
55 memset(&hd_cb, 0, sizeof(tHID_DEV_CTB));
56 hd_cb.trace_level = log_level;
71 if (new_level != 0xFF) hd_cb.trace_level = new_level;
73 return (hd_cb.trace_level);
90 if (hd_cb.reg_flag) return HID_ERR_ALREADY_REGISTERED;
98 hd_cb.callback = host_cback;
99 hd_cb.reg_flag = TRUE;
101 if (hd_cb.pending_data) {
102 osi_free(hd_cb.pending_data);
103 hd_cb.pending_data = NULL;
121 if (!hd_cb.reg_flag) return (HID_ERR_NOT_REGISTERED);
125 hd_cb.reg_flag = FALSE;
428 hd_cb.device.in_use = TRUE;
429 hd_cb.device.addr = addr;
444 if (hd_cb.device.addr == addr) {
445 hd_cb.device.in_use = FALSE;
446 hd_cb.device.conn.conn_state = HID_CONN_STATE_UNUSED;
447 hd_cb.device.conn.ctrl_cid = 0;
448 hd_cb.device.conn.intr_cid = 0;
464 if (!hd_cb.reg_flag) {
468 if (!hd_cb.device.in_use) {
472 if (hd_cb.device.state != HIDD_DEV_NO_CONN) {
489 if (!hd_cb.reg_flag) {
493 if (!hd_cb.device.in_use) {
497 if (hd_cb.device.state == HIDD_DEV_NO_CONN) {
499 if (hd_cb.device.conn.conn_state != HID_CONN_STATE_UNUSED) {
501 hd_cb.device.conn.conn_state = HID_CONN_STATE_UNUSED;
502 hd_cb.callback(hd_cb.device.addr, HID_DHOST_EVT_CLOSE,
522 hd_cb.allow_incoming = allow;
572 if (hd_cb.device.in_use) {
573 *addr = hd_cb.device.addr;
596 hd_cb.use_in_qos = TRUE;
598 hd_cb.in_qos.service_type = service_type;
599 hd_cb.in_qos.token_rate = token_rate;
600 hd_cb.in_qos.token_bucket_size = token_bucket_size;
601 hd_cb.in_qos.peak_bandwidth = peak_bandwidth;
602 hd_cb.in_qos.latency = latency;
603 hd_cb.in_qos.delay_variation = delay_variation;
623 hd_cb.l2cap_intr_cfg.qos_present = TRUE;
625 hd_cb.l2cap_intr_cfg.qos.service_type = service_type;
626 hd_cb.l2cap_intr_cfg.qos.token_rate = token_rate;
627 hd_cb.l2cap_intr_cfg.qos.token_bucket_size = token_bucket_size;
628 hd_cb.l2cap_intr_cfg.qos.peak_bandwidth = peak_bandwidth;
629 hd_cb.l2cap_intr_cfg.qos.latency = latency;
630 hd_cb.l2cap_intr_cfg.qos.delay_variation = delay_variation;