Searched refs:p_hcon (Results 1 – 2 of 2) sorted by relevance
81 tHID_CONN* p_hcon; in hidd_check_config_done() local83 p_hcon = &hd_cb.device.conn; in hidd_check_config_done()85 if (((p_hcon->conn_flags & HID_CONN_FLAGS_ALL_CONFIGURED) == in hidd_check_config_done()87 (p_hcon->conn_state == HID_CONN_STATE_CONFIG)) { in hidd_check_config_done()88 p_hcon->conn_state = HID_CONN_STATE_CONNECTED; in hidd_check_config_done()96 L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data); in hidd_check_config_done()180 tHID_CONN* p_hcon; in hidd_l2cif_connect_ind() local195 p_hcon = &hd_cb.device.conn; in hidd_l2cif_connect_ind()199 if (p_hcon->ctrl_cid == 0) { in hidd_l2cif_connect_ind()205 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidd_l2cif_connect_ind()[all …]
130 tHID_CONN* p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect() local134 if ((p_hcon->ctrl_cid != 0) || (p_hcon->intr_cid != 0)) { in hidh_conn_disconnect()135 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING; in hidh_conn_disconnect()142 if (p_hcon->intr_cid) in hidh_conn_disconnect()143 L2CA_DisconnectReq(p_hcon->intr_cid); in hidh_conn_disconnect()144 else if (p_hcon->ctrl_cid) in hidh_conn_disconnect()145 L2CA_DisconnectReq(p_hcon->ctrl_cid); in hidh_conn_disconnect()147 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_disconnect()207 tHID_CONN* p_hcon; in hidh_l2cif_connect_ind() local221 p_hcon = &hh_cb.devices[i].conn; in hidh_l2cif_connect_ind()[all …]