Lines Matching defs:scid
138 if (l2cap_pi(s)->scid == cid)
232 l2cap_pi(sk)->scid = l2cap_alloc_cid(l);
235 l2cap_pi(sk)->scid = L2CAP_CID_CONN_LESS;
240 l2cap_pi(sk)->scid = L2CAP_CID_SIGNALING;
440 req.scid = cpu_to_le16(l2cap_pi(sk)->scid);
496 req.scid = cpu_to_le16(l2cap_pi(sk)->scid);
547 req.scid = cpu_to_le16(l2cap_pi(sk)->scid);
559 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid);
560 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid);
852 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid);
853 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid);
1341 la->l2_cid = cpu_to_le16(l2cap_pi(sk)->scid);
1914 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid);
1915 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid);
2743 rsp->scid = cpu_to_le16(pi->dcid);
2826 rsp->scid = cpu_to_le16(l2cap_pi(sk)->dcid);
2896 u16 dcid = 0, scid = __le16_to_cpu(req->scid);
2899 BT_DBG("psm 0x%2.2x scid 0x%4.4x", psm, scid);
2931 if (__l2cap_get_chan_by_dcid(list, scid)) {
2944 l2cap_pi(sk)->dcid = scid;
2947 dcid = l2cap_pi(sk)->scid;
2982 rsp.scid = cpu_to_le16(scid);
3017 u16 scid, dcid, result, status;
3021 scid = __le16_to_cpu(rsp->scid);
3026 BT_DBG("dcid 0x%4.4x scid 0x%4.4x result 0x%2.2x status 0x%2.2x", dcid, scid, result, status);
3028 if (scid) {
3029 sk = l2cap_get_chan_by_scid(&conn->chan_list, scid);
3166 u16 scid, flags, result;
3170 scid = __le16_to_cpu(rsp->scid);
3174 BT_DBG("scid 0x%4.4x flags 0x%2.2x result 0x%2.2x",
3175 scid, flags, result);
3177 sk = l2cap_get_chan_by_scid(&conn->chan_list, scid);
3246 u16 dcid, scid;
3249 scid = __le16_to_cpu(req->scid);
3252 BT_DBG("scid 0x%4.4x dcid 0x%4.4x", scid, dcid);
3258 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid);
3259 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid);
3274 u16 dcid, scid;
3277 scid = __le16_to_cpu(rsp->scid);
3280 BT_DBG("dcid 0x%4.4x scid 0x%4.4x", dcid, scid);
3282 sk = l2cap_get_chan_by_scid(&conn->chan_list, scid);
4592 req.scid = cpu_to_le16(l2cap_pi(sk)->scid);
4617 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid);
4618 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid);
4735 pi->scid, pi->dcid,