/linux-6.1.9/fs/jfs/ |
D | jfs_unicode.h | 64 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 68 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 97 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_from_le()
|
/linux-6.1.9/net/bluetooth/ |
D | hci_event.c | 179 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 201 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 203 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() 228 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy() 247 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy() 564 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting() 706 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version() 708 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version() 709 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version() 786 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_auth_payload_timeout() [all …]
|
D | l2cap_core.c | 586 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add() 2402 __le16_to_cpu(chan->psm), len); in l2cap_create_connless_pdu() 4123 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect() 4126 BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid); in l2cap_connect() 4289 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_create_rsp() 4290 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_create_rsp() 4291 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp() 4292 status = __le16_to_cpu(rsp->status); in l2cap_connect_create_rsp() 4408 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req() 4409 flags = __le16_to_cpu(req->flags); in l2cap_config_req() [all …]
|
D | hci_codec.c | 23 entry->cid = __le16_to_cpu(sent->cid); in hci_codec_list_add() 24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add()
|
D | l2cap_sock.c | 120 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind() 135 err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid)); in l2cap_sock_bind() 144 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP) in l2cap_sock_bind() 148 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP || in l2cap_sock_bind() 149 __le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM) in l2cap_sock_bind() 272 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
|
/linux-6.1.9/drivers/net/wireless/st/cw1200/ |
D | bh.c | 288 *ctrl_reg = __le16_to_cpu( in cw1200_bh_rx_helper() 292 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper() 301 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper() 302 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper() 372 BUG_ON(__le16_to_cpu(wsm->len) != tx_len); in cw1200_bh_tx_helper() 396 __le16_to_cpu(wsm->len)); in cw1200_bh_tx_helper()
|
/linux-6.1.9/fs/ksmbd/ |
D | unicode.h | 208 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 212 return (int)*ucs1 - (int)__le16_to_cpu(*ucs2); in UniStrncmp_le() 239 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_main.c | 522 status = __le16_to_cpu(rx->status); in hostap_dump_rx_header() 530 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header() 535 __le16_to_cpu(rx->duration_id), __le16_to_cpu(rx->seq_ctrl), in hostap_dump_rx_header() 536 __le16_to_cpu(rx->data_len), in hostap_dump_rx_header() 555 name, __le16_to_cpu(tx->status), tx->retry_count, tx->tx_rate, in hostap_dump_tx_header() 556 __le16_to_cpu(tx->tx_control), jiffies); in hostap_dump_tx_header() 558 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header() 563 __le16_to_cpu(tx->duration_id), __le16_to_cpu(tx->seq_ctrl), in hostap_dump_tx_header() 564 __le16_to_cpu(tx->data_len), in hostap_dump_tx_header()
|
/linux-6.1.9/fs/cifs/ |
D | cifs_unicode.h | 247 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 251 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 280 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 509 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 523 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32() 564 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 586 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_64() 600 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_64() 641 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_64() 666 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr32_list() 700 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr32_list() 731 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr64_list() 764 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr64_list() [all …]
|
D | htc.c | 466 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler() 534 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete() 952 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target() 960 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target() 964 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target() 984 __le16_to_cpu(msg->ready_ext.reserved) & in ath10k_htc_wait_target() 1091 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service() 1092 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service() 1117 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 1135 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() [all …]
|
/linux-6.1.9/drivers/net/usb/ |
D | r8152.c | 1889 if (INTR_LINK & __le16_to_cpu(d[0])) { in intr_callback() 4135 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok() 4148 if (__le16_to_cpu(phy->fw_reg) != 0x9A00) { in rtl8152_is_fw_phy_speed_up_ok() 4178 if (__le16_to_cpu(ver->ver.addr) != SRAM_GPHY_FW_VER) { in rtl8152_is_fw_phy_ver_ok() 4208 if (__le16_to_cpu(fix->setting.addr) != OCP_PHY_PATCH_CMD || in rtl8152_is_fw_phy_fixup_ok() 4209 __le16_to_cpu(fix->setting.data) != BIT(7)) { in rtl8152_is_fw_phy_fixup_ok() 4236 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok() 4284 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4296 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4302 if (__le16_to_cpu(phy->fw_reg) != fw_reg) { in rtl8152_is_fw_phy_nc_ok() [all …]
|
/linux-6.1.9/drivers/nvdimm/ |
D | nd.h | 187 return __le16_to_cpu(nd_label->cxl.position); in nsl_get_position() 188 return __le16_to_cpu(nd_label->efi.position); in nsl_get_position() 206 return __le16_to_cpu(nd_label->efi.nlabel); in nsl_get_nlabel() 221 return __le16_to_cpu(nd_label->cxl.nrange); in nsl_get_nrange() 241 return __le16_to_cpu(nd_label->cxl.lbasize); in nsl_get_lbasize()
|
D | pfn_devs.c | 480 if (__le16_to_cpu(pfn_sb->version_minor) < 1) { in nd_pfn_validate() 485 if (__le16_to_cpu(pfn_sb->version_minor) < 2) in nd_pfn_validate() 488 if (__le16_to_cpu(pfn_sb->version_minor) < 4) { in nd_pfn_validate()
|
/linux-6.1.9/net/nfc/nci/ |
D | rsp.c | 73 __le16_to_cpu(rsp_2->max_routing_table_size); in nci_core_init_rsp_packet_v1() 77 __le16_to_cpu(rsp_2->max_size_for_large_params); in nci_core_init_rsp_packet_v1() 116 __le16_to_cpu(rsp->max_routing_table_size); in nci_core_init_rsp_packet_v2()
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | io.h | 52 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
|
/linux-6.1.9/drivers/usb/serial/ |
D | ir-usb.c | 101 dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision)); in irda_usb_dump_class_desc() 105 dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate)); in irda_usb_dump_class_desc()
|
/linux-6.1.9/net/ieee802154/ |
D | trace.h | 180 __le16_to_cpu(__entry->le16arg)) 195 __le16_to_cpu(__entry->le16arg))
|
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/ |
D | txrx.c | 350 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb() 351 sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)); in wcn36xx_rx_skb() 668 skb, skb->len, __le16_to_cpu(hdr->frame_control), in wcn36xx_start_tx() 669 IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)), in wcn36xx_start_tx()
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | hw.c | 350 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.sw_peer_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id() 372 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.phy_ppdu_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id() 410 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_first_msdu() 416 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_last_msdu() 422 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes() 527 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.sw_peer_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id() 549 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.phy_ppdu_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id() 698 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.sw_peer_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id() 720 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.phy_ppdu_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id()
|
/linux-6.1.9/drivers/staging/gdm724x/ |
D | gdm_mux.c | 158 packet_type = __le16_to_cpu(mux_header->packet_type); in up_to_host() 506 idVendor = __le16_to_cpu(usbdev->descriptor.idVendor); in gdm_mux_probe() 507 idProduct = __le16_to_cpu(usbdev->descriptor.idProduct); in gdm_mux_probe()
|
/linux-6.1.9/include/linux/byteorder/ |
D | generic.h | 91 #define le16_to_cpu __le16_to_cpu
|
/linux-6.1.9/include/uapi/linux/byteorder/ |
D | big_endian.h | 37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) macro
|
D | little_endian.h | 37 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) macro
|
/linux-6.1.9/include/asm-generic/ |
D | io.h | 208 val = __le16_to_cpu((__le16 __force)__raw_readw(addr)); in readw() 322 val = __le16_to_cpu(__raw_readw(addr)); in readw_relaxed() 560 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
|