Searched refs:p_hcon (Results 1 – 2 of 2) sorted by relevance
80 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_check_config_done() local82 if (p_hcon->conn_state == HID_CONN_STATE_CONFIG) { in hidd_check_config_done()83 p_hcon->conn_state = HID_CONN_STATE_CONNECTED; in hidd_check_config_done()91 if (L2CA_DataWrite(p_hcon->intr_cid, hd_cb.pending_data) != in hidd_check_config_done()93 log::warn("Unable to write L2CAP data cid:{} len:{}", p_hcon->intr_cid, in hidd_check_config_done()128 tHID_CONN* p_hcon = &hd_cb.device.conn; in hidd_l2cif_connect_ind() local132 if (p_hcon->ctrl_cid == 0) { in hidd_l2cif_connect_ind()137 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR) { in hidd_l2cif_connect_ind()140 p_hcon->conn_state); in hidd_l2cif_connect_ind()146 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED) { in hidd_l2cif_connect_ind()[all …]
147 tHID_CONN* p_hcon = &hh_cb.devices[dhandle].conn; in hidh_conn_disconnect() local149 if ((p_hcon->ctrl_cid != 0) || (p_hcon->intr_cid != 0)) { in hidh_conn_disconnect()150 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING; in hidh_conn_disconnect()160 if (p_hcon->intr_cid) in hidh_conn_disconnect()161 hidh_l2cif_disconnect(p_hcon->intr_cid); in hidh_conn_disconnect()162 else if (p_hcon->ctrl_cid) in hidh_conn_disconnect()163 hidh_l2cif_disconnect(p_hcon->ctrl_cid); in hidh_conn_disconnect()168 p_hcon->conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_disconnect()202 tHID_CONN* p_hcon = &hh_cb.devices[i].conn; in hidh_l2cif_connect_ind() local208 hid_conn::state_text(p_hcon->conn_state).c_str())); in hidh_l2cif_connect_ind()[all …]