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/btintel.c
2748
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btintel_pcie.c
1209
plen = HCI_ACL_HDR_SIZE + __le16_to_cpu(hci_acl_hdr(skb)->dlen);
drivers/bluetooth/btintel_pcie.c
1242
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
1118
hci_skb_expect(skb) = __le16_to_cpu(dlen);
drivers/bluetooth/btmtk.c
1561
opcode = __le16_to_cpu(ec->opcode);
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
1373
__u16 seq_num = __le16_to_cpu(fw_dump_hdr->seq_num);
drivers/bluetooth/btnxpuart.c
1374
__u16 buf_len = __le16_to_cpu(fw_dump_hdr->buf_len);
drivers/bluetooth/btnxpuart.c
1408
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btnxpuart.c
1592
switch (__le16_to_cpu(hdr->opcode)) {
drivers/bluetooth/btnxpuart.c
1600
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
881
__le16_to_cpu(rp->hci_rev), __le16_to_cpu(rp->lmp_subver));
drivers/bluetooth/btusb.c
1364
hci_skb_expect(skb) = __le16_to_cpu(dlen);
drivers/bluetooth/btusb.c
1405
handle = hci_handle(__le16_to_cpu(hdr->handle));
drivers/bluetooth/hci_ath.c
226
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
1072
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
1037
.entry_count = __le16_to_cpu(packed->entry_count),
drivers/md/dm-vdo/encodings.h
1186
.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
2343
if (INTR_LINK & __le16_to_cpu(d[0])) {
drivers/net/usb/r8152.c
4675
fw_offset = __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4688
if (__le16_to_cpu(phy->fw_reg) != 0x9A00) {
drivers/net/usb/r8152.c
4718
if (__le16_to_cpu(ver->ver.addr) != SRAM_GPHY_FW_VER) {
drivers/net/usb/r8152.c
4748
if (__le16_to_cpu(fix->setting.addr) != OCP_PHY_PATCH_CMD ||
drivers/net/usb/r8152.c
4749
__le16_to_cpu(fix->setting.data) != BIT(7)) {
drivers/net/usb/r8152.c
4776
fw_offset = __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4824
fw_offset = __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4836
length -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
4842
if (__le16_to_cpu(phy->fw_reg) != fw_reg) {
drivers/net/usb/r8152.c
4847
if (__le16_to_cpu(phy->ba_reg) != ba_reg) {
drivers/net/usb/r8152.c
4852
if (__le16_to_cpu(phy->patch_en_addr) != patch_en_addr) {
drivers/net/usb/r8152.c
4858
if (__le16_to_cpu(phy->mode_reg) != mode_reg) {
drivers/net/usb/r8152.c
4864
if (__le16_to_cpu(phy->bp_start) != bp_start) {
drivers/net/usb/r8152.c
4870
if (__le16_to_cpu(phy->bp_num) > 4) {
drivers/net/usb/r8152.c
4960
fw_offset = __le16_to_cpu(mac->fw_offset);
drivers/net/usb/r8152.c
4978
if (__le16_to_cpu(mac->fw_reg) != fw_reg) {
drivers/net/usb/r8152.c
4983
if (__le16_to_cpu(mac->bp_ba_addr) != bp_ba_addr) {
drivers/net/usb/r8152.c
4988
if (__le16_to_cpu(mac->bp_en_addr) != bp_en_addr) {
drivers/net/usb/r8152.c
4993
if (__le16_to_cpu(mac->bp_start) != bp_start) {
drivers/net/usb/r8152.c
4999
if (__le16_to_cpu(mac->bp_num) > max_bp) {
drivers/net/usb/r8152.c
5004
for (i = __le16_to_cpu(mac->bp_num); i < max_bp; i++) {
drivers/net/usb/r8152.c
5326
if (sram_read(tp, SRAM_GPHY_FW_VER) >= __le16_to_cpu(phy->version)) {
drivers/net/usb/r8152.c
5332
len -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
5333
data = (u8 *)phy + __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
5350
generic_ocp_write(tp, __le16_to_cpu(phy->fw_reg), 0xff, size, data, MCU_TYPE_USB);
drivers/net/usb/r8152.c
5373
if (sram_read(tp, SRAM_GPHY_FW_VER) == __le16_to_cpu(phy->version))
drivers/net/usb/r8152.c
5383
ver_addr = __le16_to_cpu(phy_ver->ver.addr);
drivers/net/usb/r8152.c
5384
ver = __le16_to_cpu(phy_ver->ver.data);
drivers/net/usb/r8152.c
5406
addr = __le16_to_cpu(fix->setting.addr);
drivers/net/usb/r8152.c
5409
switch (__le16_to_cpu(fix->bit_cmd)) {
drivers/net/usb/r8152.c
5411
data &= __le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5414
data |= __le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5417
data &= ~__le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5420
data ^= __le16_to_cpu(fix->setting.data);
drivers/net/usb/r8152.c
5441
sram_write(tp, __le16_to_cpu(phy->pre_set[i].addr),
drivers/net/usb/r8152.c
5442
__le16_to_cpu(phy->pre_set[i].data));
drivers/net/usb/r8152.c
5445
length -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
5447
data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
drivers/net/usb/r8152.c
5449
ocp_reg_write(tp, OCP_SRAM_ADDR, __le16_to_cpu(phy->fw_reg));
drivers/net/usb/r8152.c
5451
ocp_reg_write(tp, OCP_SRAM_DATA, __le16_to_cpu(data[i]));
drivers/net/usb/r8152.c
5455
sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data));
drivers/net/usb/r8152.c
5458
sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data));
drivers/net/usb/r8152.c
5471
mode_reg = __le16_to_cpu(phy->mode_reg);
drivers/net/usb/r8152.c
5472
sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_pre));
drivers/net/usb/r8152.c
5473
sram_write(tp, __le16_to_cpu(phy->ba_reg),
drivers/net/usb/r8152.c
5474
__le16_to_cpu(phy->ba_data));
drivers/net/usb/r8152.c
5477
length -= __le16_to_cpu(phy->fw_offset);
drivers/net/usb/r8152.c
5479
data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
drivers/net/usb/r8152.c
5481
ocp_reg_write(tp, OCP_SRAM_ADDR, __le16_to_cpu(phy->fw_reg));
drivers/net/usb/r8152.c
5483
ocp_reg_write(tp, OCP_SRAM_DATA, __le16_to_cpu(data[i]));
drivers/net/usb/r8152.c
5485
sram_write(tp, __le16_to_cpu(phy->patch_en_addr),
drivers/net/usb/r8152.c
5486
__le16_to_cpu(phy->patch_en_value));
drivers/net/usb/r8152.c
5488
bp_index = __le16_to_cpu(phy->bp_start);
drivers/net/usb/r8152.c
5489
num = __le16_to_cpu(phy->bp_num);
drivers/net/usb/r8152.c
5491
sram_write(tp, bp_index, __le16_to_cpu(phy->bp[i]));
drivers/net/usb/r8152.c
5495
sram_write(tp, mode_reg, __le16_to_cpu(phy->mode_post));
drivers/net/usb/r8152.c
5517
fw_ver_reg = __le16_to_cpu(mac->fw_ver_reg);
drivers/net/usb/r8152.c
5535
length -= __le16_to_cpu(mac->fw_offset);
drivers/net/usb/r8152.c
5538
data += __le16_to_cpu(mac->fw_offset);
drivers/net/usb/r8152.c
5540
if (generic_ocp_write(tp, __le16_to_cpu(mac->fw_reg), 0xff, length,
drivers/net/usb/r8152.c
5547
ocp_write_word(tp, type, __le16_to_cpu(mac->bp_ba_addr),
drivers/net/usb/r8152.c
5548
__le16_to_cpu(mac->bp_ba_value));
drivers/net/usb/r8152.c
5550
if (generic_ocp_write(tp, __le16_to_cpu(mac->bp_start), BYTE_EN_DWORD,
drivers/net/usb/r8152.c
5551
ALIGN(__le16_to_cpu(mac->bp_num) << 1, 4),
drivers/net/usb/r8152.c
5558
bp_en_addr = __le16_to_cpu(mac->bp_en_addr);
drivers/net/usb/r8152.c
5561
__le16_to_cpu(mac->bp_en_value));
drivers/net/usb/r8152.c
5602
key_addr = __le16_to_cpu(key->key_reg);
drivers/net/usb/r8152.c
5603
rtl_pre_ram_code(tp, key_addr, __le16_to_cpu(key->key_data), !power_cut);
drivers/net/virtio_net.c
2467
return __le16_to_cpu(hdr_hash->hash_value_lo) |
drivers/net/virtio_net.c
2468
(__le16_to_cpu(hdr_hash->hash_value_hi) << 16);
drivers/net/virtio_net.c
2479
switch (__le16_to_cpu(hdr_hash->hash_report)) {
drivers/net/virtio_net.c
6727
hash_report = __le16_to_cpu(hdr_hash->hash_report);
drivers/net/wireless/ath/ath10k/ce.c
1130
*nbytesp = __le16_to_cpu(desc->nbytes);
drivers/net/wireless/ath/ath10k/ce.c
1131
*transfer_idp = MS(__le16_to_cpu(desc->flags),
drivers/net/wireless/ath/ath10k/ce.c
1148
*nbytesp = __le16_to_cpu(desc->nbytes);
drivers/net/wireless/ath/ath10k/ce.c
1149
*transfer_idp = MS(__le16_to_cpu(desc->flags),
drivers/net/wireless/ath/ath10k/ce.c
772
nbytes = __le16_to_cpu(sdesc.nbytes);
drivers/net/wireless/ath/ath10k/ce.c
822
nbytes = __le16_to_cpu(sdesc.nbytes);
drivers/net/wireless/ath/ath10k/htc.c
1094
message_id = __le16_to_cpu(msg->hdr.message_id);
drivers/net/wireless/ath/ath10k/htc.c
1095
service_id = __le16_to_cpu(resp_msg->service_id);
drivers/net/wireless/ath/ath10k/htc.c
1120
max_msg_size = __le16_to_cpu(resp_msg->max_msg_size);
drivers/net/wireless/ath/ath10k/htc.c
1138
conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size);
drivers/net/wireless/ath/ath10k/htc.c
1143
ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size);
drivers/net/wireless/ath/ath10k/htc.c
469
payload_len = __le16_to_cpu(hdr->len);
drivers/net/wireless/ath/ath10k/htc.c
537
switch (__le16_to_cpu(msg->hdr.message_id)) {
drivers/net/wireless/ath/ath10k/htc.c
955
message_id = __le16_to_cpu(msg->hdr.message_id);
drivers/net/wireless/ath/ath10k/htc.c
963
htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count);
drivers/net/wireless/ath/ath10k/htc.c
967
htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size);
drivers/net/wireless/ath/ath10k/htc.c
987
__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
1387
IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)),
drivers/net/wireless/ath/ath10k/htt_rx.c
1907
seq = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl));
drivers/net/wireless/ath/ath10k/htt_rx.c
2480
peer_id = __le16_to_cpu(rx->hdr.peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
2784
peer_id = __le16_to_cpu(rx->peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
2826
sc = __le16_to_cpu(hdr->seq_ctrl);
drivers/net/wireless/ath/ath10k/htt_rx.c
2930
peer_id = __le16_to_cpu(rx->hdr.peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
2993
tx_done.msdu_id = __le16_to_cpu(msdu_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3002
tx_done.ack_rssi = __le16_to_cpu(msdu_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3005
tx_done.ack_rssi = __le16_to_cpu(msdu_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3079
info0 = __le16_to_cpu(ev->info0);
drivers/net/wireless/ath/ath10k/htt_rx.c
3119
info0 = __le16_to_cpu(ev->info0);
drivers/net/wireless/ath/ath10k/htt_rx.c
3231
if (skb_tailroom(msdu) < __le16_to_cpu(rx->msdu_len)) {
drivers/net/wireless/ath/ath10k/htt_rx.c
3237
skb_put(msdu, __le16_to_cpu(rx->msdu_len));
drivers/net/wireless/ath/ath10k/htt_rx.c
3285
peer_id = __le16_to_cpu(resp->rx_in_ord_ind.peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3286
msdu_count = __le16_to_cpu(resp->rx_in_ord_ind.msdu_count);
drivers/net/wireless/ath/ath10k/htt_rx.c
3939
peer_id = __le16_to_cpu(tx_stats->peer_id);
drivers/net/wireless/ath/ath10k/htt_rx.c
3961
p_tx_stats->succ_pkts = __le16_to_cpu(tx_stats->succ_pkts);
drivers/net/wireless/ath/ath10k/htt_rx.c
3962
p_tx_stats->retry_pkts = __le16_to_cpu(tx_stats->retry_pkts);
drivers/net/wireless/ath/ath10k/htt_rx.c
3963
p_tx_stats->failed_pkts = __le16_to_cpu(tx_stats->failed_pkts);
drivers/net/wireless/ath/ath10k/htt_rx.c
3964
p_tx_stats->duration = __le16_to_cpu(tx_stats->tx_duration);
drivers/net/wireless/ath/ath10k/htt_rx.c
3981
u16 log_type = __le16_to_cpu(hdr->log_type);
drivers/net/wireless/ath/ath10k/htt_rx.c
4007
__le16_to_cpu(tx_stats->success_bytes[i]);
drivers/net/wireless/ath/ath10k/htt_rx.c
4009
__le16_to_cpu(tx_stats->retry_bytes[i]);
drivers/net/wireless/ath/ath10k/htt_rx.c
4011
__le16_to_cpu(tx_stats->failed_bytes[i]);
drivers/net/wireless/ath/ath10k/htt_rx.c
4051
peer = ath10k_peer_find_by_id(ar, __le16_to_cpu(ev->peer_id));
drivers/net/wireless/ath/ath10k/htt_rx.c
4054
__le16_to_cpu(ev->peer_id));
drivers/net/wireless/ath/ath10k/htt_rx.c
4113
.peer_id = __le16_to_cpu(resp->peer_map.peer_id),
drivers/net/wireless/ath/ath10k/htt_rx.c
4121
.peer_id = __le16_to_cpu(resp->peer_unmap.peer_id),
drivers/net/wireless/ath/ath10k/htt_rx.c
4180
__le16_to_cpu(ev->peer_id),
drivers/net/wireless/ath/ath10k/htt_rx.c
513
int amsdu_len = __le16_to_cpu(ind_desc->msdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
527
__le16_to_cpu(ind_desc->msdu_len),
drivers/net/wireless/ath/ath10k/htt_rx.c
568
__le16_to_cpu(ind_desc->msdu_len), amsdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
590
int amsdu_len = __le16_to_cpu(ind_desc->msdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
604
__le16_to_cpu(ind_desc->msdu_len),
drivers/net/wireless/ath/ath10k/htt_rx.c
645
__le16_to_cpu(ind_desc->msdu_len), amsdu_len);
drivers/net/wireless/ath/ath10k/htt_rx.c
670
msdu_count = __le16_to_cpu(ev->msdu_count);
drivers/net/wireless/ath/ath10k/htt_rx.c
704
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
575
flags1 = __le16_to_cpu(desc_hdr->flags1);
drivers/net/wireless/ath/ath10k/htt_tx.c
588
__le16_to_cpu(desc_hdr->id), flags1);
drivers/net/wireless/ath/ath10k/htt_tx.c
594
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
164
return __le16_to_cpu((((const struct wmi_tlv *)ptr) - 1)->len);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
351
if (len < sizeof(*item) + __le16_to_cpu(item->len)) {
drivers/net/wireless/ath/ath10k/wmi-tlv.c
360
__le16_to_cpu(item->len),
drivers/net/wireless/ath/ath10k/wmi-tlv.c
364
len -= roundup(__le16_to_cpu(item->len), 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
367
data += roundup(__le16_to_cpu(item->len), 4);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
91
tlv_tag = __le16_to_cpu(tlv->tag);
drivers/net/wireless/ath/ath10k/wmi-tlv.c
92
tlv_len = __le16_to_cpu(tlv->len);
drivers/net/wireless/ath/ath10k/wmi.c
4237
tlv_len = __le16_to_cpu(tlv->len);
drivers/net/wireless/ath/ath10k/wmi.c
4292
tlv_len = __le16_to_cpu(tlv->len);
drivers/net/wireless/ath/ath10k/wmi.c
4379
arg->freq1 = __le16_to_cpu(phyerr->freq1);
drivers/net/wireless/ath/ath10k/wmi.c
4380
arg->freq2 = __le16_to_cpu(phyerr->freq2);
drivers/net/wireless/ath/ath10k/wmi.c
4388
arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]);
drivers/net/wireless/ath/ath10k/wmi.c
4424
arg->freq1 = __le16_to_cpu(phyerr->freq1);
drivers/net/wireless/ath/ath10k/wmi.c
4425
arg->freq2 = __le16_to_cpu(phyerr->freq2);
drivers/net/wireless/ath/ath10k/wmi.c
4433
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
2234
vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >>
drivers/net/wireless/ath/ath11k/mac.c
2242
arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest);
drivers/net/wireless/ath/ath11k/mac.c
2243
arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map);
drivers/net/wireless/ath/ath11k/mac.c
2245
arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest);
drivers/net/wireless/ath/ath11k/mac.c
2246
arg->tx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map);
drivers/net/wireless/ath/ath12k/dp_htt.c
223
__le16_to_cpu(usr_stats->cmpltn_cmn.mpdu_tried) -
drivers/net/wireless/ath/ath12k/dp_htt.c
224
__le16_to_cpu(usr_stats->cmpltn_cmn.mpdu_success);
drivers/net/wireless/ath/ath12k/mac.c
2476
vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >>
drivers/net/wireless/ath/ath12k/mac.c
2484
arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest);
drivers/net/wireless/ath/ath12k/mac.c
2485
arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map);
drivers/net/wireless/ath/ath12k/mac.c
2488
arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest);
drivers/net/wireless/ath/ath12k/mac.c
2489
arg->tx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c
209
return __le16_to_cpu(desc->u.qcc2072.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c
323
return __le16_to_cpu(desc->u.qcc2072.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
719
return __le16_to_cpu(desc->u.qcn9274_compact.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
730
return __le16_to_cpu(desc->u.qcn9274_compact.mpdu_start.phy_ppdu_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c
772
return __le16_to_cpu(desc->u.qcn9274_compact.msdu_end.info5) &
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c
407
return __le16_to_cpu(desc->u.wcn7850.mpdu_start.sw_peer_id);
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c
425
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
1274
evt->agg_wsize, __le16_to_cpu(evt->ba_timeout),
drivers/net/wireless/ath/wil6210/wmi.c
1320
u16 reason = __le16_to_cpu(evt->reason);
drivers/net/wireless/intel/iwlwifi/mld/mcc.c
122
__le16_to_cpu(resp->mcc),
drivers/net/wireless/intel/iwlwifi/mld/mcc.c
123
__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
460
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
846
if (nsindex && __le16_to_cpu(nsindex->major) == 1
drivers/nvdimm/region_devs.c
847
&& __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
850
value = __le16_to_cpu(ctrl->wValue);
drivers/usb/gadget/function/f_hid.c
851
length = __le16_to_cpu(ctrl->wLength);
drivers/usb/serial/ir-usb.c
102
dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate));
drivers/usb/serial/ir-usb.c
98
dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision));
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
661
return __le16_to_cpu(epd->wMaxPacketSize) & USB_ENDPOINT_MAXP_MASK;
include/uapi/linux/usb/ch9.h
673
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
2904
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
net/bluetooth/hci_core.c
3808
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3840
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3873
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3910
opcode = __le16_to_cpu(sent->opcode);
net/bluetooth/hci_debugfs.c
372
__le16_to_cpu(data->clock_offset),
net/bluetooth/hci_debugfs.c
844
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
1009
hdev->page_scan_interval = __le16_to_cpu(rp->interval);
net/bluetooth/hci_event.c
1010
hdev->page_scan_window = __le16_to_cpu(rp->window);
net/bluetooth/hci_event.c
1031
hdev->page_scan_interval = __le16_to_cpu(sent->interval);
net/bluetooth/hci_event.c
1032
hdev->page_scan_window = __le16_to_cpu(sent->window);
net/bluetooth/hci_event.c
1094
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
1213
hdev->le_mtu = __le16_to_cpu(rp->le_mtu);
net/bluetooth/hci_event.c
175
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
197
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
199
conn->link_policy = __le16_to_cpu(rp->policy);
net/bluetooth/hci_event.c
2178
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2205
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
224
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2303
handle = __le16_to_cpu(cp->handle);
net/bluetooth/hci_event.c
2340
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2367
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
243
hdev->link_policy = __le16_to_cpu(rp->policy);
net/bluetooth/hci_event.c
2544
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2571
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2620
hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status);
net/bluetooth/hci_event.c
2636
hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status);
net/bluetooth/hci_event.c
2655
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2682
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2714
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2896
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2921
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2944
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
3187
status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3397
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3486
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3591
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3693
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3716
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3784
hdev->le_mtu = __le16_to_cpu(rp->acl_mtu);
net/bluetooth/hci_event.c
3786
hdev->iso_mtu = __le16_to_cpu(rp->iso_mtu);
net/bluetooth/hci_event.c
3866
if (hci_conn_set_handle(conn, __le16_to_cpu(rp->handle[i])))
net/bluetooth/hci_event.c
3897
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
3969
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
4266
*opcode = __le16_to_cpu(ev->opcode);
net/bluetooth/hci_event.c
4332
handle = __le16_to_cpu(cp->cis[i].cis_handle);
net/bluetooth/hci_event.c
4397
*opcode = __le16_to_cpu(ev->opcode);
net/bluetooth/hci_event.c
4486
handle = __le16_to_cpu(info->handle);
net/bluetooth/hci_event.c
4487
count = __le16_to_cpu(info->count);
net/bluetooth/hci_event.c
4565
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4793
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4817
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4819
conn->pkt_type = __le16_to_cpu(ev->pkt_type);
net/bluetooth/hci_event.c
4940
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5052
status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5188
__le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5192
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
563
setting = __le16_to_cpu(rp->voice_setting);
net/bluetooth/hci_event.c
5969
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->conn_handle));
net/bluetooth/hci_event.c
6072
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6505
evt_type = __le16_to_cpu(info->type) & LE_EXT_ADV_EVT_TYPE_MASK;
net/bluetooth/hci_event.c
6646
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6698
bt_dev_dbg(hdev, "handle 0x%4.4x", __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6702
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6774
bt_dev_dbg(hdev, "handle 0x%4.4x", __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6880
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6913
u16 handle = __le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
7034
acl_handle = __le16_to_cpu(ev->acl_handle);
net/bluetooth/hci_event.c
7035
cis_handle = __le16_to_cpu(ev->cis_handle);
net/bluetooth/hci_event.c
705
hdev->hci_rev = __le16_to_cpu(rp->hci_rev);
net/bluetooth/hci_event.c
707
hdev->manufacturer = __le16_to_cpu(rp->manufacturer);
net/bluetooth/hci_event.c
708
hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver);
net/bluetooth/hci_event.c
7120
__le16_to_cpu(ev->bis_handle[i++]))) {
net/bluetooth/hci_event.c
7317
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
7555
if (opcode != __le16_to_cpu(ev->opcode)) {
net/bluetooth/hci_event.c
7557
__le16_to_cpu(ev->opcode));
net/bluetooth/hci_event.c
810
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
812
conn->auth_payload_timeout = __le16_to_cpu(rp->timeout);
net/bluetooth/hci_event.c
834
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
935
hdev->acl_mtu = __le16_to_cpu(rp->acl_mtu);
net/bluetooth/hci_event.c
937
hdev->acl_pkts = __le16_to_cpu(rp->acl_max_pkt);
net/bluetooth/hci_event.c
938
hdev->sco_pkts = __le16_to_cpu(rp->sco_max_pkt);
net/bluetooth/hci_sock.c
1634
opcode = __le16_to_cpu(hdr->opcode);
net/bluetooth/hci_sock.c
1635
index = __le16_to_cpu(hdr->index);
net/bluetooth/hci_sock.c
1636
len = __le16_to_cpu(hdr->len);
net/bluetooth/hci_sock.c
1749
if (__le16_to_cpu(hdr->len) != skb->len - sizeof(*hdr))
net/bluetooth/hci_sock.c
1752
if (__le16_to_cpu(hdr->opcode) == 0x0000) {
net/bluetooth/hci_sock.c
1777
index = __le16_to_cpu(hdr->index);
net/bluetooth/iso.c
2674
sn = __le16_to_cpu(hdr->sn);
net/bluetooth/iso.c
2675
len = __le16_to_cpu(hdr->slen);
net/bluetooth/iso.c
2685
sn = __le16_to_cpu(hdr->sn);
net/bluetooth/iso.c
2686
len = __le16_to_cpu(hdr->slen);
net/bluetooth/l2cap_core.c
2286
__le16_to_cpu(chan->psm), len);
net/bluetooth/l2cap_core.c
4095
u16 dcid = 0, scid = __le16_to_cpu(req->scid);
net/bluetooth/l2cap_core.c
4098
BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid);
net/bluetooth/l2cap_core.c
4239
scid = __le16_to_cpu(rsp->scid);
net/bluetooth/l2cap_core.c
4240
dcid = __le16_to_cpu(rsp->dcid);
net/bluetooth/l2cap_core.c
4241
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4242
status = __le16_to_cpu(rsp->status);
net/bluetooth/l2cap_core.c
4356
dcid = __le16_to_cpu(req->dcid);
net/bluetooth/l2cap_core.c
4357
flags = __le16_to_cpu(req->flags);
net/bluetooth/l2cap_core.c
4467
scid = __le16_to_cpu(rsp->scid);
net/bluetooth/l2cap_core.c
4468
flags = __le16_to_cpu(rsp->flags);
net/bluetooth/l2cap_core.c
4469
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4573
scid = __le16_to_cpu(req->scid);
net/bluetooth/l2cap_core.c
4574
dcid = __le16_to_cpu(req->dcid);
net/bluetooth/l2cap_core.c
4611
scid = __le16_to_cpu(rsp->scid);
net/bluetooth/l2cap_core.c
4612
dcid = __le16_to_cpu(rsp->dcid);
net/bluetooth/l2cap_core.c
4647
type = __le16_to_cpu(req->type);
net/bluetooth/l2cap_core.c
4695
type = __le16_to_cpu(rsp->type);
net/bluetooth/l2cap_core.c
4696
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4767
min = __le16_to_cpu(req->min);
net/bluetooth/l2cap_core.c
4768
max = __le16_to_cpu(req->max);
net/bluetooth/l2cap_core.c
4769
latency = __le16_to_cpu(req->latency);
net/bluetooth/l2cap_core.c
4770
to_multiplier = __le16_to_cpu(req->to_multiplier);
net/bluetooth/l2cap_core.c
4805
dcid = __le16_to_cpu(rsp->dcid);
net/bluetooth/l2cap_core.c
4806
mtu = __le16_to_cpu(rsp->mtu);
net/bluetooth/l2cap_core.c
4807
mps = __le16_to_cpu(rsp->mps);
net/bluetooth/l2cap_core.c
4808
credits = __le16_to_cpu(rsp->credits);
net/bluetooth/l2cap_core.c
4809
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
4973
scid = __le16_to_cpu(req->scid);
net/bluetooth/l2cap_core.c
4974
mtu = __le16_to_cpu(req->mtu);
net/bluetooth/l2cap_core.c
4975
mps = __le16_to_cpu(req->mps);
net/bluetooth/l2cap_core.c
4983
BT_DBG("psm 0x%2.2x scid 0x%4.4x mtu %u mps %u", __le16_to_cpu(psm),
net/bluetooth/l2cap_core.c
4993
if (!psm || __le16_to_cpu(psm) > L2CAP_PSM_LE_DYN_END) {
net/bluetooth/l2cap_core.c
5054
l2cap_le_flowctl_init(chan, __le16_to_cpu(req->credits));
net/bluetooth/l2cap_core.c
5114
cid = __le16_to_cpu(pkt->cid);
net/bluetooth/l2cap_core.c
5115
credits = __le16_to_cpu(pkt->credits);
net/bluetooth/l2cap_core.c
5191
mtu = __le16_to_cpu(req->mtu);
net/bluetooth/l2cap_core.c
5192
mps = __le16_to_cpu(req->mps);
net/bluetooth/l2cap_core.c
5208
if (!psm || __le16_to_cpu(psm) > L2CAP_PSM_LE_DYN_END) {
net/bluetooth/l2cap_core.c
5213
BT_DBG("psm 0x%2.2x mtu %u mps %u", __le16_to_cpu(psm), mtu, mps);
net/bluetooth/l2cap_core.c
5243
u16 scid = __le16_to_cpu(req->scid[i]);
net/bluetooth/l2cap_core.c
5276
l2cap_ecred_init(chan, __le16_to_cpu(req->credits));
net/bluetooth/l2cap_core.c
5331
mtu = __le16_to_cpu(rsp->mtu);
net/bluetooth/l2cap_core.c
5332
mps = __le16_to_cpu(rsp->mps);
net/bluetooth/l2cap_core.c
5333
credits = __le16_to_cpu(rsp->credits);
net/bluetooth/l2cap_core.c
5334
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
5359
dcid = __le16_to_cpu(rsp->dcid[i++]);
net/bluetooth/l2cap_core.c
5462
mtu = __le16_to_cpu(req->mtu);
net/bluetooth/l2cap_core.c
5463
mps = __le16_to_cpu(req->mps);
net/bluetooth/l2cap_core.c
5491
scid = __le16_to_cpu(req->scid[i]);
net/bluetooth/l2cap_core.c
5553
result = __le16_to_cpu(rsp->result);
net/bluetooth/l2cap_core.c
623
__le16_to_cpu(chan->psm), chan->dcid);
net/bluetooth/l2cap_core.c
7090
cid = __le16_to_cpu(lh->cid);
net/bluetooth/l2cap_core.c
7091
len = __le16_to_cpu(lh->len);
net/bluetooth/l2cap_core.c
7252
dst, dst_type, __le16_to_cpu(psm), chan->mode);
net/bluetooth/l2cap_core.c
7260
if (!is_valid_psm(__le16_to_cpu(psm), dst_type) && !cid &&
net/bluetooth/l2cap_core.c
7953
c->state, __le16_to_cpu(c->psm),
net/bluetooth/l2cap_sock.c
120
__u16 psm = __le16_to_cpu(la.l2_psm);
net/bluetooth/l2cap_sock.c
135
err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid));
net/bluetooth/l2cap_sock.c
144
if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP)
net/bluetooth/l2cap_sock.c
148
if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP ||
net/bluetooth/l2cap_sock.c
149
__le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM)
net/bluetooth/l2cap_sock.c
255
err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid),
net/bluetooth/mgmt.c
1594
timeout = __le16_to_cpu(cp->timeout);
net/bluetooth/mgmt.c
2231
hdev->le_scan_interval = __le16_to_cpu(cp->period);
net/bluetooth/mgmt.c
2232
hdev->le_scan_window = __le16_to_cpu(cp->window);
net/bluetooth/mgmt.c
2263
period = __le16_to_cpu(cp->period);
net/bluetooth/mgmt.c
2269
window = __le16_to_cpu(cp->window);
net/bluetooth/mgmt.c
2997
key_count = __le16_to_cpu(cp->key_count);
net/bluetooth/mgmt.c
4422
key_count = __le16_to_cpu(keys->key_count);
net/bluetooth/mgmt.c
5523
__le16_to_cpu(rssi->low_threshold_timeout);
net/bluetooth/mgmt.c
5526
__le16_to_cpu(rssi->high_threshold_timeout);
net/bluetooth/mgmt.c
5681
u16 handle = __le16_to_cpu(cp->monitor_handle);
net/bluetooth/mgmt.c
6182
uuid_count = __le16_to_cpu(cp->uuid_count);
net/bluetooth/mgmt.c
6453
source = __le16_to_cpu(cp->source);
net/bluetooth/mgmt.c
6462
hdev->devid_vendor = __le16_to_cpu(cp->vendor);
net/bluetooth/mgmt.c
6463
hdev->devid_product = __le16_to_cpu(cp->product);
net/bluetooth/mgmt.c
6464
hdev->devid_version = __le16_to_cpu(cp->version);
net/bluetooth/mgmt.c
6726
interval = __le16_to_cpu(cp->interval);
net/bluetooth/mgmt.c
6732
window = __le16_to_cpu(cp->window);
net/bluetooth/mgmt.c
7257
irk_count = __le16_to_cpu(cp->irk_count);
net/bluetooth/mgmt.c
7350
key_count = __le16_to_cpu(cp->key_count);
net/bluetooth/mgmt.c
8063
param_count = __le16_to_cpu(cp->param_count);
net/bluetooth/mgmt.c
8887
timeout = __le16_to_cpu(cp->timeout);
net/bluetooth/mgmt.c
8888
duration = __le16_to_cpu(cp->duration);
net/bluetooth/mgmt.c
9107
__le16_to_cpu(cp->timeout) : 0;
net/bluetooth/mgmt.c
9110
__le16_to_cpu(cp->duration) :
net/bluetooth/rfcomm/core.c
1438
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
231
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
505
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
1480
ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) &
sound/usb/midi2.c
536
size = __le16_to_cpu(header.wTotalLength);
sound/usb/midi2.c
829
__le16_to_cpu(desc->wMaxInputBandwidth),
sound/usb/midi2.c
830
__le16_to_cpu(desc->wMaxOutputBandwidth));
sound/usb/midi2.c
862
if (__le16_to_cpu(desc->wMaxInputBandwidth) == 1 ||
sound/usb/midi2.c
863
__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));
tools/include/nolibc/endian.h
20
#define le16toh(_x) __le16_to_cpu(_x)