Lines Matching refs:dcid

81 		if (l2cap_pi(s)->dcid == cid)  in __l2cap_get_chan_by_dcid()
177 l2cap_pi(sk)->psm, l2cap_pi(sk)->dcid); in __l2cap_chan_add()
188 l2cap_pi(sk)->dcid = L2CAP_CID_LE_DATA; in __l2cap_chan_add()
197 l2cap_pi(sk)->dcid = L2CAP_CID_CONN_LESS; in __l2cap_chan_add()
202 l2cap_pi(sk)->dcid = L2CAP_CID_SIGNALING; in __l2cap_chan_add()
380 lh->cid = cpu_to_le16(pi->dcid); in l2cap_send_sframe()
479 req.dcid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_send_disconn_req()
543 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_conn_start()
544 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_conn_start()
857 if (l2cap_pi(sk)->dcid == L2CAP_CID_LE_DATA) in l2cap_do_connect()
1233 lh->cid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_create_connless_pdu()
1262 lh->cid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_create_basic_pdu()
1299 lh->cid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_create_iframe_pdu()
1678 req->dcid = cpu_to_le16(pi->dcid); in l2cap_build_conf_req()
1831 rsp->scid = cpu_to_le16(pi->dcid); in l2cap_parse_conf_req()
1901 req->dcid = cpu_to_le16(pi->dcid); in l2cap_parse_conf_rsp()
1914 rsp->scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_build_conf_rsp()
1984 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect_req() local
2034 l2cap_pi(sk)->dcid = scid; in l2cap_connect_req()
2037 dcid = l2cap_pi(sk)->scid; in l2cap_connect_req()
2073 rsp.dcid = cpu_to_le16(dcid); in l2cap_connect_req()
2107 u16 scid, dcid, result, status; in l2cap_connect_rsp() local
2112 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_rsp()
2116 BT_DBG("dcid 0x%4.4x scid 0x%4.4x result 0x%2.2x status 0x%2.2x", dcid, scid, result, status); in l2cap_connect_rsp()
2132 l2cap_pi(sk)->dcid = dcid; in l2cap_connect_rsp()
2180 u16 dcid, flags; in l2cap_config_req() local
2185 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req()
2188 BT_DBG("dcid 0x%4.4x flags 0x%2.2x", dcid, flags); in l2cap_config_req()
2190 sk = l2cap_get_chan_by_scid(&conn->chan_list, dcid); in l2cap_config_req()
2351 u16 dcid, scid; in l2cap_disconnect_req() local
2355 dcid = __le16_to_cpu(req->dcid); in l2cap_disconnect_req()
2357 BT_DBG("scid 0x%4.4x dcid 0x%4.4x", scid, dcid); in l2cap_disconnect_req()
2359 sk = l2cap_get_chan_by_scid(&conn->chan_list, dcid); in l2cap_disconnect_req()
2363 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_disconnect_req()
2364 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_disconnect_req()
2388 u16 dcid, scid; in l2cap_disconnect_rsp() local
2392 dcid = __le16_to_cpu(rsp->dcid); in l2cap_disconnect_rsp()
2394 BT_DBG("dcid 0x%4.4x scid 0x%4.4x", dcid, scid); in l2cap_disconnect_rsp()
3839 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_security_cfm()
3840 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_security_cfm()
3977 pi->scid, pi->dcid, in l2cap_debugfs_show()