Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dhw.c382 desc->u.ipq8074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_ipq8074_rx_desc_set_msdu_len()
559 desc->u.qcn9074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_qcn9074_rx_desc_set_msdu_len()
730 desc->u.wcn6855.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_wcn6855_rx_desc_set_msdu_len()
1195 .pipenum = __cpu_to_le32(0),
1196 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
1197 .nentries = __cpu_to_le32(32),
1198 .nbytes_max = __cpu_to_le32(2048),
1199 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
1200 .reserved = __cpu_to_le32(0),
1205 .pipenum = __cpu_to_le32(1),
[all …]
/Linux-v6.1/drivers/net/wireless/ath/ath10k/
Dsnoc.c245 .pipenum = __cpu_to_le32(0),
246 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
247 .nentries = __cpu_to_le32(32),
248 .nbytes_max = __cpu_to_le32(2048),
249 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
250 .reserved = __cpu_to_le32(0),
255 .pipenum = __cpu_to_le32(1),
256 .pipedir = __cpu_to_le32(PIPEDIR_IN),
257 .nentries = __cpu_to_le32(32),
258 .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()
3785 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.c713 cfg->bank_base_addrs[0] = __cpu_to_le32(htt->frag_desc.paddr); in ath10k_htt_send_frag_desc_bank_cfg_32()
871 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32()
872 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_32()
1241 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
1242 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
1243 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
1244 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
1379 tx_desc->peerid = __cpu_to_le32(HTT_INVALID_PEERID); in ath10k_htt_tx_hl()
1464 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1473 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
[all …]
Dhtt_rx.c103 htt->rx_ring.paddrs_ring_32[idx] = __cpu_to_le32(paddr); in ath10k_htt_set_paddrs_ring_32()
171 ath10k_htt_rx_desc_get_attention(hw, rx_desc)->flags = __cpu_to_le32(0); in __ath10k_htt_rx_ring_fill_n()
206 *htt->rx_ring.alloc_idx.vaddr = __cpu_to_le32(idx); in __ath10k_htt_rx_ring_fill_n()
1126 __cpu_to_le32(RX_ATTENTION_FLAGS_PEER_IDX_INVALID)) in ath10k_htt_rx_h_peer_channel()
1130 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU))) in ath10k_htt_rx_h_peer_channel()
1285 __cpu_to_le32(RX_ATTENTION_FLAGS_FIRST_MPDU)); in ath10k_htt_rx_h_ppdu()
1287 __cpu_to_le32(RX_ATTENTION_FLAGS_LAST_MPDU)); in ath10k_htt_rx_h_ppdu()
1441 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1443 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1629 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_find_rfc1042()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c820 cmd->type = __cpu_to_le32(type); in __prestera_cmd_ret()
826 if (ret->cmd.type != __cpu_to_le32(PRESTERA_CMD_TYPE_ACK)) in __prestera_cmd_ret()
828 if (ret->status != __cpu_to_le32(PRESTERA_CMD_ACK_OK)) in __prestera_cmd_ret()
1025 .port = __cpu_to_le32(port->id), in prestera_hw_port_info_get()
1045 .attr = __cpu_to_le32(PRESTERA_CMD_SWITCH_ATTR_MAC), in prestera_hw_switch_mac_set()
1093 .attr = __cpu_to_le32(PRESTERA_CMD_SWITCH_ATTR_AGEING), in prestera_hw_switch_ageing_set()
1095 .ageing_timeout_ms = __cpu_to_le32(ageing_ms), in prestera_hw_switch_ageing_set()
1108 .attr = __cpu_to_le32(PRESTERA_CMD_PORT_ATTR_MAC_MODE), in prestera_hw_port_mac_mode_get()
1109 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mac_mode_get()
1110 .dev = __cpu_to_le32(port->dev_id) in prestera_hw_port_mac_mode_get()
[all …]
/Linux-v6.1/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-v6.1/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()
848 __le32 wep_default_key_id = __cpu_to_le32( in cw1200_wep_key_work()
870 val32 = __cpu_to_le32(value); in cw1200_set_rts_threshold()
1738 __cpu_to_le32(1) : 0; in cw1200_set_cts_work()
1829 filter.enable = __cpu_to_le32(1); in cw1200_bss_info_changed()
1952 priv->association_mode.basic_rate_set = __cpu_to_le32( in cw1200_bss_info_changed()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/nvdimm/
Dnd.h77 nd_label->cxl.slot = __cpu_to_le32(slot); in nsl_set_slot()
79 nd_label->efi.slot = __cpu_to_le32(slot); in nsl_set_slot()
112 nd_label->cxl.flags = __cpu_to_le32(flags); in nsl_set_flags()
114 nd_label->efi.flags = __cpu_to_le32(flags); in nsl_set_flags()
/Linux-v6.1/arch/microblaze/include/asm/
Dio.h48 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
/Linux-v6.1/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-v6.1/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-v6.1/include/linux/byteorder/
Dgeneric.h88 #define cpu_to_le32 __cpu_to_le32
/Linux-v6.1/drivers/net/usb/
Dr8153_ecm.c62 tmp = __cpu_to_le32(data); in pla_write_word()

12