| /Linux-v6.6/fs/jfs/ |
| D | jfs_unicode.h | 57 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 61 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 90 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_from_le()
|
| /Linux-v6.6/net/bluetooth/ |
| D | hci_event.c | 183 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 205 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 207 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() 232 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy() 251 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy() 568 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting() 710 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version() 712 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version() 713 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version() 790 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() 2398 __le16_to_cpu(chan->psm), len); in l2cap_create_connless_pdu() 4138 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect() 4141 BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid); in l2cap_connect() 4304 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_create_rsp() 4305 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_create_rsp() 4306 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp() 4307 status = __le16_to_cpu(rsp->status); in l2cap_connect_create_rsp() 4432 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req() 4433 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 | 121 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind() 136 err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid)); in l2cap_sock_bind() 145 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP) in l2cap_sock_bind() 149 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP || in l2cap_sock_bind() 150 __le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM) in l2cap_sock_bind() 256 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
|
| /Linux-v6.6/fs/nls/ |
| D | nls_ucs2_utils.h | 176 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 180 return (int)*ucs1 - (int)__le16_to_cpu(*ucs2); in UniStrncmp_le() 207 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
|
| /Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/net/usb/ |
| D | r8152.c | 1995 if (INTR_LINK & __le16_to_cpu(d[0])) { in intr_callback() 4233 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok() 4246 if (__le16_to_cpu(phy->fw_reg) != 0x9A00) { in rtl8152_is_fw_phy_speed_up_ok() 4276 if (__le16_to_cpu(ver->ver.addr) != SRAM_GPHY_FW_VER) { in rtl8152_is_fw_phy_ver_ok() 4306 if (__le16_to_cpu(fix->setting.addr) != OCP_PHY_PATCH_CMD || in rtl8152_is_fw_phy_fixup_ok() 4307 __le16_to_cpu(fix->setting.data) != BIT(7)) { in rtl8152_is_fw_phy_fixup_ok() 4334 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok() 4382 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4394 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4400 if (__le16_to_cpu(phy->fw_reg) != fw_reg) { in rtl8152_is_fw_phy_nc_ok() [all …]
|
| /Linux-v6.6/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()
|
| /Linux-v6.6/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-v6.6/arch/microblaze/include/asm/ |
| D | io.h | 52 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
|
| /Linux-v6.6/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-v6.6/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-v6.6/net/ieee802154/ |
| D | trace.h | 180 __le16_to_cpu(__entry->le16arg)) 195 __le16_to_cpu(__entry->le16arg))
|
| /Linux-v6.6/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-v6.6/sound/usb/ |
| D | midi2.c | 537 size = __le16_to_cpu(header.wTotalLength); in get_group_terminal_block_descs() 838 __le16_to_cpu(desc->wMaxInputBandwidth), in create_gtb_block() 839 __le16_to_cpu(desc->wMaxOutputBandwidth)); in create_gtb_block() 871 if (__le16_to_cpu(desc->wMaxInputBandwidth) == 1 || in create_gtb_block() 872 __le16_to_cpu(desc->wMaxOutputBandwidth) == 1) in create_gtb_block()
|
| /Linux-v6.6/include/linux/byteorder/ |
| D | generic.h | 91 #define le16_to_cpu __le16_to_cpu
|
| /Linux-v6.6/drivers/net/wireless/ath/ath11k/ |
| D | hw.c | 354 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.sw_peer_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id() 376 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.phy_ppdu_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id() 414 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_first_msdu() 420 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_last_msdu() 426 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes() 531 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.sw_peer_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id() 553 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.phy_ppdu_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id() 702 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.sw_peer_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id() 724 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.phy_ppdu_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id()
|
| /Linux-v6.6/drivers/bluetooth/ |
| D | btnxpuart.c | 730 len = __le16_to_cpu(req->len ^ req->len_comp); in nxp_recv_fw_req_v1() 738 len = __le16_to_cpu(req->len); in nxp_recv_fw_req_v1() 902 len = __le16_to_cpu(req->len); in nxp_recv_fw_req_v3() 1112 switch (__le16_to_cpu(hdr->opcode)) { in nxp_enqueue() 1120 psdata->c2h_ps_interval = __le16_to_cpu(ps_parm.c2h_ps_interval); in nxp_enqueue()
|
| /Linux-v6.6/drivers/net/wireless/realtek/rtw88/ |
| D | tx.h | 127 le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum), in fill_txdesc_checksum_common()
|
| /Linux-v6.6/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
|