• Home
  • Raw
  • Download

Lines Matching refs:devices

112         hh_cb.devices[xx].in_use = FALSE ;  in hidh_conn_reg()
113 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
130 tHID_CONN *p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect()
216 p_hcon = &hh_cb.devices[i].conn; in hidh_l2cif_connect_ind()
217 p_dev = &hh_cb.devices[i]; in hidh_l2cif_connect_ind()
300 hh_cb.devices[p_tle->param].conn_tries++; in hidh_proc_repage_timeout()
301 hh_cb.callback( (UINT8) p_tle->param, hh_cb.devices[p_tle->param].addr, in hidh_proc_repage_timeout()
302 HID_HDEV_EVT_RETRYING, hh_cb.devices[p_tle->param].conn_tries, NULL ) ; in hidh_proc_repage_timeout()
324 dhandle = ((UINT32)p_dev - (UINT32)&(hh_cb.devices[0]))/ sizeof(tHID_HOST_DEV_CTB); in hidh_sec_check_complete_orig()
331 …if ((p_dev->conn.intr_cid = L2CA_ConnectReq (HID_PSM_INTERRUPT, hh_cb.devices[dhandle].addr)) == 0) in hidh_sec_check_complete_orig()
336 … hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, reason, NULL ) ; in hidh_sec_check_complete_orig()
387 p_dev = &hh_cb.devices[dhandle]; in hidh_l2cif_connect_cfm()
388 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_connect_cfm()
410 if( (hh_cb.devices[dhandle].conn_tries <= HID_HOST_MAX_CONN_RETRY) && in hidh_l2cif_connect_cfm()
420 … hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, reason, NULL ) ; in hidh_l2cif_connect_cfm()
467 p_dev = &hh_cb.devices[dhandle]; in hidh_l2cif_config_ind()
468 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_config_ind()
503 hh_cb.devices[dhandle].state = HID_DEV_CONNECTED; in hidh_l2cif_config_ind()
504 hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_OPEN, 0, NULL ) ; in hidh_l2cif_config_ind()
529 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_config_cfm()
542 hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, reason, NULL ) ; in hidh_l2cif_config_cfm()
557 hh_cb.devices[dhandle].state = HID_DEV_CONNECTED; in hidh_l2cif_config_cfm()
558 hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_OPEN, 0, NULL ) ; in hidh_l2cif_config_cfm()
582 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_disconnect_ind()
604 hh_cb.devices[dhandle].state = HID_DEV_NO_CONN; in hidh_l2cif_disconnect_ind()
612 (!(hh_cb.devices[dhandle].attr_mask & HID_RECONN_INIT)) && in hidh_l2cif_disconnect_ind()
613 (hh_cb.devices[dhandle].attr_mask & HID_NORMALLY_CONNECTABLE)) in hidh_l2cif_disconnect_ind()
615 hh_cb.devices[dhandle].conn_tries = 0; in hidh_l2cif_disconnect_ind()
616 hh_cb.devices[dhandle].conn.timer_entry.param = (UINT32) dhandle; in hidh_l2cif_disconnect_ind()
617 …btu_start_timer (&(hh_cb.devices[dhandle].conn.timer_entry), BTU_TTYPE_HID_HOST_REPAGE_TO, HID_HOS… in hidh_l2cif_disconnect_ind()
638 …hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, hid_close_evt_reason, N… in hidh_l2cif_disconnect_ind()
660 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_disconnect_cfm()
677 hh_cb.devices[dhandle].state = HID_DEV_NO_CONN; in hidh_l2cif_disconnect_cfm()
679 …hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, p_hcon->disc_reason, NUL… in hidh_l2cif_disconnect_cfm()
700 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_cong_ind()
746 p_hcon = &hh_cb.devices[dhandle].conn; in hidh_l2cif_data_ind()
768 hh_cb.callback(dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_HANDSHAKE, param, NULL); in hidh_l2cif_data_ind()
778 hh_cb.callback(dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_VC_UNPLUG, 0, NULL); in hidh_l2cif_data_ind()
789 evt = (hh_cb.devices[dhandle].conn.intr_cid == l2cap_cid) ? in hidh_l2cif_data_ind()
791 hh_cb.callback(dhandle, hh_cb.devices[dhandle].addr, evt, rep_type, p_msg); in hidh_l2cif_data_ind()
795 evt = (hh_cb.devices[dhandle].conn.intr_cid == l2cap_cid) ? in hidh_l2cif_data_ind()
797 hh_cb.callback(dhandle, hh_cb.devices[dhandle].addr, evt, rep_type, p_msg); in hidh_l2cif_data_ind()
819 tHID_CONN *p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_snd_data()
954 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; in hidh_conn_initiate()
977 hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, in hidh_conn_initiate()
1005 … if ((hh_cb.devices[xx].in_use) && (hh_cb.devices[xx].conn.conn_state != HID_CONN_STATE_UNUSED) in find_conn_by_cid()
1006 … && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid))) in find_conn_by_cid()
1030 tHID_HOST_DEV_CTB *p_dev = &hh_cb.devices[dhandle]; in hidh_conn_retry()