Home
last modified time | relevance | path

Searched refs:__cpu_to_le32 (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v5.15/drivers/net/wireless/ath/ath11k/
Dhw.c372 desc->u.ipq8074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_ipq8074_rx_desc_set_msdu_len()
532 desc->u.qcn9074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_qcn9074_rx_desc_set_msdu_len()
692 desc->u.wcn6855.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_wcn6855_rx_desc_set_msdu_len()
1056 .pipenum = __cpu_to_le32(0),
1057 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
1058 .nentries = __cpu_to_le32(32),
1059 .nbytes_max = __cpu_to_le32(2048),
1060 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
1061 .reserved = __cpu_to_le32(0),
1066 .pipenum = __cpu_to_le32(1),
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dsnoc.c244 .pipenum = __cpu_to_le32(0),
245 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
246 .nentries = __cpu_to_le32(32),
247 .nbytes_max = __cpu_to_le32(2048),
248 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
249 .reserved = __cpu_to_le32(0),
254 .pipenum = __cpu_to_le32(1),
255 .pipedir = __cpu_to_le32(PIPEDIR_IN),
256 .nentries = __cpu_to_le32(32),
257 .nbytes_max = __cpu_to_le32(2048),
[all …]
Dwmi-tlv.c1717 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1738 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume()
1762 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1763 cmd->regd_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1764 cmd->regd_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1765 cmd->conform_limit_2ghz = __cpu_to_le32(ctl2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1766 cmd->conform_limit_5ghz = __cpu_to_le32(ctl5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1793 cmd->param_id = __cpu_to_le32(param_id); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1794 cmd->param_value = __cpu_to_le32(param_value); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1818 chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr); in ath10k_wmi_tlv_put_host_mem_chunks()
[all …]
Dbmi.c35 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done()
62 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info()
101 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info_sdio()
173 cmd.id = __cpu_to_le32(BMI_READ_MEMORY); in ath10k_bmi_read_memory()
174 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory()
175 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
210 cmd.id = __cpu_to_le32(BMI_WRITE_SOC_REGISTER); in ath10k_bmi_write_soc_reg()
211 cmd.write_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_write_soc_reg()
212 cmd.write_soc_reg.value = __cpu_to_le32(reg_val); in ath10k_bmi_write_soc_reg()
240 cmd.id = __cpu_to_le32(BMI_READ_SOC_REGISTER); in ath10k_bmi_read_soc_reg()
[all …]
Dwmi.c1720 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
1721 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1723 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq2); in ath10k_wmi_put_wmi_channel()
1741 __cpu_to_le32(band_center_freq1); in ath10k_wmi_put_wmi_channel()
1746 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1760 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel()
1823 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait()
2003 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
2006 cmd->hdr.buf_len = __cpu_to_le32(buf_len); in ath10k_wmi_op_gen_mgmt_tx()
3781 arg->tim_info[i].tim_len = __cpu_to_le32(tim_len); in ath10k_wmi_10_4_op_pull_swba_ev()
[all …]
Dpci.c228 .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 …]
Dswap.c67 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()
Dhtt_tx.c710 cfg->bank_base_addrs[0] = __cpu_to_le32(htt->frag_desc.paddr); in ath10k_htt_send_frag_desc_bank_cfg_32()
889 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32()
890 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_32()
1258 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
1259 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
1260 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
1261 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
1393 tx_desc->peerid = __cpu_to_le32(HTT_INVALID_PEERID); in ath10k_htt_tx_hl()
1475 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1484 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
[all …]
Dhtt_rx.c100 htt->rx_ring.paddrs_ring_32[idx] = __cpu_to_le32(paddr); in ath10k_htt_set_paddrs_ring_32()
167 rx_desc->attention.flags = __cpu_to_le32(0); in __ath10k_htt_rx_ring_fill_n()
202 *htt->rx_ring.alloc_idx.vaddr = __cpu_to_le32(idx); in __ath10k_htt_rx_ring_fill_n()
1073 __cpu_to_le32(RX_ATTENTION_FLAGS_PEER_IDX_INVALID)) in ath10k_htt_rx_h_peer_channel()
1077 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU))) in ath10k_htt_rx_h_peer_channel()
1220 __cpu_to_le32(RX_ATTENTION_FLAGS_FIRST_MPDU)); in ath10k_htt_rx_h_ppdu()
1222 __cpu_to_le32(RX_ATTENTION_FLAGS_LAST_MPDU)); in ath10k_htt_rx_h_ppdu()
1371 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1373 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1550 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_find_rfc1042()
[all …]
Dbmi.h259 __le32 v = __cpu_to_le32(val); \
/Linux-v5.15/include/uapi/linux/
Dnilfs2_ondisk.h536 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.15/drivers/net/wireless/st/cw1200/
Dwsm.h1277 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power()
1364 val |= __cpu_to_le32(BIT(0)); in wsm_set_rx_filter()
1366 val |= __cpu_to_le32(BIT(1)); in wsm_set_rx_filter()
1368 val |= __cpu_to_le32(BIT(2)); in wsm_set_rx_filter()
1370 val |= __cpu_to_le32(BIT(3)); in wsm_set_rx_filter()
1417 val.enabled = __cpu_to_le32(arg->enabled); in wsm_beacon_filter_control()
1418 val.bcn_count = __cpu_to_le32(arg->bcn_count); in wsm_beacon_filter_control()
1479 val |= __cpu_to_le32(BIT(0)); in wsm_set_protected_mgmt_policy()
1481 val |= __cpu_to_le32(BIT(1)); in wsm_set_protected_mgmt_policy()
1483 val |= __cpu_to_le32(BIT(2)); in wsm_set_protected_mgmt_policy()
[all …]
Dsta.c473 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.15/drivers/crypto/
Dhifn_795x.c887 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
890 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
894 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
896 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
898 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
900 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
1209 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
1213 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc()
1218 dma->cmdr[dma->cmdi - 1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc()
1243 dma->srcr[idx].p = __cpu_to_le32(addr); in hifn_setup_src_desc()
[all …]
/Linux-v5.15/fs/jfs/
Djfs_types.h147 (dasdp)->limit_lo = __cpu_to_le32(limit);\
154 (dasdp)->used_lo = __cpu_to_le32(used);\
Djfs_xtree.h35 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\
Djfs_dtree.h116 (dir_table_slot)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\
/Linux-v5.15/drivers/usb/serial/
Dgarmin_gps.c423 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
424 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
425 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()
810 pkt[0] = __cpu_to_le32(GARMIN_LAYERID_PRIVATE); in priv_status_resp()
811 pkt[1] = __cpu_to_le32(PRIV_PKTID_INFO_RESP); in priv_status_resp()
812 pkt[2] = __cpu_to_le32(12); in priv_status_resp()
813 pkt[3] = __cpu_to_le32(VERSION_MAJOR << 16 | VERSION_MINOR); in priv_status_resp()
814 pkt[4] = __cpu_to_le32(garmin_data_p->mode); in priv_status_resp()
815 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
/Linux-v5.15/include/linux/ceph/
Ddecode.h222 #define CEPH_ENTITY_ADDR_TYPE_LEGACY __cpu_to_le32(1)
223 #define CEPH_ENTITY_ADDR_TYPE_MSGR2 __cpu_to_le32(2)
224 #define CEPH_ENTITY_ADDR_TYPE_ANY __cpu_to_le32(3)
/Linux-v5.15/arch/microblaze/include/asm/
Dio.h50 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
/Linux-v5.15/drivers/input/serio/
Dhyperv-keyboard.c266 request->header.type = __cpu_to_le32(SYNTH_KBD_PROTOCOL_REQUEST); in hv_kbd_connect_to_vsp()
267 request->version_requested.version = __cpu_to_le32(SYNTH_KBD_VERSION); in hv_kbd_connect_to_vsp()
/Linux-v5.15/drivers/staging/gdm724x/
Dgdm_mux.c372 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.15/include/linux/byteorder/
Dgeneric.h88 #define cpu_to_le32 __cpu_to_le32
/Linux-v5.15/drivers/net/usb/
Dr8153_ecm.c62 tmp = __cpu_to_le32(data); in pla_write_word()
/Linux-v5.15/include/uapi/linux/byteorder/
Dlittle_endian.h33 #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) macro

12