arch/arm64/kernel/compat_alignment.c
306
*inst = __le16_to_cpu(instr);
arch/microblaze/include/asm/io.h
52
#define in_le16(a) __le16_to_cpu(__raw_readw(a))
drivers/bluetooth/bfusb.c
288
pkt_len = HCI_ACL_HDR_SIZE + __le16_to_cpu(hdr->dlen);
drivers/bluetooth/bluecard_cs.c
465
dlen = __le16_to_cpu(ah->dlen);
drivers/bluetooth/bt3c_cs.c
306
dlen = __le16_to_cpu(ah->dlen);
drivers/bluetooth/btintel.c
2680
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btintel_pcie.c
1124
plen = HCI_ACL_HDR_SIZE + __le16_to_cpu(hci_acl_hdr(skb)->dlen);
drivers/bluetooth/btintel_pcie.c
1157
plen = HCI_ISO_HDR_SIZE + __le16_to_cpu(hci_iso_hdr(skb)->dlen);
drivers/bluetooth/btmrvl_main.c
51
opcode = __le16_to_cpu(ec->opcode);
drivers/bluetooth/btmtk.c
1092
hci_skb_expect(skb) = __le16_to_cpu(dlen);
drivers/bluetooth/btnxpuart.c
1169
__u16 err = __le16_to_cpu(req->error);
drivers/bluetooth/btnxpuart.c
1208
err = __le16_to_cpu(req->error);
drivers/bluetooth/btnxpuart.c
1231
len = __le16_to_cpu(req->len);
drivers/bluetooth/btnxpuart.c
1367
__u16 seq_num = __le16_to_cpu(fw_dump_hdr->seq_num);
drivers/bluetooth/btnxpuart.c
1368
__u16 buf_len = __le16_to_cpu(fw_dump_hdr->buf_len);
drivers/bluetooth/btnxpuart.c
1402
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btnxpuart.c
1586
switch (__le16_to_cpu(hdr->opcode)) {
drivers/bluetooth/btnxpuart.c
1594
psdata->c2h_ps_interval = __le16_to_cpu(ps_parm.c2h_ps_interval);
drivers/bluetooth/btnxpuart.c
972
len = __le16_to_cpu(req->len ^ req->len_comp);
drivers/bluetooth/btnxpuart.c
980
len = __le16_to_cpu(req->len);
drivers/bluetooth/btrtl.c
880
__le16_to_cpu(rp->hci_rev), __le16_to_cpu(rp->lmp_subver));
drivers/bluetooth/btusb.c
1317
hci_skb_expect(skb) = __le16_to_cpu(dlen);
drivers/bluetooth/btusb.c
1358
handle = hci_handle(__le16_to_cpu(hdr->handle));
drivers/bluetooth/hci_ath.c
223
if (__le16_to_cpu(hdr->opcode) == HCI_OP_ATH_SLEEP)
drivers/bluetooth/hci_bcsp.c
201
if (hci_opcode_ogf(__le16_to_cpu(opcode)) == 0x3f) {
drivers/bluetooth/hci_qca.c
1071
seq_no = __le16_to_cpu(cmd_hdr->seq_no);
drivers/input/serio/hyperv-keyboard.c
157
scan_code = __le16_to_cpu(ks_msg->make_code);
drivers/input/touchscreen/goodix_berlin_core.c
464
__le16_to_cpu(t->x), __le16_to_cpu(t->y),
drivers/input/touchscreen/goodix_berlin_core.c
467
__le16_to_cpu(t->w));
drivers/md/dm-vdo/encodings.h
1025
.entry_count = __le16_to_cpu(packed->entry_count),
drivers/md/dm-vdo/encodings.h
1174
.entry_count = __le16_to_cpu(packed->entry_count),
drivers/md/dm-vdo/packer.c
67
compressed_size = __le16_to_cpu(block->header.sizes[slot]);
drivers/md/dm-vdo/packer.c
69
offset += __le16_to_cpu(block->header.sizes[i]);
drivers/media/usb/go7007/go7007-fw.c
1581
chunk_flags = __le16_to_cpu(src[0]);
drivers/media/usb/go7007/go7007-fw.c
1582
chunk_len = __le16_to_cpu(src[1]);
drivers/media/usb/go7007/go7007-fw.c
1591
ret = do_special(go, __le16_to_cpu(src[2]),
drivers/media/usb/go7007/go7007-usb.c
763
go->interrupt_data = __le16_to_cpu(regs[0]);
drivers/media/usb/go7007/go7007-usb.c
764
go->interrupt_value = __le16_to_cpu(regs[1]);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
1039
*fp_id = __le16_to_cpu(resp.fp_id);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
1937
*bridge_id = __le16_to_cpu(resp.bridge);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
2016
*rif_id = __le16_to_cpu(resp.rif_id);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
2047
*vr_id = __le16_to_cpu(resp.vr_id);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
897
evt->fdb_evt.dest.lag_id = __le16_to_cpu(hw_evt->dest.lag_id);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
958
msg_type = __le16_to_cpu(msg->type);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
968
evt.id = __le16_to_cpu(msg->id);
drivers/net/ethernet/qlogic/qede/qede_fp.c
661
skb_shinfo(skb)->gso_size = __le16_to_cpu(cqe->len_on_first_bd) -
drivers/net/ipa/gsi.c
1516
trans->len = __le16_to_cpu(event->len);
drivers/net/usb/r8152.c
1994
if (INTR_LINK & __le16_to_cpu(d[0])) {
drivers/net/usb/r8152.c
4281
fw_offset = __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4294
if (__le16_to_cpu(phy->fw_reg) != 0x9A00) {
drivers/net/usb/r8152.c
4324
if (__le16_to_cpu(ver->ver.addr) != SRAM_GPHY_FW_VER) {
drivers/net/usb/r8152.c
4354
if (__le16_to_cpu(fix->setting.addr) != OCP_PHY_PATCH_CMD ||
drivers/net/usb/r8152.c
4355
__le16_to_cpu(fix->setting.data) != BIT(7)) {
drivers/net/usb/r8152.c
4382
fw_offset = __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4430
fw_offset = __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4442
length -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4448
if (__le16_to_cpu(phy->fw_reg) != fw_reg) {
drivers/net/usb/r8152.c
4453
if (__le16_to_cpu(phy->ba_reg) != ba_reg) {
drivers/net/usb/r8152.c
4458
if (__le16_to_cpu(phy->patch_en_addr) != patch_en_addr) {
drivers/net/usb/r8152.c
4464
if (__le16_to_cpu(phy->mode_reg) != mode_reg) {
drivers/net/usb/r8152.c
4470
if (__le16_to_cpu(phy->bp_start) != bp_start) {
drivers/net/usb/r8152.c
4476
if (__le16_to_cpu(phy->bp_num) > 4) {
drivers/net/usb/r8152.c
4566
fw_offset = __le16_to_cpu(mac->fw_offset);
drivers/net/usb/r8152.c
4584
if (__le16_to_cpu(mac->fw_reg) != fw_reg) {
drivers/net/usb/r8152.c
4589
if (__le16_to_cpu(mac->bp_ba_addr) != bp_ba_addr) {
drivers/net/usb/r8152.c
4594
if (__le16_to_cpu(mac->bp_en_addr) != bp_en_addr) {
drivers/net/usb/r8152.c
4599
if (__le16_to_cpu(mac->bp_start) != bp_start) {
drivers/net/usb/r8152.c
4605
if (__le16_to_cpu(mac->bp_num) > max_bp) {
drivers/net/usb/r8152.c
4610
for (i = __le16_to_cpu(mac->bp_num); i < max_bp; i++) {
drivers/net/usb/r8152.c
4932
if (sram_read(tp, SRAM_GPHY_FW_VER) >= __le16_to_cpu(phy->version)) {
drivers/net/usb/r8152.c
4938
len -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4939
data = (u8 *)phy + __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4957
generic_ocp_write(tp, __le16_to_cpu(phy->fw_reg), 0xff, size, data, MCU_TYPE_USB);
drivers/net/usb/r8152.c
4981
if (sram_read(tp, SRAM_GPHY_FW_VER) == __le16_to_cpu(phy->version))
drivers/net/usb/r8152.c
4991
ver_addr = __le16_to_cpu(phy_ver->ver.addr);
drivers/net/usb/r8152.c
4992
ver = __le16_to_cpu(phy_ver->ver.data);
drivers/net/usb/r8152.c
5014
addr = __le16_to_cpu(fix->setting.addr);
drivers/net/usb/r8152.c
5017
switch (__le16_to_cpu(fix->bit_cmd)) {
drivers/net/usb/r8152.c
5019
data &= __le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5022
data |= __le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5025
data &= ~__le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5028
data ^= __le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5049
sram_write(tp, __le16_to_cpu(phy->pre_set[i].addr),
drivers/net/usb/r8152.c
5050
__le16_to_cpu(phy->pre_set[i].data));
drivers/net/usb/r8152.c
5053
length -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
5055
data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
drivers/net/usb/r8152.c
5057
ocp_reg_write(tp, OCP_SRAM_ADDR, __le16_to_cpu(phy->fw_reg));
drivers/net/usb/r8152.c
5059
ocp_reg_write(tp, OCP_SRAM_DATA, __le16_to_cpu(data[i]));
drivers/net/usb/r8152.c
5063
sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data));
drivers/net/usb/r8152.c
5066
sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data));
drivers/net/usb/r8152.c
5079
mode_reg = __le16_to_cpu(phy->mode_reg);
drivers/net/usb/r8152.c
5080
sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre));
drivers/net/usb/r8152.c
5081
sram_write(tp, __le16_to_cpu(phy->ba_reg),
drivers/net/usb/r8152.c
5082
__le16_to_cpu(phy->ba_data));
drivers/net/usb/r8152.c
5085
length -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
5087
data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
drivers/net/usb/r8152.c
5089
ocp_reg_write(tp, OCP_SRAM_ADDR, __le16_to_cpu(phy->fw_reg));
drivers/net/usb/r8152.c
5091
ocp_reg_write(tp, OCP_SRAM_DATA, __le16_to_cpu(data[i]));
drivers/net/usb/r8152.c
5093
sram_write(tp, __le16_to_cpu(phy->patch_en_addr),
drivers/net/usb/r8152.c
5094
__le16_to_cpu(phy->patch_en_value));
drivers/net/usb/r8152.c
5096
bp_index = __le16_to_cpu(phy->bp_start);
drivers/net/usb/r8152.c
5097
num = __le16_to_cpu(phy->bp_num);
drivers/net/usb/r8152.c
5099
sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i]));
drivers/net/usb/r8152.c
5103
sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post));
drivers/net/usb/r8152.c
5125
fw_ver_reg = __le16_to_cpu(mac->fw_ver_reg);
drivers/net/usb/r8152.c
5143
length -= __le16_to_cpu(mac->fw_offset);
drivers/net/usb/r8152.c
5146
data += __le16_to_cpu(mac->fw_offset);
drivers/net/usb/r8152.c
5148
if (generic_ocp_write(tp, __le16_to_cpu(mac->fw_reg), 0xff, length,
drivers/net/usb/r8152.c
5155
ocp_write_word(tp, type, __le16_to_cpu(mac->bp_ba_addr),
drivers/net/usb/r8152.c
5156
__le16_to_cpu(mac->bp_ba_value));
drivers/net/usb/r8152.c
5158
if (generic_ocp_write(tp, __le16_to_cpu(mac->bp_start), BYTE_EN_DWORD,
drivers/net/usb/r8152.c
5159
ALIGN(__le16_to_cpu(mac->bp_num) << 1, 4),
drivers/net/usb/r8152.c
5166
bp_en_addr = __le16_to_cpu(mac->bp_en_addr);
drivers/net/usb/r8152.c
5169
__le16_to_cpu(mac->bp_en_value));
drivers/net/usb/r8152.c
5210
key_addr = __le16_to_cpu(key->key_reg);
drivers/net/usb/r8152.c
5211
rtl_pre_ram_code(tp, key_addr, __le16_to_cpu(key->key_data), !power_cut);
drivers/net/virtio_net.c
2540
return __le16_to_cpu(hdr_hash->hash_value_lo) |
drivers/net/virtio_net.c
2541
(__le16_to_cpu(hdr_hash->hash_value_hi) << 16);
drivers/net/virtio_net.c
2552
switch (__le16_to_cpu(hdr_hash->hash_report)) {
drivers/net/virtio_net.c
6688
hash_report = __le16_to_cpu(hdr_hash->hash_report);
drivers/net/wireless/ath/ath10k/ce.c
1131
*nbytesp = __le16_to_cpu(desc->nbytes);
drivers/net/wireless/ath/ath10k/ce.c
1132
*transfer_idp = MS(__le16_to_cpu(desc->flags),
drivers/net/wireless/ath/ath10k/ce.c
1149
*nbytesp = __le16_to_cpu(desc->nbytes);
drivers/net/wireless/ath/ath10k/ce.c
1150
*transfer_idp = MS(__le16_to_cpu(desc->flags),
drivers/net/wireless/ath/ath10k/ce.c
773
nbytes = __le16_to_cpu(sdesc.nbytes);
drivers/net/wireless/ath/ath10k/ce.c
823
nbytes = __le16_to_cpu(sdesc.nbytes);
drivers/net/wireless/ath/ath10k/htc.c
1095
message_id = __le16_to_cpu(msg->hdr.message_id);
drivers/net/wireless/ath/ath10k/htc.c
1096
service_id = __le16_to_cpu(resp_msg->service_id);
drivers/net/wireless/ath/ath10k/htc.c
1121
max_msg_size = __le16_to_cpu(resp_msg->max_msg_size);
drivers/net/wireless/ath/ath10k/htc.c
1139
conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size);
drivers/net/wireless/ath/ath10k/htc.c
1144
ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size);
drivers/net/wireless/ath/ath10k/htc.c
470
payload_len = __le16_to_cpu(hdr->len);
drivers/net/wireless/ath/ath10k/htc.c
538
switch (__le16_to_cpu(msg->hdr.message_id)) {
drivers/net/wireless/ath/ath10k/htc.c
956
message_id = __le16_to_cpu(msg->hdr.message_id);
drivers/net/wireless/ath/ath10k/htc.c
964
htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count);
drivers/net/wireless/ath/ath10k/htc.c
968
htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size);
drivers/net/wireless/ath/ath10k/htc.c
988
__le16_to_cpu(msg->ready_ext.reserved) &
drivers/net/wireless/ath/ath10k/htt.h
764
+ roundup(__le16_to_cpu(rx_ind->prefix.fw_rx_desc_bytes), 4);
drivers/net/wireless/ath/ath10k/htt_rx.c
1386
IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)),
drivers/net/wireless/ath/ath10k/htt_rx.c
1906
seq = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl));
drivers/net/wireless/ath/ath10k/htt_rx.c
2479
peer_id = __le16_to_cpu(rx->hdr.peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
2783
peer_id = __le16_to_cpu(rx->peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
2825
sc = __le16_to_cpu(hdr->seq_ctrl);
drivers/net/wireless/ath/ath10k/htt_rx.c
2929
peer_id = __le16_to_cpu(rx->hdr.peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
2992
tx_done.msdu_id = __le16_to_cpu(msdu_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3001
tx_done.ack_rssi = __le16_to_cpu(msdu_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3004
tx_done.ack_rssi = __le16_to_cpu(msdu_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3078
info0 = __le16_to_cpu(ev->info0);
drivers/net/wireless/ath/ath10k/htt_rx.c
3118
info0 = __le16_to_cpu(ev->info0);
drivers/net/wireless/ath/ath10k/htt_rx.c
3230
if (skb_tailroom(msdu) < __le16_to_cpu(rx->msdu_len)) {
drivers/net/wireless/ath/ath10k/htt_rx.c
3236
skb_put(msdu, __le16_to_cpu(rx->msdu_len));
drivers/net/wireless/ath/ath10k/htt_rx.c
3284
peer_id = __le16_to_cpu(resp->rx_in_ord_ind.peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3285
msdu_count = __le16_to_cpu(resp->rx_in_ord_ind.msdu_count);
drivers/net/wireless/ath/ath10k/htt_rx.c
3938
peer_id = __le16_to_cpu(tx_stats->peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3960
p_tx_stats->succ_pkts = __le16_to_cpu(tx_stats->succ_pkts);
drivers/net/wireless/ath/ath10k/htt_rx.c
3961
p_tx_stats->retry_pkts = __le16_to_cpu(tx_stats->retry_pkts);
drivers/net/wireless/ath/ath10k/htt_rx.c
3962
p_tx_stats->failed_pkts = __le16_to_cpu(tx_stats->failed_pkts);
drivers/net/wireless/ath/ath10k/htt_rx.c
3963
p_tx_stats->duration = __le16_to_cpu(tx_stats->tx_duration);
drivers/net/wireless/ath/ath10k/htt_rx.c
3980
u16 log_type = __le16_to_cpu(hdr->log_type);
drivers/net/wireless/ath/ath10k/htt_rx.c
4006
__le16_to_cpu(tx_stats->success_bytes[i]);
drivers/net/wireless/ath/ath10k/htt_rx.c
4008
__le16_to_cpu(tx_stats->retry_bytes[i]);
drivers/net/wireless/ath/ath10k/htt_rx.c
4010
__le16_to_cpu(tx_stats->failed_bytes[i]);
drivers/net/wireless/ath/ath10k/htt_rx.c
4050
peer = ath10k_peer_find_by_id(ar, __le16_to_cpu(ev->peer_id));
drivers/net/wireless/ath/ath10k/htt_rx.c
4053
__le16_to_cpu(ev->peer_id));
drivers/net/wireless/ath/ath10k/htt_rx.c
4112
.peer_id = __le16_to_cpu(resp->peer_map.peer_id),
drivers/net/wireless/ath/ath10k/htt_rx.c
4120
.peer_id = __le16_to_cpu(resp->peer_unmap.peer_id),
drivers/net/wireless/ath/ath10k/htt_rx.c
4179
__le16_to_cpu(ev->peer_id),
drivers/net/wireless/ath/ath10k/htt_rx.c
514
int amsdu_len = __le16_to_cpu(ind_desc->msdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
528
__le16_to_cpu(ind_desc->msdu_len),
drivers/net/wireless/ath/ath10k/htt_rx.c
569
__le16_to_cpu(ind_desc->msdu_len), amsdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
591
int amsdu_len = __le16_to_cpu(ind_desc->msdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
605
__le16_to_cpu(ind_desc->msdu_len),
drivers/net/wireless/ath/ath10k/htt_rx.c
646
__le16_to_cpu(ind_desc->msdu_len), amsdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
671
msdu_count = __le16_to_cpu(ev->msdu_count);
drivers/net/wireless/ath/ath10k/htt_rx.c
705
skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len));
drivers/net/wireless/ath/ath10k/htt_rx.c
736
msdu_count = __le16_to_cpu(ev->msdu_count);
drivers/net/wireless/ath/ath10k/htt_rx.c
769
skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len));
drivers/net/wireless/ath/ath10k/htt_tx.c
576
flags1 = __le16_to_cpu(desc_hdr->flags1);
drivers/net/wireless/ath/ath10k/htt_tx.c
589
__le16_to_cpu(desc_hdr->id), flags1);
drivers/net/wireless/ath/ath10k/htt_tx.c
595
tx_done.msdu_id = __le16_to_cpu(desc_hdr->id);
drivers/net/wireless/ath/ath10k/mac.c
2632
vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >>
drivers/net/wireless/ath/ath10k/mac.c
2641
__le16_to_cpu(vht_cap->vht_mcs.rx_highest);
drivers/net/wireless/ath/ath10k/mac.c
2643
__le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map);
drivers/net/wireless/ath/ath10k/mac.c
2645
__le16_to_cpu(vht_cap->vht_mcs.tx_highest);
drivers/net/wireless/ath/ath10k/mac.c
2647
__le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask);
drivers/net/wireless/ath/ath10k/sdio.c
78
u16 len = __le16_to_cpu(htc_hdr->len);
drivers/net/wireless/ath/ath10k/usb.c
31
return __le16_to_cpu(htc_hdr->len) == htc_hdr->trailer_len;
drivers/net/wireless/ath/ath10k/wmi-tlv.c
163
return __le16_to_cpu((((const struct wmi_tlv *)ptr) - 1)->len);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
347
if (len < sizeof(*item) + __le16_to_cpu(item->len)) {
drivers/net/wireless/ath/ath10k/wmi-tlv.c
356
__le16_to_cpu(item->len),
drivers/net/wireless/ath/ath10k/wmi-tlv.c
360
len -= roundup(__le16_to_cpu(item->len), 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
363
data += roundup(__le16_to_cpu(item->len), 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
90
tlv_tag = __le16_to_cpu(tlv->tag);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
91
tlv_len = __le16_to_cpu(tlv->len);
drivers/net/wireless/ath/ath10k/wmi.c
4238
tlv_len = __le16_to_cpu(tlv->len);
drivers/net/wireless/ath/ath10k/wmi.c
4293
tlv_len = __le16_to_cpu(tlv->len);
drivers/net/wireless/ath/ath10k/wmi.c
4380
arg->freq1 = __le16_to_cpu(phyerr->freq1);
drivers/net/wireless/ath/ath10k/wmi.c
4381
arg->freq2 = __le16_to_cpu(phyerr->freq2);
drivers/net/wireless/ath/ath10k/wmi.c
4389
arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]);
drivers/net/wireless/ath/ath10k/wmi.c
4425
arg->freq1 = __le16_to_cpu(phyerr->freq1);
drivers/net/wireless/ath/ath10k/wmi.c
4426
arg->freq2 = __le16_to_cpu(phyerr->freq2);
drivers/net/wireless/ath/ath10k/wmi.c
4434
arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]);
drivers/net/wireless/ath/ath11k/hw.c
354
return __le16_to_cpu(desc->u.ipq8074.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath11k/hw.c
376
return __le16_to_cpu(desc->u.ipq8074.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath11k/hw.c
414
__le16_to_cpu(desc->u.qcn9074.msdu_end.info4));
drivers/net/wireless/ath/ath11k/hw.c
420
__le16_to_cpu(desc->u.qcn9074.msdu_end.info4));
drivers/net/wireless/ath/ath11k/hw.c
426
__le16_to_cpu(desc->u.qcn9074.msdu_end.info4));
drivers/net/wireless/ath/ath11k/hw.c
531
return __le16_to_cpu(desc->u.qcn9074.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath11k/hw.c
553
return __le16_to_cpu(desc->u.qcn9074.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath11k/hw.c
702
return __le16_to_cpu(desc->u.wcn6855.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath11k/hw.c
724
return __le16_to_cpu(desc->u.wcn6855.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath11k/mac.c
2228
vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >>
drivers/net/wireless/ath/ath11k/mac.c
2236
arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest);
drivers/net/wireless/ath/ath11k/mac.c
2237
arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map);
drivers/net/wireless/ath/ath11k/mac.c
2239
arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest);
drivers/net/wireless/ath/ath11k/mac.c
2240
arg->tx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map);
drivers/net/wireless/ath/ath12k/dp_htt.c
212
__le16_to_cpu(usr_stats->cmpltn_cmn.mpdu_tried) -
drivers/net/wireless/ath/ath12k/dp_htt.c
213
__le16_to_cpu(usr_stats->cmpltn_cmn.mpdu_success);
drivers/net/wireless/ath/ath12k/mac.c
2457
vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >>
drivers/net/wireless/ath/ath12k/mac.c
2465
arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest);
drivers/net/wireless/ath/ath12k/mac.c
2466
arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map);
drivers/net/wireless/ath/ath12k/mac.c
2469
arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest);
drivers/net/wireless/ath/ath12k/mac.c
2470
arg->tx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c
195
return __le16_to_cpu(desc->u.qcc2072.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c
309
return __le16_to_cpu(desc->u.qcc2072.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
617
return __le16_to_cpu(desc->u.qcn9274_compact.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
628
return __le16_to_cpu(desc->u.qcn9274_compact.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
670
return __le16_to_cpu(desc->u.qcn9274_compact.msdu_end.info5) &
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c
393
return __le16_to_cpu(desc->u.wcn7850.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c
411
return __le16_to_cpu(desc->u.wcn7850.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/wcn36xx/txrx.c
350
fc = __le16_to_cpu(hdr->frame_control);
drivers/net/wireless/ath/wcn36xx/txrx.c
351
sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl));
drivers/net/wireless/ath/wcn36xx/txrx.c
668
skb, skb->len, __le16_to_cpu(hdr->frame_control),
drivers/net/wireless/ath/wcn36xx/txrx.c
669
IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)),
drivers/net/wireless/ath/wil6210/wmi.c
1273
evt->agg_wsize, __le16_to_cpu(evt->ba_timeout),
drivers/net/wireless/ath/wil6210/wmi.c
1319
u16 reason = __le16_to_cpu(evt->reason);
drivers/net/wireless/intel/iwlwifi/mld/mcc.c
116
__le16_to_cpu(resp->mcc),
drivers/net/wireless/intel/iwlwifi/mld/mcc.c
117
__le16_to_cpu(resp->geo_info),
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
153
__le16_to_cpu(resp->mcc),
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
154
__le16_to_cpu(resp->geo_info),
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
169
iwl_mei_set_country_code(__le16_to_cpu(resp->mcc));
drivers/net/wireless/realtek/rtw88/rtw8723x.c
697
le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum),
drivers/net/wireless/realtek/rtw88/tx.h
130
le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum),
drivers/net/wireless/st/cw1200/bh.c
289
*ctrl_reg = __le16_to_cpu(
drivers/net/wireless/st/cw1200/bh.c
293
wsm_len = __le16_to_cpu(wsm->len);
drivers/net/wireless/st/cw1200/bh.c
302
wsm_id = __le16_to_cpu(wsm->id) & 0xFFF;
drivers/net/wireless/st/cw1200/bh.c
303
wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7;
drivers/net/wireless/st/cw1200/bh.c
375
BUG_ON(__le16_to_cpu(wsm->len) != tx_len);
drivers/net/wireless/st/cw1200/bh.c
399
__le16_to_cpu(wsm->len));
drivers/net/wireless/st/cw1200/wsm.c
1097
cmd, __le16_to_cpu(((__le16 *)buf->begin)[2]),
drivers/net/wireless/st/cw1200/wsm.c
1307
wsm_buf.end = &wsm_buf.begin[__le16_to_cpu(wsm->len)];
drivers/net/wireless/st/cw1200/wsm.c
1725
*tx_len = __le16_to_cpu(wsm->hdr.len);
drivers/net/wireless/st/cw1200/wsm.c
53
#define WSM_GET16(buf) __WSM_GET(buf, u16, __le16, __le16_to_cpu)
drivers/net/wireless/ti/wlcore/main.c
451
sec_pn16 = __le16_to_cpu(status->counters.tx_lnk_sec_pn16[i]);
drivers/nvdimm/label.c
146
version = __le16_to_cpu(nsindex[i]->major) * 100
drivers/nvdimm/label.c
147
+ __le16_to_cpu(nsindex[i]->minor);
drivers/nvdimm/namespace_devs.c
1196
if (__le16_to_cpu(nsindex->major) == 1
drivers/nvdimm/namespace_devs.c
1197
&& __le16_to_cpu(nsindex->minor) == 1)
drivers/nvdimm/nd.h
187
return __le16_to_cpu(nd_label->cxl.position);
drivers/nvdimm/nd.h
188
return __le16_to_cpu(nd_label->efi.position);
drivers/nvdimm/nd.h
206
return __le16_to_cpu(nd_label->efi.nlabel);
drivers/nvdimm/nd.h
221
return __le16_to_cpu(nd_label->cxl.nrange);
drivers/nvdimm/nd.h
241
return __le16_to_cpu(nd_label->cxl.lbasize);
drivers/nvdimm/pfn_devs.c
473
if (__le16_to_cpu(pfn_sb->version_minor) < 1) {
drivers/nvdimm/pfn_devs.c
478
if (__le16_to_cpu(pfn_sb->version_minor) < 2)
drivers/nvdimm/pfn_devs.c
481
if (__le16_to_cpu(pfn_sb->version_minor) < 4) {
drivers/nvdimm/region_devs.c
844
if (nsindex && __le16_to_cpu(nsindex->major) == 1
drivers/nvdimm/region_devs.c
845
&& __le16_to_cpu(nsindex->minor) == 1)
drivers/scsi/qla1280.c
1672
ha->fwstart = __le16_to_cpu(fw_data[2]);
drivers/scsi/qla1280.c
1682
mb[2] = __le16_to_cpu(fw_data[i]);
drivers/scsi/qla1280.c
1729
ha->fwstart = __le16_to_cpu(fw_data[2]);
drivers/scsi/qla4xxx/ql4_mbx.c
1607
__le16_to_cpu(chap_table->cookie)));
drivers/scsi/qla4xxx/ql4_mbx.c
1609
if (__le16_to_cpu(chap_table->cookie) != CHAP_VALID_COOKIE) {
drivers/scsi/qla4xxx/ql4_os.c
6127
idx = __le16_to_cpu(fw_ddb_entry->chap_tbl_idx);
drivers/scsi/qla4xxx/ql4_os.c
920
__le16_to_cpu(chap_table->cookie)));
drivers/scsi/qla4xxx/ql4_os.c
922
if (__le16_to_cpu(chap_table->cookie) != CHAP_VALID_COOKIE) {
drivers/scsi/qlogicpti.c
510
csum += __le16_to_cpu(fw_data[i]);
drivers/scsi/qlogicpti.c
572
param[2] = __le16_to_cpu(fw_data[i]);
drivers/soc/qcom/qmi_encdec.c
63
*(u16 *)p_dst = __le16_to_cpu(*(__le16 *)p_src); \
drivers/spi/spi-orion.c
461
put_unaligned(__le16_to_cpu(readl(rx_reg)), (*rx_buf)++);
drivers/tty/nozomi.c
389
*buf16 = __le16_to_cpu(readw(ptr));
drivers/tty/nozomi.c
400
*(buf16) = __le16_to_cpu(readw(ptr));
drivers/usb/c67x00/c67x00-sched.c
116
#define td_ly_base_addr(td) (__le16_to_cpu((td)->ly_base_addr))
drivers/usb/c67x00/c67x00-sched.c
117
#define td_port_length(td) (__le16_to_cpu((td)->port_length))
drivers/usb/c67x00/c67x00-sched.c
118
#define td_next_td_addr(td) (__le16_to_cpu((td)->next_td_addr))
drivers/usb/core/devio.c
1703
__le16_to_cpu(dr->wValue),
drivers/usb/core/devio.c
1704
__le16_to_cpu(dr->wIndex),
drivers/usb/core/devio.c
1705
__le16_to_cpu(dr->wLength));
drivers/usb/core/hub.c
1512
u32 delay = __le16_to_cpu(hub->descriptor->u.ss.wHubDelay);
drivers/usb/core/hub.c
245
total_mel += (__le16_to_cpu(hub->descriptor->u.ss.wHubDelay) +
drivers/usb/gadget/function/f_hid.c
849
value = __le16_to_cpu(ctrl->wValue);
drivers/usb/gadget/function/f_hid.c
850
length = __le16_to_cpu(ctrl->wLength);
drivers/usb/serial/ir-usb.c
100
dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision));
drivers/usb/serial/ir-usb.c
104
dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate));
drivers/usb/storage/isd200.c
1059
id[i] = __le16_to_cpu(id[i]);
fs/jfs/jfs_unicode.h
57
while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) {
fs/jfs/jfs_unicode.h
61
return (int) *ucs1 - (int) __le16_to_cpu(*ucs2);
fs/jfs/jfs_unicode.h
90
*ucs1++ = __le16_to_cpu(*ucs2++);
fs/nls/nls_base.c
183
return __le16_to_cpu(c);
fs/nls/nls_ucs2_utils.h
176
while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) {
fs/nls/nls_ucs2_utils.h
180
return (int)*ucs1 - (int)__le16_to_cpu(*ucs2);
fs/nls/nls_ucs2_utils.h
207
*ucs1++ = __le16_to_cpu(*ucs2++);
include/asm-generic/io.h
214
val = __le16_to_cpu((__le16 __force)__raw_readw(addr));
include/asm-generic/io.h
344
val = __le16_to_cpu((__le16 __force)__raw_readw(addr));
include/asm-generic/io.h
601
val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
include/linux/byteorder/generic.h
91
#define le16_to_cpu __le16_to_cpu
include/uapi/linux/usb/ch9.h
657
return __le16_to_cpu(epd->wMaxPacketSize) & USB_ENDPOINT_MAXP_MASK;
include/uapi/linux/usb/ch9.h
669
int maxp = __le16_to_cpu(epd->wMaxPacketSize);
net/bluetooth/hci_codec.c
23
entry->cid = __le16_to_cpu(sent->cid);
net/bluetooth/hci_codec.c
24
entry->vid = __le16_to_cpu(sent->vid);
net/bluetooth/hci_core.c
2942
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
net/bluetooth/hci_core.c
3846
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3878
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3911
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3948
opcode = __le16_to_cpu(sent->opcode);
net/bluetooth/hci_debugfs.c
375
__le16_to_cpu(data->clock_offset),
net/bluetooth/hci_debugfs.c
847
ltk->type, ltk->enc_size, __le16_to_cpu(ltk->ediv),
net/bluetooth/hci_drv.c
75
opcode = __le16_to_cpu(hdr->opcode);
net/bluetooth/hci_drv.c
76
len = __le16_to_cpu(hdr->len);
net/bluetooth/hci_event.c
1012
hdev->page_scan_interval = __le16_to_cpu(rp->interval);
net/bluetooth/hci_event.c
1013
hdev->page_scan_window = __le16_to_cpu(rp->window);
net/bluetooth/hci_event.c
1034
hdev->page_scan_interval = __le16_to_cpu(sent->interval);
net/bluetooth/hci_event.c
1035
hdev->page_scan_window = __le16_to_cpu(sent->window);
net/bluetooth/hci_event.c
1097
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
1216
hdev->le_mtu = __le16_to_cpu(rp->le_mtu);
net/bluetooth/hci_event.c
178
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
200
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
202
conn->link_policy = __le16_to_cpu(rp->policy);
net/bluetooth/hci_event.c
2174
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2201
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
227
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2299
handle = __le16_to_cpu(cp->handle);
net/bluetooth/hci_event.c
2336
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2363
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
246
hdev->link_policy = __le16_to_cpu(rp->policy);
net/bluetooth/hci_event.c
2540
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2567
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2616
hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status);
net/bluetooth/hci_event.c
2632
hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status);
net/bluetooth/hci_event.c
2651
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2678
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2710
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2892
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2917
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2940
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
3183
status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3412
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3501
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3606
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3708
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3731
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3799
hdev->le_mtu = __le16_to_cpu(rp->acl_mtu);
net/bluetooth/hci_event.c
3801
hdev->iso_mtu = __le16_to_cpu(rp->iso_mtu);
net/bluetooth/hci_event.c
3881
if (hci_conn_set_handle(conn, __le16_to_cpu(rp->handle[i])))
net/bluetooth/hci_event.c
3912
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
3984
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
4281
*opcode = __le16_to_cpu(ev->opcode);
net/bluetooth/hci_event.c
4347
handle = __le16_to_cpu(cp->cis[i].cis_handle);
net/bluetooth/hci_event.c
4412
*opcode = __le16_to_cpu(ev->opcode);
net/bluetooth/hci_event.c
4501
handle = __le16_to_cpu(info->handle);
net/bluetooth/hci_event.c
4502
count = __le16_to_cpu(info->count);
net/bluetooth/hci_event.c
4580
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4808
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4832
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4834
conn->pkt_type = __le16_to_cpu(ev->pkt_type);
net/bluetooth/hci_event.c
4955
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5067
status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5203
__le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5207
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
566
setting = __le16_to_cpu(rp->voice_setting);
net/bluetooth/hci_event.c
5974
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->conn_handle));
net/bluetooth/hci_event.c
6077
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6510
evt_type = __le16_to_cpu(info->type) & LE_EXT_ADV_EVT_TYPE_MASK;
net/bluetooth/hci_event.c
6651
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6703
bt_dev_dbg(hdev, "handle 0x%4.4x", __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6707
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6779
bt_dev_dbg(hdev, "handle 0x%4.4x", __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6885
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6918
u16 handle = __le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
7039
acl_handle = __le16_to_cpu(ev->acl_handle);
net/bluetooth/hci_event.c
7040
cis_handle = __le16_to_cpu(ev->cis_handle);
net/bluetooth/hci_event.c
708
hdev->hci_rev = __le16_to_cpu(rp->hci_rev);
net/bluetooth/hci_event.c
710
hdev->manufacturer = __le16_to_cpu(rp->manufacturer);
net/bluetooth/hci_event.c
711
hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver);
net/bluetooth/hci_event.c
7115
__le16_to_cpu(ev->bis_handle[i++])))
net/bluetooth/hci_event.c
7299
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
7537
if (opcode != __le16_to_cpu(ev->opcode)) {
net/bluetooth/hci_event.c
7539
__le16_to_cpu(ev->opcode));
net/bluetooth/hci_event.c
813
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
815
conn->auth_payload_timeout = __le16_to_cpu(rp->timeout);
net/bluetooth/hci_event.c
837
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
938
hdev->acl_mtu = __le16_to_cpu(rp->acl_mtu);
net/bluetooth/hci_event.c
940
hdev->acl_pkts = __le16_to_cpu(rp->acl_max_pkt);
net/bluetooth/hci_event.c
941
hdev->sco_pkts = __le16_to_cpu(rp->sco_max_pkt);
net/bluetooth/hci_sock.c
1636
opcode = __le16_to_cpu(hdr->opcode);
net/bluetooth/hci_sock.c
1637
index = __le16_to_cpu(hdr->index);
net/bluetooth/hci_sock.c
1638
len = __le16_to_cpu(hdr->len);
net/bluetooth/hci_sock.c
1751
if (__le16_to_cpu(hdr->len) != skb->len - sizeof(*hdr))
net/bluetooth/hci_sock.c
1754
if (__le16_to_cpu(hdr->opcode) == 0x0000) {
net/bluetooth/hci_sock.c
1779
index = __le16_to_cpu(hdr->index);
net/bluetooth/iso.c
2505
sn = __le16_to_cpu(hdr->sn);
net/bluetooth/iso.c
2506
len = __le16_to_cpu(hdr->slen);
net/bluetooth/iso.c
2516
sn = __le16_to_cpu(hdr->sn);
net/bluetooth/iso.c
2517
len = __le16_to_cpu(hdr->slen);
net/bluetooth/l2cap_core.c
2263
__le16_to_cpu(chan->psm), len);
net/bluetooth/l2cap_core.c
4016
u16 dcid = 0, scid = __le16_to_cpu(req->scid);
net/bluetooth/l2cap_core.c
4019
BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid);
net/bluetooth/l2cap_core.c
4162
scid = __le16_to_cpu(rsp->scid);
net/bluetooth/l2cap_core.c
4163
dcid = __le16_to_cpu(rsp->dcid);
net/bluetooth/l2cap_core.c
4164
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4165
status = __le16_to_cpu(rsp->status);
net/bluetooth/l2cap_core.c
4279
dcid = __le16_to_cpu(req->dcid);
net/bluetooth/l2cap_core.c
4280
flags = __le16_to_cpu(req->flags);
net/bluetooth/l2cap_core.c
4390
scid = __le16_to_cpu(rsp->scid);
net/bluetooth/l2cap_core.c
4391
flags = __le16_to_cpu(rsp->flags);
net/bluetooth/l2cap_core.c
4392
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4496
scid = __le16_to_cpu(req->scid);
net/bluetooth/l2cap_core.c
4497
dcid = __le16_to_cpu(req->dcid);
net/bluetooth/l2cap_core.c
4534
scid = __le16_to_cpu(rsp->scid);
net/bluetooth/l2cap_core.c
4535
dcid = __le16_to_cpu(rsp->dcid);
net/bluetooth/l2cap_core.c
4570
type = __le16_to_cpu(req->type);
net/bluetooth/l2cap_core.c
4618
type = __le16_to_cpu(rsp->type);
net/bluetooth/l2cap_core.c
4619
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4690
min = __le16_to_cpu(req->min);
net/bluetooth/l2cap_core.c
4691
max = __le16_to_cpu(req->max);
net/bluetooth/l2cap_core.c
4692
latency = __le16_to_cpu(req->latency);
net/bluetooth/l2cap_core.c
4693
to_multiplier = __le16_to_cpu(req->to_multiplier);
net/bluetooth/l2cap_core.c
4736
dcid = __le16_to_cpu(rsp->dcid);
net/bluetooth/l2cap_core.c
4737
mtu = __le16_to_cpu(rsp->mtu);
net/bluetooth/l2cap_core.c
4738
mps = __le16_to_cpu(rsp->mps);
net/bluetooth/l2cap_core.c
4739
credits = __le16_to_cpu(rsp->credits);
net/bluetooth/l2cap_core.c
4740
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4898
scid = __le16_to_cpu(req->scid);
net/bluetooth/l2cap_core.c
4899
mtu = __le16_to_cpu(req->mtu);
net/bluetooth/l2cap_core.c
4900
mps = __le16_to_cpu(req->mps);
net/bluetooth/l2cap_core.c
4908
BT_DBG("psm 0x%2.2x scid 0x%4.4x mtu %u mps %u", __le16_to_cpu(psm),
net/bluetooth/l2cap_core.c
4918
if (!psm || __le16_to_cpu(psm) > L2CAP_PSM_LE_DYN_END) {
net/bluetooth/l2cap_core.c
4981
l2cap_le_flowctl_init(chan, __le16_to_cpu(req->credits));
net/bluetooth/l2cap_core.c
5041
cid = __le16_to_cpu(pkt->cid);
net/bluetooth/l2cap_core.c
5042
credits = __le16_to_cpu(pkt->credits);
net/bluetooth/l2cap_core.c
5118
mtu = __le16_to_cpu(req->mtu);
net/bluetooth/l2cap_core.c
5119
mps = __le16_to_cpu(req->mps);
net/bluetooth/l2cap_core.c
5135
if (!psm || __le16_to_cpu(psm) > L2CAP_PSM_LE_DYN_END) {
net/bluetooth/l2cap_core.c
5140
BT_DBG("psm 0x%2.2x mtu %u mps %u", __le16_to_cpu(psm), mtu, mps);
net/bluetooth/l2cap_core.c
5170
u16 scid = __le16_to_cpu(req->scid[i]);
net/bluetooth/l2cap_core.c
5205
l2cap_ecred_init(chan, __le16_to_cpu(req->credits));
net/bluetooth/l2cap_core.c
5260
mtu = __le16_to_cpu(rsp->mtu);
net/bluetooth/l2cap_core.c
5261
mps = __le16_to_cpu(rsp->mps);
net/bluetooth/l2cap_core.c
5262
credits = __le16_to_cpu(rsp->credits);
net/bluetooth/l2cap_core.c
5263
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
5287
dcid = __le16_to_cpu(rsp->dcid[i++]);
net/bluetooth/l2cap_core.c
5374
mtu = __le16_to_cpu(req->mtu);
net/bluetooth/l2cap_core.c
5375
mps = __le16_to_cpu(req->mps);
net/bluetooth/l2cap_core.c
5403
scid = __le16_to_cpu(req->scid[i]);
net/bluetooth/l2cap_core.c
5465
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
590
__le16_to_cpu(chan->psm), chan->dcid);
net/bluetooth/l2cap_core.c
6927
cid = __le16_to_cpu(lh->cid);
net/bluetooth/l2cap_core.c
6928
len = __le16_to_cpu(lh->len);
net/bluetooth/l2cap_core.c
7084
dst, dst_type, __le16_to_cpu(psm), chan->mode);
net/bluetooth/l2cap_core.c
7092
if (!is_valid_psm(__le16_to_cpu(psm), dst_type) && !cid &&
net/bluetooth/l2cap_core.c
7786
c->state, __le16_to_cpu(c->psm),
net/bluetooth/l2cap_sock.c
121
__u16 psm = __le16_to_cpu(la.l2_psm);
net/bluetooth/l2cap_sock.c
136
err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid));
net/bluetooth/l2cap_sock.c
145
if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP)
net/bluetooth/l2cap_sock.c
149
if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP ||
net/bluetooth/l2cap_sock.c
150
__le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM)
net/bluetooth/l2cap_sock.c
256
err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid),
net/bluetooth/mgmt.c
1597
timeout = __le16_to_cpu(cp->timeout);
net/bluetooth/mgmt.c
2234
hdev->le_scan_interval = __le16_to_cpu(cp->period);
net/bluetooth/mgmt.c
2235
hdev->le_scan_window = __le16_to_cpu(cp->window);
net/bluetooth/mgmt.c
2266
period = __le16_to_cpu(cp->period);
net/bluetooth/mgmt.c
2272
window = __le16_to_cpu(cp->window);
net/bluetooth/mgmt.c
2990
key_count = __le16_to_cpu(cp->key_count);
net/bluetooth/mgmt.c
4365
key_count = __le16_to_cpu(keys->key_count);
net/bluetooth/mgmt.c
5464
__le16_to_cpu(rssi->low_threshold_timeout);
net/bluetooth/mgmt.c
5467
__le16_to_cpu(rssi->high_threshold_timeout);
net/bluetooth/mgmt.c
5622
u16 handle = __le16_to_cpu(cp->monitor_handle);
net/bluetooth/mgmt.c
6123
uuid_count = __le16_to_cpu(cp->uuid_count);
net/bluetooth/mgmt.c
6394
source = __le16_to_cpu(cp->source);
net/bluetooth/mgmt.c
6403
hdev->devid_vendor = __le16_to_cpu(cp->vendor);
net/bluetooth/mgmt.c
6404
hdev->devid_product = __le16_to_cpu(cp->product);
net/bluetooth/mgmt.c
6405
hdev->devid_version = __le16_to_cpu(cp->version);
net/bluetooth/mgmt.c
6667
interval = __le16_to_cpu(cp->interval);
net/bluetooth/mgmt.c
6673
window = __le16_to_cpu(cp->window);
net/bluetooth/mgmt.c
7198
irk_count = __le16_to_cpu(cp->irk_count);
net/bluetooth/mgmt.c
7291
key_count = __le16_to_cpu(cp->key_count);
net/bluetooth/mgmt.c
7961
param_count = __le16_to_cpu(cp->param_count);
net/bluetooth/mgmt.c
8781
timeout = __le16_to_cpu(cp->timeout);
net/bluetooth/mgmt.c
8782
duration = __le16_to_cpu(cp->duration);
net/bluetooth/mgmt.c
9001
__le16_to_cpu(cp->timeout) : 0;
net/bluetooth/mgmt.c
9004
__le16_to_cpu(cp->duration) :
net/bluetooth/rfcomm/core.c
1424
d->mtu = __le16_to_cpu(pn->mtu);
net/ieee802154/trace.h
180
__le16_to_cpu(__entry->le16arg))
net/ieee802154/trace.h
195
__le16_to_cpu(__entry->le16arg))
net/mac80211/he.c
219
vif->bss_conf.he_oper.nss_set = __le16_to_cpu(he_op_ie->he_mcs_nss_set);
net/mac802154/trace.h
283
__le16_to_cpu(__entry->pan_id), __le64_to_cpu(__entry->addr),
net/nfc/digital_technology.c
499
target->sens_res = __le16_to_cpu(*(__le16 *)resp->data);
net/nfc/nci/ntf.c
151
nfca_poll->sens_res = __le16_to_cpu(*((__le16 *)data));
net/nfc/nci/rsp.c
116
__le16_to_cpu(rsp->max_routing_table_size);
net/nfc/nci/rsp.c
73
__le16_to_cpu(rsp_2->max_routing_table_size);
net/nfc/nci/rsp.c
77
__le16_to_cpu(rsp_2->max_size_for_large_params);
net/wireless/chan.c
1203
ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) &
sound/usb/midi2.c
529
size = __le16_to_cpu(header.wTotalLength);
sound/usb/midi2.c
820
__le16_to_cpu(desc->wMaxInputBandwidth),
sound/usb/midi2.c
821
__le16_to_cpu(desc->wMaxOutputBandwidth));
sound/usb/midi2.c
853
if (__le16_to_cpu(desc->wMaxInputBandwidth) == 1 ||
sound/usb/midi2.c
854
__le16_to_cpu(desc->wMaxOutputBandwidth) == 1)
tools/include/asm-generic/io.h
172
val = __le16_to_cpu((__le16 __force)__raw_readw(addr));
tools/include/asm-generic/io.h
282
val = __le16_to_cpu((__le16 __force)__raw_readw(addr));