/Linux-v5.10/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.10/net/bluetooth/ |
D | hci_event.c | 129 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 148 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 150 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() 172 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy() 189 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy() 445 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting() 576 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version() 578 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version() 579 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version() 611 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_auth_payload_timeout() [all …]
|
D | l2cap_core.c | 553 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add() 2362 __le16_to_cpu(chan->psm), len); in l2cap_create_connless_pdu() 4086 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect() 4089 BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid); in l2cap_connect() 4252 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_create_rsp() 4253 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_create_rsp() 4254 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp() 4255 status = __le16_to_cpu(rsp->status); in l2cap_connect_create_rsp() 4364 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req() 4365 flags = __le16_to_cpu(req->flags); in l2cap_config_req() [all …]
|
D | hci_sock.c | 1518 opcode = __le16_to_cpu(hdr->opcode); in hci_mgmt_cmd() 1519 index = __le16_to_cpu(hdr->index); in hci_mgmt_cmd() 1520 len = __le16_to_cpu(hdr->len); in hci_mgmt_cmd() 1643 if (__le16_to_cpu(hdr->len) != len - sizeof(*hdr)) { in hci_logging_frame() 1648 if (__le16_to_cpu(hdr->opcode) == 0x0000) { in hci_logging_frame() 1676 index = __le16_to_cpu(hdr->index); in hci_logging_frame()
|
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() 238 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
|
/Linux-v5.10/drivers/net/wireless/st/cw1200/ |
D | bh.c | 293 *ctrl_reg = __le16_to_cpu( in cw1200_bh_rx_helper() 297 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper() 306 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper() 307 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper() 383 BUG_ON(__le16_to_cpu(wsm->len) != tx_len); in cw1200_bh_tx_helper() 407 __le16_to_cpu(wsm->len)); in cw1200_bh_tx_helper()
|
/Linux-v5.10/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.10/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 | 453 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler() 521 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete() 939 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target() 946 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target() 947 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target() 966 __le16_to_cpu(msg->ready_ext.reserved) & in ath10k_htc_wait_target() 1073 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service() 1074 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service() 1099 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 1117 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() [all …]
|
/Linux-v5.10/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.10/drivers/net/usb/ |
D | r8152.c | 1701 if (INTR_LINK & __le16_to_cpu(d[0])) { in intr_callback() 3569 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 3581 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 3587 if (__le16_to_cpu(phy->fw_reg) != fw_reg) { in rtl8152_is_fw_phy_nc_ok() 3592 if (__le16_to_cpu(phy->ba_reg) != ba_reg) { in rtl8152_is_fw_phy_nc_ok() 3597 if (__le16_to_cpu(phy->patch_en_addr) != patch_en_addr) { in rtl8152_is_fw_phy_nc_ok() 3603 if (__le16_to_cpu(phy->mode_reg) != mode_reg) { in rtl8152_is_fw_phy_nc_ok() 3609 if (__le16_to_cpu(phy->bp_start) != bp_start) { in rtl8152_is_fw_phy_nc_ok() 3615 if (__le16_to_cpu(phy->bp_num) > 4) { in rtl8152_is_fw_phy_nc_ok() 3689 fw_offset = __le16_to_cpu(mac->fw_offset); in rtl8152_is_fw_mac_ok() [all …]
|
/Linux-v5.10/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() 512 skb, skb->len, __le16_to_cpu(hdr->frame_control), in wcn36xx_start_tx() 513 IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)), in wcn36xx_start_tx()
|
/Linux-v5.10/arch/microblaze/include/asm/ |
D | io.h | 57 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
|
/Linux-v5.10/net/nfc/nci/ |
D | rsp.c | 70 __le16_to_cpu(rsp_2->max_routing_table_size); in nci_core_init_rsp_packet() 74 __le16_to_cpu(rsp_2->max_size_for_large_params); in nci_core_init_rsp_packet()
|
/Linux-v5.10/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.10/net/ieee802154/ |
D | trace.h | 180 __le16_to_cpu(__entry->le16arg)) 195 __le16_to_cpu(__entry->le16arg))
|
/Linux-v5.10/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.10/net/mac80211/ |
D | he.c | 115 vif->bss_conf.he_oper.nss_set = __le16_to_cpu(he_op_ie->he_mcs_nss_set); in ieee80211_he_op_ie_to_bss_conf()
|
/Linux-v5.10/include/linux/byteorder/ |
D | generic.h | 91 #define le16_to_cpu __le16_to_cpu
|
/Linux-v5.10/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.10/include/uapi/linux/byteorder/ |
D | big_endian.h | 36 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) macro
|
D | little_endian.h | 36 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) macro
|
/Linux-v5.10/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.10/drivers/bluetooth/ |
D | hci_ath.c | 223 if (__le16_to_cpu(hdr->opcode) == HCI_OP_ATH_SLEEP) in ath_enqueue()
|
/Linux-v5.10/include/uapi/linux/usb/ |
D | ch9.h | 649 return __le16_to_cpu(epd->wMaxPacketSize) & USB_ENDPOINT_MAXP_MASK; in usb_endpoint_maxp() 661 int maxp = __le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp_mult()
|