| /Linux-v5.15/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-v5.15/net/bluetooth/ |
| D | hci_event.c | 131 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 150 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 152 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() 174 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy() 191 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy() 470 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting() 601 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version() 603 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version() 604 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version() 636 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_auth_payload_timeout() [all …]
|
| D | l2cap_core.c | 557 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add() 2370 __le16_to_cpu(chan->psm), len); in l2cap_create_connless_pdu() 4094 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect() 4097 BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid); in l2cap_connect() 4260 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_create_rsp() 4261 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_create_rsp() 4262 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp() 4263 status = __le16_to_cpu(rsp->status); in l2cap_connect_create_rsp() 4372 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req() 4373 flags = __le16_to_cpu(req->flags); in l2cap_config_req() [all …]
|
| D | l2cap_sock.c | 119 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind() 134 err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid)); in l2cap_sock_bind() 143 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP) in l2cap_sock_bind() 147 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP || in l2cap_sock_bind() 148 __le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM) in l2cap_sock_bind() 246 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
|
| D | hci_sock.c | 1535 opcode = __le16_to_cpu(hdr->opcode); in hci_mgmt_cmd() 1536 index = __le16_to_cpu(hdr->index); in hci_mgmt_cmd() 1537 len = __le16_to_cpu(hdr->len); in hci_mgmt_cmd() 1660 if (__le16_to_cpu(hdr->len) != len - sizeof(*hdr)) { in hci_logging_frame() 1665 if (__le16_to_cpu(hdr->opcode) == 0x0000) { in hci_logging_frame() 1693 index = __le16_to_cpu(hdr->index); in hci_logging_frame()
|
| /Linux-v5.15/drivers/net/wireless/st/cw1200/ |
| D | bh.c | 290 *ctrl_reg = __le16_to_cpu( in cw1200_bh_rx_helper() 294 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper() 303 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper() 304 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper() 380 BUG_ON(__le16_to_cpu(wsm->len) != tx_len); in cw1200_bh_tx_helper() 404 __le16_to_cpu(wsm->len)); in cw1200_bh_tx_helper()
|
| /Linux-v5.15/fs/ksmbd/ |
| D | unicode.h | 207 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 211 return (int)*ucs1 - (int)__le16_to_cpu(*ucs2); in UniStrncmp_le() 238 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
|
| /Linux-v5.15/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-v5.15/drivers/net/wireless/ath/ath10k/ |
| D | htt_rx.c | 489 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 503 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32() 544 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 565 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_64() 579 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_64() 620 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_64() 643 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr32_list() 676 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr32_list() 705 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr64_list() 737 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr64_list() [all …]
|
| D | htc.c | 457 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler() 525 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete() 943 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target() 950 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target() 951 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target() 970 __le16_to_cpu(msg->ready_ext.reserved) & in ath10k_htc_wait_target() 1077 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service() 1078 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service() 1103 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 1121 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() [all …]
|
| /Linux-v5.15/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-v5.15/drivers/net/usb/ |
| D | r8152.c | 1883 if (INTR_LINK & __le16_to_cpu(d[0])) { in intr_callback() 4122 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok() 4135 if (__le16_to_cpu(phy->fw_reg) != 0x9A00) { in rtl8152_is_fw_phy_speed_up_ok() 4165 if (__le16_to_cpu(ver->ver.addr) != SRAM_GPHY_FW_VER) { in rtl8152_is_fw_phy_ver_ok() 4195 if (__le16_to_cpu(fix->setting.addr) != OCP_PHY_PATCH_CMD || in rtl8152_is_fw_phy_fixup_ok() 4196 __le16_to_cpu(fix->setting.data) != BIT(7)) { in rtl8152_is_fw_phy_fixup_ok() 4223 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok() 4271 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4283 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4289 if (__le16_to_cpu(phy->fw_reg) != fw_reg) { in rtl8152_is_fw_phy_nc_ok() [all …]
|
| /Linux-v5.15/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-v5.15/drivers/net/wireless/ath/wcn36xx/ |
| D | txrx.c | 252 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb() 253 sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)); in wcn36xx_rx_skb() 516 skb, skb->len, __le16_to_cpu(hdr->frame_control), in wcn36xx_start_tx() 517 IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)), in wcn36xx_start_tx()
|
| /Linux-v5.15/arch/microblaze/include/asm/ |
| D | io.h | 54 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
|
| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | hw.c | 340 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.sw_peer_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id() 362 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.phy_ppdu_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id() 389 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_first_msdu() 395 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_last_msdu() 401 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes() 500 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.sw_peer_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id() 522 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.phy_ppdu_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id() 660 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.sw_peer_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id() 682 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.phy_ppdu_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id()
|
| /Linux-v5.15/drivers/usb/serial/ |
| D | ir-usb.c | 100 dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision)); in irda_usb_dump_class_desc() 104 dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate)); in irda_usb_dump_class_desc()
|
| /Linux-v5.15/net/ieee802154/ |
| D | trace.h | 180 __le16_to_cpu(__entry->le16arg)) 195 __le16_to_cpu(__entry->le16arg))
|
| /Linux-v5.15/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-v5.15/include/linux/byteorder/ |
| D | generic.h | 91 #define le16_to_cpu __le16_to_cpu
|
| /Linux-v5.15/include/asm-generic/ |
| D | io.h | 166 val = __le16_to_cpu((__le16 __force)__raw_readw(addr)); in readw() 259 return __le16_to_cpu(__raw_readw(addr)); in readw_relaxed() 477 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
|
| /Linux-v5.15/include/uapi/linux/byteorder/ |
| D | little_endian.h | 36 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) macro
|
| D | big_endian.h | 36 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) macro
|
| /Linux-v5.15/drivers/nvdimm/ |
| D | pfn_devs.c | 478 if (__le16_to_cpu(pfn_sb->version_minor) < 1) { in nd_pfn_validate() 483 if (__le16_to_cpu(pfn_sb->version_minor) < 2) in nd_pfn_validate() 486 if (__le16_to_cpu(pfn_sb->version_minor) < 4) { in nd_pfn_validate()
|
| /Linux-v5.15/drivers/bluetooth/ |
| D | hci_ath.c | 223 if (__le16_to_cpu(hdr->opcode) == HCI_OP_ATH_SLEEP) in ath_enqueue()
|