| /Linux-v5.4/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.4/net/bluetooth/ |
| D | hci_event.c | 113 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 132 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 134 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() 156 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy() 173 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy() 429 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting() 560 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version() 562 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version() 563 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version() 595 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_auth_payload_timeout() [all …]
|
| D | l2cap_core.c | 538 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add() 2207 __le16_to_cpu(chan->psm), len); in l2cap_create_connless_pdu() 3845 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect() 3848 BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid); in l2cap_connect() 4011 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_create_rsp() 4012 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_create_rsp() 4013 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp() 4014 status = __le16_to_cpu(rsp->status); in l2cap_connect_create_rsp() 4123 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req() 4124 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() 238 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
|
| D | hci_sock.c | 1492 opcode = __le16_to_cpu(hdr->opcode); in hci_mgmt_cmd() 1493 index = __le16_to_cpu(hdr->index); in hci_mgmt_cmd() 1494 len = __le16_to_cpu(hdr->len); in hci_mgmt_cmd() 1615 if (__le16_to_cpu(hdr->len) != len - sizeof(*hdr)) { in hci_logging_frame() 1620 if (__le16_to_cpu(hdr->opcode) == 0x0000) { in hci_logging_frame() 1648 index = __le16_to_cpu(hdr->index); in hci_logging_frame()
|
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | htc.c | 412 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler() 480 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete() 626 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target() 633 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target() 634 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target() 743 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service() 744 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service() 769 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 787 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 792 ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
|
| D | htt_rx.c | 481 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 495 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32() 536 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 557 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_64() 571 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_64() 612 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_64() 635 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr32_list() 668 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr32_list() 697 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr64_list() 729 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr64_list() [all …]
|
| D | ce.c | 837 nbytes = __le16_to_cpu(sdesc.nbytes); in _ath10k_ce_completed_recv_next_nolock() 887 nbytes = __le16_to_cpu(sdesc.nbytes); in _ath10k_ce_completed_recv_next_nolock_64() 1195 *nbytesp = __le16_to_cpu(desc->nbytes); in ath10k_ce_extract_desc_data() 1196 *transfer_idp = MS(__le16_to_cpu(desc->flags), in ath10k_ce_extract_desc_data() 1213 *nbytesp = __le16_to_cpu(desc->nbytes); in ath10k_ce_extract_desc_data_64() 1214 *transfer_idp = MS(__le16_to_cpu(desc->flags), in ath10k_ce_extract_desc_data_64()
|
| /Linux-v5.4/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.4/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.4/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.4/drivers/net/wireless/ath/wcn36xx/ |
| D | txrx.c | 49 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb() 50 sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)); in wcn36xx_rx_skb() 282 skb, skb->len, __le16_to_cpu(hdr->frame_control), in wcn36xx_start_tx() 283 IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)), in wcn36xx_start_tx()
|
| /Linux-v5.4/arch/microblaze/include/asm/ |
| D | io.h | 63 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
|
| /Linux-v5.4/drivers/usb/serial/ |
| D | ir-usb.c | 96 dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision)); in irda_usb_dump_class_desc() 100 dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate)); in irda_usb_dump_class_desc()
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | io_no.h | 70 return __le16_to_cpu(__raw_readw(addr)); in readw()
|
| /Linux-v5.4/net/ieee802154/ |
| D | trace.h | 180 __le16_to_cpu(__entry->le16arg)) 195 __le16_to_cpu(__entry->le16arg))
|
| /Linux-v5.4/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.4/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.4/include/linux/byteorder/ |
| D | generic.h | 91 #define le16_to_cpu __le16_to_cpu
|
| /Linux-v5.4/include/asm-generic/ |
| D | io.h | 166 val = __le16_to_cpu(__raw_readw(addr)); in readw() 259 return __le16_to_cpu(__raw_readw(addr)); in readw_relaxed() 479 val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr)); in inw()
|
| /Linux-v5.4/drivers/nvdimm/ |
| D | pfn_devs.c | 476 if (__le16_to_cpu(pfn_sb->version_minor) < 1) { in nd_pfn_validate() 481 if (__le16_to_cpu(pfn_sb->version_minor) < 2) in nd_pfn_validate() 484 if (__le16_to_cpu(pfn_sb->version_minor) < 4) { in nd_pfn_validate()
|
| /Linux-v5.4/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.4/drivers/bluetooth/ |
| D | hci_ath.c | 223 if (__le16_to_cpu(hdr->opcode) == HCI_OP_ATH_SLEEP) in ath_enqueue()
|
| /Linux-v5.4/include/uapi/linux/usb/ |
| D | ch9.h | 642 return __le16_to_cpu(epd->wMaxPacketSize) & USB_ENDPOINT_MAXP_MASK; in usb_endpoint_maxp() 654 int maxp = __le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp_mult()
|