/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 1714 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SUSPEND_CMD); in ath10k_wmi_tlv_op_gen_pdev_suspend() 1715 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_suspend() 1735 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_RESUME_CMD); in ath10k_wmi_tlv_op_gen_pdev_resume() 1736 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_resume() 1759 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_REGDOMAIN_CMD); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1760 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1790 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_PARAM_CMD); in ath10k_wmi_tlv_op_gen_pdev_set_param() 1791 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_set_param() 1810 tlv_tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_WLAN_HOST_MEMORY_CHUNK); in ath10k_wmi_tlv_put_host_mem_chunks() 1811 tlv_len = __cpu_to_le16(sizeof(*chunk)); in ath10k_wmi_tlv_put_host_mem_chunks() [all …]
|
D | htt.c | 170 off->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_rx_desc_wcn3990_get_offsets() 171 off->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_rx_desc_wcn3990_get_offsets() 172 off->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_rx_desc_wcn3990_get_offsets() 173 off->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_rx_desc_wcn3990_get_offsets() 174 off->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_rx_desc_wcn3990_get_offsets() 175 off->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_rx_desc_wcn3990_get_offsets() 176 off->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_rx_desc_wcn3990_get_offsets() 177 off->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_rx_desc_wcn3990_get_offsets() 178 off->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_rx_desc_wcn3990_get_offsets() 179 off->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_rx_desc_wcn3990_get_offsets()
|
D | htt_tx.c | 715 cfg->bank_id[0].bank_max_id = __cpu_to_le16(htt->max_num_pending_tx - in ath10k_htt_send_frag_desc_bank_cfg_32() 777 cfg->bank_id[0].bank_max_id = __cpu_to_le16(htt->max_num_pending_tx - in ath10k_htt_send_frag_desc_bank_cfg_64() 873 ring->rx_ring_len = __cpu_to_le16(htt->rx_ring.size); in ath10k_htt_send_rx_ring_cfg_32() 874 ring->rx_ring_bufsize = __cpu_to_le16(HTT_RX_BUF_SIZE); in ath10k_htt_send_rx_ring_cfg_32() 875 ring->flags = __cpu_to_le16(flags); in ath10k_htt_send_rx_ring_cfg_32() 876 ring->fw_idx_init_val = __cpu_to_le16(fw_idx); in ath10k_htt_send_rx_ring_cfg_32() 943 ring->rx_ring_len = __cpu_to_le16(htt->rx_ring.size); in ath10k_htt_send_rx_ring_cfg_64() 944 ring->rx_ring_bufsize = __cpu_to_le16(HTT_RX_BUF_SIZE); in ath10k_htt_send_rx_ring_cfg_64() 945 ring->flags = __cpu_to_le16(flags); in ath10k_htt_send_rx_ring_cfg_64() 946 ring->fw_idx_init_val = __cpu_to_le16(fw_idx); in ath10k_htt_send_rx_ring_cfg_64() [all …]
|
D | snoc.c | 75 .ce_id = __cpu_to_le16(0), 76 .reg_offset = __cpu_to_le16(WCN3990_SRC_WR_IDX_OFFSET), 80 .ce_id = __cpu_to_le16(3), 81 .reg_offset = __cpu_to_le16(WCN3990_SRC_WR_IDX_OFFSET), 85 .ce_id = __cpu_to_le16(4), 86 .reg_offset = __cpu_to_le16(WCN3990_SRC_WR_IDX_OFFSET), 90 .ce_id = __cpu_to_le16(5), 91 .reg_offset = __cpu_to_le16(WCN3990_SRC_WR_IDX_OFFSET), 95 .ce_id = __cpu_to_le16(7), 96 .reg_offset = __cpu_to_le16(WCN3990_SRC_WR_IDX_OFFSET), [all …]
|
D | htt.h | 2217 off->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_rx_desc_get_offsets() 2218 off->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_rx_desc_get_offsets() 2219 off->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_rx_desc_get_offsets() 2220 off->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_rx_desc_get_offsets() 2221 off->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_rx_desc_get_offsets() 2222 off->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_rx_desc_get_offsets() 2223 off->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_htt_rx_desc_get_offsets() 2224 off->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_rx_desc_get_offsets() 2225 off->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_htt_rx_desc_get_offsets() 2226 off->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_rx_desc_get_offsets()
|
D | htc.c | 95 hdr->len = __cpu_to_le16(skb->len - sizeof(*hdr)); in ath10k_htc_prepare_tx_skb() 785 hdr->pad_len = __cpu_to_le16(credit_pad); in ath10k_htc_send_bundle_skbs() 1058 __cpu_to_le16(ATH10K_HTC_MSG_CONNECT_SERVICE_ID); in ath10k_htc_connect_service() 1069 req_msg->flags = __cpu_to_le16(flags); in ath10k_htc_connect_service() 1070 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service() 1259 __cpu_to_le16(ATH10K_HTC_MSG_SETUP_COMPLETE_EX_ID); in ath10k_htc_start()
|
D | p2p.c | 51 *noa_attr_len = __cpu_to_le16(attr_len); in ath10k_p2p_noa_ie_fill()
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | hwmon.c | 579 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_temperature() 580 pkt.type = __cpu_to_le16(attr); in hl_get_temperature() 610 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_set_temperature() 611 pkt.type = __cpu_to_le16(attr); in hl_set_temperature() 636 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_voltage() 637 pkt.type = __cpu_to_le16(attr); in hl_get_voltage() 665 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_current() 666 pkt.type = __cpu_to_le16(attr); in hl_get_current() 694 pkt.sensor_index = __cpu_to_le16(sensor_index); in hl_get_fan_speed() 695 pkt.type = __cpu_to_le16(attr); in hl_get_fan_speed() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 1436 .type = __cpu_to_le16(iface->type), in prestera_hw_vtcam_iface_bind() 1437 .pcl_id = __cpu_to_le16(pcl_id) in prestera_hw_vtcam_iface_bind() 1457 .type = __cpu_to_le16(iface->type) in prestera_hw_vtcam_iface_unbind() 1729 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_create() 1739 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_delete() 1752 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_port_set() 1766 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_port_vid_set() 1778 .vid = __cpu_to_le16(vid), in prestera_hw_vlan_port_stp_set() 1794 .vid = __cpu_to_le16(vid), in prestera_hw_fdb_add() 1812 .vid = __cpu_to_le16(vid), in prestera_hw_fdb_del() [all …]
|
/linux-6.1.9/drivers/net/wireless/st/cw1200/ |
D | pm.c | 37 .port = __cpu_to_le16(67), /* DHCP Bootps */ 42 .port = __cpu_to_le16(68), /* DHCP Bootpc */ 60 .type = __cpu_to_le16(ETH_P_IP), 64 .type = __cpu_to_le16(ETH_P_PAE), 68 .type = __cpu_to_le16(ETH_P_WAPI), 72 .type = __cpu_to_le16(ETH_P_ARP),
|
D | bh.c | 383 wsm->id &= __cpu_to_le16(0xffff ^ WSM_TX_SEQ(WSM_TX_SEQ_MAX)); in cw1200_bh_tx_helper() 384 wsm->id |= __cpu_to_le16(WSM_TX_SEQ(priv->wsm_tx_seq)); in cw1200_bh_tx_helper()
|
D | main.c | 172 .rx_highest = __cpu_to_le16(0x41), 192 .rx_highest = __cpu_to_le16(0x41),
|
D | wsm.h | 1291 dtim_interval, 0, __cpu_to_le16(listen_interval) in wsm_set_beacon_wakeup_period() 1460 ((__le16 *)p)[1] = __cpu_to_le16(arg->skb->len - 4); in wsm_set_template_frame() 1672 .period = __cpu_to_le16(period), in wsm_keep_alive_period()
|
/linux-6.1.9/drivers/media/usb/go7007/ |
D | go7007-fw.c | 390 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mjpeghdr_to_package() 399 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mjpeghdr_to_package() 400 code[off + 31] = __cpu_to_le16(addr++); in gen_mjpeghdr_to_package() 403 code[off] = __cpu_to_le16(0x1000 | 28); in gen_mjpeghdr_to_package() 679 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mpeg1hdr_to_package() 688 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mpeg1hdr_to_package() 689 code[off + 31] = __cpu_to_le16(addr); in gen_mpeg1hdr_to_package() 695 code[off] = __cpu_to_le16(0x1000 | 28); in gen_mpeg1hdr_to_package() 847 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mpeg4hdr_to_package() 856 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mpeg4hdr_to_package() [all …]
|
/linux-6.1.9/drivers/nvdimm/ |
D | nd.h | 196 nd_label->cxl.position = __cpu_to_le16(position); in nsl_set_position() 198 nd_label->efi.position = __cpu_to_le16(position); in nsl_set_position() 214 nd_label->efi.nlabel = __cpu_to_le16(nlabel); in nsl_set_nlabel() 230 nd_label->cxl.nrange = __cpu_to_le16(nrange); in nsl_set_nrange() 250 nd_label->cxl.lbasize = __cpu_to_le16(lbasize); in nsl_set_lbasize()
|
D | label.c | 690 nsindex->major = __cpu_to_le16(1); in nd_label_write_index() 692 nsindex->minor = __cpu_to_le16(1); in nd_label_write_index() 694 nsindex->minor = __cpu_to_le16(2); in nd_label_write_index()
|
/linux-6.1.9/include/linux/ |
D | ata.h | 1105 id[ATA_ID_MAX_MULTSECT] = __cpu_to_le16(id[ATA_ID_MAX_MULTSECT]); in ata_id_to_hd_driveid() 1106 id[ATA_ID_CAPABILITY] = __cpu_to_le16(id[ATA_ID_CAPABILITY]); in ata_id_to_hd_driveid() 1107 id[ATA_ID_OLD_PIO_MODES] = __cpu_to_le16(id[ATA_ID_OLD_PIO_MODES]); in ata_id_to_hd_driveid() 1108 id[ATA_ID_OLD_DMA_MODES] = __cpu_to_le16(id[ATA_ID_OLD_DMA_MODES]); in ata_id_to_hd_driveid() 1109 id[ATA_ID_MULTSECT] = __cpu_to_le16(id[ATA_ID_MULTSECT]); in ata_id_to_hd_driveid()
|
/linux-6.1.9/net/bluetooth/ |
D | hci_conn.c | 400 cp.tx_codec_frame_size = __cpu_to_le16(60); in hci_enhanced_setup_sync() 401 cp.rx_codec_frame_size = __cpu_to_le16(60); in hci_enhanced_setup_sync() 406 cp.in_coded_data_size = __cpu_to_le16(16); in hci_enhanced_setup_sync() 407 cp.out_coded_data_size = __cpu_to_le16(16); in hci_enhanced_setup_sync() 425 cp.tx_codec_frame_size = __cpu_to_le16(60); in hci_enhanced_setup_sync() 426 cp.rx_codec_frame_size = __cpu_to_le16(60); in hci_enhanced_setup_sync() 431 cp.in_coded_data_size = __cpu_to_le16(16); in hci_enhanced_setup_sync() 432 cp.out_coded_data_size = __cpu_to_le16(16); in hci_enhanced_setup_sync() 456 cp.tx_codec_frame_size = __cpu_to_le16(60); in hci_enhanced_setup_sync() 457 cp.rx_codec_frame_size = __cpu_to_le16(60); in hci_enhanced_setup_sync() [all …]
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | io.h | 49 #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a))
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 238 txb->frag_size = __cpu_to_le16(txb_size); in ieee80211_alloc_txb() 690 txb->payload_size = __cpu_to_le16(bytes); in ieee80211_xmit() 791 txb->payload_size = __cpu_to_le16(skb->len); in ieee80211_xmit()
|
/linux-6.1.9/include/linux/byteorder/ |
D | generic.h | 90 #define cpu_to_le16 __cpu_to_le16
|
/linux-6.1.9/include/uapi/linux/byteorder/ |
D | big_endian.h | 36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x))) macro
|
D | little_endian.h | 36 #define __cpu_to_le16(x) ((__force __le16)(__u16)(x)) macro
|
/linux-6.1.9/drivers/usb/c67x00/ |
D | c67x00-sched.c | 614 td->ly_base_addr = __cpu_to_le16(c67x00->next_buf_addr); in c67x00_create_td() 615 td->port_length = __cpu_to_le16((c67x00->sie->sie_num << 15) | in c67x00_create_td() 624 td->next_td_addr = __cpu_to_le16(c67x00->next_td_addr); in c67x00_create_td()
|
/linux-6.1.9/fs/nls/ |
D | nls_base.c | 124 *s = __cpu_to_le16(c); in put_utf16()
|