Lines Matching refs:sys_cpu_to_le16
478 hdr->len = sys_cpu_to_le16(len); in l2cap_create_le_sig_pdu()
535 req->psm = sys_cpu_to_le16(ch->psm); in l2cap_le_conn_req()
536 req->scid = sys_cpu_to_le16(ch->rx.cid); in l2cap_le_conn_req()
537 req->mtu = sys_cpu_to_le16(ch->rx.mtu); in l2cap_le_conn_req()
538 req->mps = sys_cpu_to_le16(ch->rx.mps); in l2cap_le_conn_req()
539 req->credits = sys_cpu_to_le16(ch->rx.credits); in l2cap_le_conn_req()
576 req->psm = sys_cpu_to_le16(ch->psm); in l2cap_ecred_conn_req()
577 req->mtu = sys_cpu_to_le16(ch->rx.mtu); in l2cap_ecred_conn_req()
578 req->mps = sys_cpu_to_le16(ch->rx.mps); in l2cap_ecred_conn_req()
579 req->credits = sys_cpu_to_le16(ch->rx.credits); in l2cap_ecred_conn_req()
949 hdr->len = sys_cpu_to_le16(pdu_len); in l2cap_data_pull()
950 hdr->cid = sys_cpu_to_le16(lechan->tx.cid); in l2cap_data_pull()
1028 rej->reason = sys_cpu_to_le16(reason); in l2cap_send_reject()
1092 rsp->result = sys_cpu_to_le16(BT_L2CAP_CONN_PARAM_ACCEPTED); in le_conn_param_update_req()
1094 rsp->result = sys_cpu_to_le16(BT_L2CAP_CONN_PARAM_REJECTED); in le_conn_param_update_req()
1499 rsp->dcid = sys_cpu_to_le16(le_chan->rx.cid); in le_conn_req()
1500 rsp->mps = sys_cpu_to_le16(le_chan->rx.mps); in le_conn_req()
1501 rsp->mtu = sys_cpu_to_le16(le_chan->rx.mtu); in le_conn_req()
1502 rsp->credits = sys_cpu_to_le16(le_chan->rx.credits); in le_conn_req()
1507 rsp->result = sys_cpu_to_le16(result); in le_conn_req()
1593 dcid[i++] = sys_cpu_to_le16(ch->rx.cid); in le_ecred_conn_req()
1620 rsp->mps = sys_cpu_to_le16(ch->rx.mps); in le_ecred_conn_req()
1621 rsp->mtu = sys_cpu_to_le16(ch->rx.mtu); in le_ecred_conn_req()
1622 rsp->credits = sys_cpu_to_le16(ch->rx.credits); in le_ecred_conn_req()
1624 rsp->result = sys_cpu_to_le16(result); in le_ecred_conn_req()
1738 rsp->result = sys_cpu_to_le16(result); in le_ecred_reconf_req()
1840 rsp->dcid = sys_cpu_to_le16(chan->rx.cid); in le_disconn_req()
1841 rsp->scid = sys_cpu_to_le16(chan->tx.cid); in le_disconn_req()
2311 ev->cid = sys_cpu_to_le16(chan->rx.cid); in l2cap_chan_send_credits()
2312 ev->credits = sys_cpu_to_le16(credits); in l2cap_chan_send_credits()
2332 .cid = sys_cpu_to_le16(cid), in l2cap_chan_send_credits_pdu()
2333 .credits = sys_cpu_to_le16(credits), in l2cap_chan_send_credits_pdu()
2769 req->min_interval = sys_cpu_to_le16(param->interval_min); in bt_l2cap_update_conn_param()
2770 req->max_interval = sys_cpu_to_le16(param->interval_max); in bt_l2cap_update_conn_param()
2771 req->latency = sys_cpu_to_le16(param->latency); in bt_l2cap_update_conn_param()
2772 req->timeout = sys_cpu_to_le16(param->timeout); in bt_l2cap_update_conn_param()
3015 req->mtu = sys_cpu_to_le16(mtu); in bt_l2cap_ecred_chan_reconfigure()
3020 req->mps = sys_cpu_to_le16(MIN(mtu + BT_L2CAP_SDU_HDR_SIZE, in bt_l2cap_ecred_chan_reconfigure()
3105 req->mtu = sys_cpu_to_le16(mtu); in bt_l2cap_ecred_chan_reconfigure_explicit()
3106 req->mps = sys_cpu_to_le16(mps); in bt_l2cap_ecred_chan_reconfigure_explicit()
3189 req->dcid = sys_cpu_to_le16(le_chan->tx.cid); in bt_l2cap_chan_disconnect()
3190 req->scid = sys_cpu_to_le16(le_chan->rx.cid); in bt_l2cap_chan_disconnect()