| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | snoc.c | 238 .pipenum = __cpu_to_le32(0), 239 .pipedir = __cpu_to_le32(PIPEDIR_OUT), 240 .nentries = __cpu_to_le32(32), 241 .nbytes_max = __cpu_to_le32(2048), 242 .flags = __cpu_to_le32(CE_ATTR_FLAGS), 243 .reserved = __cpu_to_le32(0), 248 .pipenum = __cpu_to_le32(1), 249 .pipedir = __cpu_to_le32(PIPEDIR_IN), 250 .nentries = __cpu_to_le32(32), 251 .nbytes_max = __cpu_to_le32(2048), [all …]
|
| D | wmi-tlv.c | 1565 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend() 1586 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume() 1610 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1611 cmd->regd_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1612 cmd->regd_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1613 cmd->conform_limit_2ghz = __cpu_to_le32(ctl2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1614 cmd->conform_limit_5ghz = __cpu_to_le32(ctl5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1641 cmd->param_id = __cpu_to_le32(param_id); in ath10k_wmi_tlv_op_gen_pdev_set_param() 1642 cmd->param_value = __cpu_to_le32(param_value); in ath10k_wmi_tlv_op_gen_pdev_set_param() 1665 chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr); in ath10k_wmi_tlv_put_host_mem_chunks() [all …]
|
| D | bmi.c | 42 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done() 69 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info() 108 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info_sdio() 180 cmd.id = __cpu_to_le32(BMI_READ_MEMORY); in ath10k_bmi_read_memory() 181 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory() 182 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory() 216 cmd.id = __cpu_to_le32(BMI_WRITE_SOC_REGISTER); in ath10k_bmi_write_soc_reg() 217 cmd.write_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_write_soc_reg() 218 cmd.write_soc_reg.value = __cpu_to_le32(reg_val); in ath10k_bmi_write_soc_reg() 246 cmd.id = __cpu_to_le32(BMI_READ_SOC_REGISTER); in ath10k_bmi_read_soc_reg() [all …]
|
| D | wmi.c | 1704 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel() 1705 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel() 1707 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq2); in ath10k_wmi_put_wmi_channel() 1718 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel() 1781 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait() 1948 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx() 1951 cmd->hdr.buf_len = __cpu_to_le32(buf_len); in ath10k_wmi_op_gen_mgmt_tx() 3712 arg->tim_info[i].tim_len = __cpu_to_le32(tim_len); in ath10k_wmi_10_4_op_pull_swba_ev() 6332 cmd->reg_domain = __cpu_to_le32(rd); in ath10k_wmi_op_gen_pdev_set_rd() 6333 cmd->reg_domain_2G = __cpu_to_le32(rd2g); in ath10k_wmi_op_gen_pdev_set_rd() [all …]
|
| D | pci.c | 228 .pipenum = __cpu_to_le32(0), 229 .pipedir = __cpu_to_le32(PIPEDIR_OUT), 230 .nentries = __cpu_to_le32(32), 231 .nbytes_max = __cpu_to_le32(256), 232 .flags = __cpu_to_le32(CE_ATTR_FLAGS), 233 .reserved = __cpu_to_le32(0), 238 .pipenum = __cpu_to_le32(1), 239 .pipedir = __cpu_to_le32(PIPEDIR_IN), 240 .nentries = __cpu_to_le32(32), 241 .nbytes_max = __cpu_to_le32(2048), [all …]
|
| D | swap.c | 67 seg_info->seg_hw_info.swap_size = __cpu_to_le32(total_payload_len); in ath10k_swap_code_seg_fill() 112 seg_info->seg_hw_info.bus_addr[0] = __cpu_to_le32(paddr); in ath10k_swap_code_seg_alloc() 113 seg_info->seg_hw_info.size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc() 114 seg_info->seg_hw_info.swap_size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc() 116 __cpu_to_le32(ATH10K_SWAP_CODE_SEG_NUM_SUPPORTED); in ath10k_swap_code_seg_alloc() 117 seg_info->seg_hw_info.size_log2 = __cpu_to_le32(ilog2(swap_bin_len)); in ath10k_swap_code_seg_alloc()
|
| D | htt_tx.c | 665 cfg->bank_base_addrs[0] = __cpu_to_le32(htt->frag_desc.paddr); in ath10k_htt_send_frag_desc_bank_cfg_32() 844 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32() 845 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_32() 1203 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx() 1204 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx() 1205 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx() 1206 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx() 1335 tx_desc->peerid = __cpu_to_le32(HTT_INVALID_PEERID); in ath10k_htt_tx_hl() 1417 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32() 1426 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32() [all …]
|
| D | htt_rx.c | 100 htt->rx_ring.paddrs_ring_32[idx] = __cpu_to_le32(paddr); in ath10k_htt_set_paddrs_ring_32() 159 rx_desc->attention.flags = __cpu_to_le32(0); in __ath10k_htt_rx_ring_fill_n() 194 *htt->rx_ring.alloc_idx.vaddr = __cpu_to_le32(idx); in __ath10k_htt_rx_ring_fill_n() 1059 __cpu_to_le32(RX_ATTENTION_FLAGS_PEER_IDX_INVALID)) in ath10k_htt_rx_h_peer_channel() 1063 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU))) in ath10k_htt_rx_h_peer_channel() 1206 __cpu_to_le32(RX_ATTENTION_FLAGS_FIRST_MPDU)); in ath10k_htt_rx_h_ppdu() 1208 __cpu_to_le32(RX_ATTENTION_FLAGS_LAST_MPDU)); in ath10k_htt_rx_h_ppdu() 1350 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_undecap_raw() 1352 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_undecap_raw() 1529 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_find_rfc1042() [all …]
|
| D | bmi.h | 250 __le32 v = __cpu_to_le32(val); \
|
| /Linux-v5.4/include/uapi/linux/ |
| D | nilfs2_ondisk.h | 536 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) | \ 542 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) & \ 598 su->su_flags = __cpu_to_le32(__le32_to_cpu(su->su_flags) | \ 605 __cpu_to_le32(__le32_to_cpu(su->su_flags) & \ 623 su->su_nblocks = __cpu_to_le32(0); in NILFS_SEGMENT_USAGE_FNS() 624 su->su_flags = __cpu_to_le32(0); in NILFS_SEGMENT_USAGE_FNS()
|
| /Linux-v5.4/drivers/net/wireless/st/cw1200/ |
| D | wsm.h | 1289 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power() 1376 val |= __cpu_to_le32(BIT(0)); in wsm_set_rx_filter() 1378 val |= __cpu_to_le32(BIT(1)); in wsm_set_rx_filter() 1380 val |= __cpu_to_le32(BIT(2)); in wsm_set_rx_filter() 1382 val |= __cpu_to_le32(BIT(3)); in wsm_set_rx_filter() 1429 val.enabled = __cpu_to_le32(arg->enabled); in wsm_beacon_filter_control() 1430 val.bcn_count = __cpu_to_le32(arg->bcn_count); in wsm_beacon_filter_control() 1491 val |= __cpu_to_le32(BIT(0)); in wsm_set_protected_mgmt_policy() 1493 val |= __cpu_to_le32(BIT(1)); in wsm_set_protected_mgmt_policy() 1495 val |= __cpu_to_le32(BIT(2)); in wsm_set_protected_mgmt_policy() [all …]
|
| D | sta.c | 473 bf_tbl.num = __cpu_to_le32(0); in cw1200_update_filtering() 478 bf_tbl.num = __cpu_to_le32(2); in cw1200_update_filtering() 482 bf_tbl.num = __cpu_to_le32(3); in cw1200_update_filtering() 564 priv->multicast_filter.enable = __cpu_to_le32(1); in cw1200_prepare_multicast() 565 priv->multicast_filter.num_addrs = __cpu_to_le32(count); in cw1200_prepare_multicast() 847 __le32 wep_default_key_id = __cpu_to_le32( in cw1200_wep_key_work() 869 val32 = __cpu_to_le32(value); in cw1200_set_rts_threshold() 1737 __cpu_to_le32(1) : 0; in cw1200_set_cts_work() 1828 filter.enable = __cpu_to_le32(1); in cw1200_bss_info_changed() 1951 priv->association_mode.basic_rate_set = __cpu_to_le32( in cw1200_bss_info_changed() [all …]
|
| /Linux-v5.4/drivers/crypto/ |
| D | hifn_795x.c | 886 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma() 889 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma() 893 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma() 895 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma() 897 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma() 899 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma() 1208 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc() 1212 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc() 1217 dma->cmdr[dma->cmdi - 1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc() 1241 dma->srcr[idx].p = __cpu_to_le32(addr); in hifn_setup_src_desc() [all …]
|
| /Linux-v5.4/fs/jfs/ |
| D | jfs_types.h | 147 (dasdp)->limit_lo = __cpu_to_le32(limit);\ 154 (dasdp)->used_lo = __cpu_to_le32(used);\
|
| D | jfs_xtree.h | 35 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\
|
| D | jfs_dtree.h | 116 (dir_table_slot)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\
|
| /Linux-v5.4/drivers/usb/serial/ |
| D | garmin_gps.c | 420 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet() 421 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet() 422 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet() 807 pkt[0] = __cpu_to_le32(GARMIN_LAYERID_PRIVATE); in priv_status_resp() 808 pkt[1] = __cpu_to_le32(PRIV_PKTID_INFO_RESP); in priv_status_resp() 809 pkt[2] = __cpu_to_le32(12); in priv_status_resp() 810 pkt[3] = __cpu_to_le32(VERSION_MAJOR << 16 | VERSION_MINOR); in priv_status_resp() 811 pkt[4] = __cpu_to_le32(garmin_data_p->mode); in priv_status_resp() 812 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
|
| /Linux-v5.4/arch/microblaze/include/asm/ |
| D | io.h | 59 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
|
| /Linux-v5.4/drivers/input/serio/ |
| D | hyperv-keyboard.c | 264 request->header.type = __cpu_to_le32(SYNTH_KBD_PROTOCOL_REQUEST); in hv_kbd_connect_to_vsp() 265 request->version_requested.version = __cpu_to_le32(SYNTH_KBD_VERSION); in hv_kbd_connect_to_vsp()
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | io_no.h | 96 __raw_writel(__cpu_to_le32(value), addr); in writel()
|
| /Linux-v5.4/drivers/nvdimm/ |
| D | label.c | 656 nsindex->seq = __cpu_to_le32(seq); in nd_label_write_index() 668 nsindex->nslot = __cpu_to_le32(nslot); in nd_label_write_index() 802 nd_label->flags = __cpu_to_le32(flags); in __pmem_label_update() 809 nd_label->slot = __cpu_to_le32(slot); in __pmem_label_update() 1012 nd_label->flags = __cpu_to_le32(NSLABEL_FLAG_LOCAL); in __blk_label_update() 1037 nd_label->slot = __cpu_to_le32(slot); in __blk_label_update()
|
| /Linux-v5.4/drivers/staging/gdm724x/ |
| D | gdm_mux.c | 372 mux_header->start_flag = __cpu_to_le32(START_FLAG); in gdm_mux_send() 373 mux_header->seq_num = __cpu_to_le32(seq_num++); in gdm_mux_send() 374 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
|
| /Linux-v5.4/include/linux/byteorder/ |
| D | generic.h | 88 #define cpu_to_le32 __cpu_to_le32
|
| /Linux-v5.4/include/uapi/linux/byteorder/ |
| D | big_endian.h | 33 #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) macro
|
| D | little_endian.h | 33 #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) macro
|