Lines Matching refs:ctrl_cid
140 if ((p_hcon->ctrl_cid != 0) || (p_hcon->intr_cid != 0)) in hidh_conn_disconnect()
150 else if (p_hcon->ctrl_cid) in hidh_conn_disconnect()
151 L2CA_DisconnectReq (p_hcon->ctrl_cid); in hidh_conn_disconnect()
184 …L2CA_ConnectRsp (p_dev->addr, p_dev->conn.ctrl_id, p_dev->conn.ctrl_cid, L2CAP_CONN_OK, L2CAP_CONN… in hidh_sec_check_complete_term()
187 L2CA_ConfigReq (p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); in hidh_sec_check_complete_term()
195 …L2CA_ConnectRsp (p_dev->addr, p_dev->conn.ctrl_id, p_dev->conn.ctrl_cid, L2CAP_CONN_SECURITY_BLOCK… in hidh_sec_check_complete_term()
232 if (p_hcon->ctrl_cid == 0) in hidh_l2cif_connect_ind()
247 p_hcon->ctrl_cid = p_hcon->intr_cid = 0; in hidh_l2cif_connect_ind()
268 p_hcon->ctrl_cid = l2cap_cid; in hidh_l2cif_connect_ind()
353 L2CA_ConfigReq (p_dev->conn.ctrl_cid, &hh_cb.l2cap_cfg); in hidh_sec_check_complete_orig()
354 … HIDH_TRACE_EVENT ("HID-Host Got Control conn cnf, sent cfg req, CID: 0x%x", p_dev->conn.ctrl_cid); in hidh_sec_check_complete_orig()
403 || ((l2cap_cid == p_hcon->ctrl_cid) && (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_CTRL)) in hidh_l2cif_connect_cfm()
413 if (l2cap_cid == p_hcon->ctrl_cid) in hidh_l2cif_connect_cfm()
414 p_hcon->ctrl_cid = 0; in hidh_l2cif_connect_cfm()
436 if (l2cap_cid == p_hcon->ctrl_cid) in hidh_l2cif_connect_cfm()
501 if (l2cap_cid == p_hcon->ctrl_cid) in hidh_l2cif_config_ind()
579 if (l2cap_cid == p_hcon->ctrl_cid) in hidh_l2cif_config_cfm()
654 if (l2cap_cid == p_hcon->ctrl_cid) in hidh_l2cif_disconnect_ind()
655 p_hcon->ctrl_cid = 0; in hidh_l2cif_disconnect_ind()
659 if ((p_hcon->ctrl_cid == 0) && (p_hcon->intr_cid == 0)) in hidh_l2cif_disconnect_ind()
731 if (l2cap_cid == p_hcon->ctrl_cid) in hidh_l2cif_disconnect_cfm()
732 p_hcon->ctrl_cid = 0; in hidh_l2cif_disconnect_cfm()
736 if (p_hcon->ctrl_cid) in hidh_l2cif_disconnect_cfm()
739 L2CA_DisconnectReq (p_hcon->ctrl_cid); in hidh_l2cif_disconnect_cfm()
743 if ((p_hcon->ctrl_cid == 0) && (p_hcon->intr_cid == 0)) in hidh_l2cif_disconnect_cfm()
918 cid = p_hcon->ctrl_cid; in hidh_conn_snd_data()
1029 p_dev->conn.ctrl_cid = 0; in hidh_conn_initiate()
1044 if ((p_dev->conn.ctrl_cid = L2CA_ConnectReq (HID_PSM_CONTROL, p_dev->addr)) == 0) in hidh_conn_initiate()
1076 … && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid))) in find_conn_by_cid()