Home
last modified time | relevance | path

Searched refs:__le32_to_cpu (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dwmi.c2205 event_type = __le32_to_cpu(arg.event_type); in ath10k_wmi_event_scan()
2206 reason = __le32_to_cpu(arg.reason); in ath10k_wmi_event_scan()
2207 freq = __le32_to_cpu(arg.channel_freq); in ath10k_wmi_event_scan()
2208 req_id = __le32_to_cpu(arg.scan_req_id); in ath10k_wmi_event_scan()
2209 scan_id = __le32_to_cpu(arg.scan_id); in ath10k_wmi_event_scan()
2210 vdev_id = __le32_to_cpu(arg.vdev_id); in ath10k_wmi_event_scan()
2316 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_op_pull_mgmt_rx_ev()
2360 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2456 param.desc_id = __le32_to_cpu(arg.desc_id); in ath10k_wmi_event_mgmt_tx_compl()
2457 param.status = __le32_to_cpu(arg.status); in ath10k_wmi_event_mgmt_tx_compl()
[all …]
Dwmi-tlv.c190 tx_status = __le32_to_cpu(ev->tx_status); in ath10k_wmi_tlv_event_bcn_tx_status()
191 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status()
235 __le32_to_cpu(stat->last_rx_rate_code), in ath10k_wmi_tlv_parse_peer_stats_info()
236 __le32_to_cpu(stat->last_rx_bitrate_kbps)); in ath10k_wmi_tlv_parse_peer_stats_info()
240 __le32_to_cpu(stat->last_tx_rate_code), in ath10k_wmi_tlv_parse_peer_stats_info()
241 __le32_to_cpu(stat->last_tx_bitrate_kbps)); in ath10k_wmi_tlv_parse_peer_stats_info()
250 arsta->rx_rate_code = __le32_to_cpu(stat->last_rx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
251 arsta->rx_bitrate_kbps = __le32_to_cpu(stat->last_rx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
252 arsta->tx_rate_code = __le32_to_cpu(stat->last_tx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
253 arsta->tx_bitrate_kbps = __le32_to_cpu(stat->last_tx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
[all …]
Dbmi.c76 target_info->version = __le32_to_cpu(resp.get_target_info.version); in ath10k_bmi_get_target_info()
77 target_info->type = __le32_to_cpu(resp.get_target_info.type); in ath10k_bmi_get_target_info()
117 if (__le32_to_cpu(tmp) == TARGET_VERSION_SENTINAL) { in ath10k_bmi_get_target_info_sdio()
128 ver_len = __le32_to_cpu(tmp); in ath10k_bmi_get_target_info_sdio()
147 target_info->version = __le32_to_cpu(resp.get_target_info.version); in ath10k_bmi_get_target_info_sdio()
148 target_info->type = __le32_to_cpu(resp.get_target_info.type); in ath10k_bmi_get_target_info_sdio()
250 *reg_val = __le32_to_cpu(resp.read_soc_reg.value); in ath10k_bmi_read_soc_reg()
336 *result = __le32_to_cpu(resp.execute.result); in ath10k_bmi_execute()
Dhtt_rx.c144 idx = __le32_to_cpu(*htt->rx_ring.alloc_idx.vaddr); in __ath10k_htt_rx_ring_fill_n()
379 if (!(__le32_to_cpu(rx_desc->attention.flags) in ath10k_htt_rx_amsdu_pop()
385 msdu_len_invalid = !!(__le32_to_cpu(rx_desc->attention.flags) in ath10k_htt_rx_amsdu_pop()
388 msdu_len = MS(__le32_to_cpu(rx_desc->msdu_start.common.info0), in ath10k_htt_rx_amsdu_pop()
414 last_msdu = __le32_to_cpu(rx_desc->msdu_end.common.info0) & in ath10k_htt_rx_amsdu_pop()
510 paddr = __le32_to_cpu(ind_desc->msdu_paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
525 paddr = __le32_to_cpu(ind_desc->msdu_paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
647 paddr = __le32_to_cpu(msdu_desc->msdu_paddr); in ath10k_htt_rx_pop_paddr32_list()
678 if (!(__le32_to_cpu(rxd->attention.flags) & in ath10k_htt_rx_pop_paddr32_list()
739 if (!(__le32_to_cpu(rxd->attention.flags) & in ath10k_htt_rx_pop_paddr64_list()
[all …]
Dswap.c35 payload_len = __le32_to_cpu(swap_item->tlv.length); in ath10k_swap_code_seg_fill()
51 __le32_to_cpu(swap_item->tail.bmi_write_addr); in ath10k_swap_code_seg_fill()
84 seg_size = __le32_to_cpu(seg_info->seg_hw_info.size); in ath10k_swap_code_seg_free()
Dhw.c1023 if (__le32_to_cpu(hdr->magic_num) != BMI_SGMTFILE_MAGIC_NUM) { in ath10k_hw_diag_fast_download()
1047 base_addr = __le32_to_cpu(metadata->addr); in ath10k_hw_diag_fast_download()
1048 base_len = __le32_to_cpu(metadata->length); in ath10k_hw_diag_fast_download()
1139 return MS(__le32_to_cpu(rxd->msdu_end.qca99x0.info1), in ath10k_qca99x0_rx_desc_get_l3_pad_bytes()
/Linux-v5.10/drivers/soc/qcom/
Dsocinfo.c350 qcom_socinfo->info.fmt = __le32_to_cpu(info->fmt); in socinfo_debugfs_init()
357 qcom_socinfo->info.nmodem_supported = __le32_to_cpu(info->nmodem_supported); in socinfo_debugfs_init()
363 qcom_socinfo->info.num_clusters = __le32_to_cpu(info->num_clusters); in socinfo_debugfs_init()
364 qcom_socinfo->info.ncluster_array_offset = __le32_to_cpu(info->ncluster_array_offset); in socinfo_debugfs_init()
365 qcom_socinfo->info.num_defective_parts = __le32_to_cpu(info->num_defective_parts); in socinfo_debugfs_init()
366 …qcom_socinfo->info.ndefective_parts_array_offset = __le32_to_cpu(info->ndefective_parts_array_offs… in socinfo_debugfs_init()
378 qcom_socinfo->info.nproduct_id = __le32_to_cpu(info->nproduct_id); in socinfo_debugfs_init()
386 __le32_to_cpu(info->chip_family); in socinfo_debugfs_init()
388 __le32_to_cpu(info->raw_device_family); in socinfo_debugfs_init()
390 __le32_to_cpu(info->raw_device_num); in socinfo_debugfs_init()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dspectral.c474 report->timestamp = __le32_to_cpu(summary->timestamp); in ath11k_spectral_pull_summary()
476 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
478 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
480 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
482 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
484 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
486 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
488 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
490 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
492 __le32_to_cpu(summary->info2)); in ath11k_spectral_pull_summary()
[all …]
Dhal_rx.c855 __le32_to_cpu(ppdu_start->info0)); in ath11k_hal_rx_parse_mon_status_tlv()
856 ppdu_info->chan_num = __le32_to_cpu(ppdu_start->chan_num); in ath11k_hal_rx_parse_mon_status_tlv()
857 ppdu_info->ppdu_ts = __le32_to_cpu(ppdu_start->ppdu_start_ts); in ath11k_hal_rx_parse_mon_status_tlv()
864 info0 = __le32_to_cpu(eu_stats->info0); in ath11k_hal_rx_parse_mon_status_tlv()
865 info1 = __le32_to_cpu(eu_stats->info1); in ath11k_hal_rx_parse_mon_status_tlv()
869 __le32_to_cpu(eu_stats->info6))) - 1; in ath11k_hal_rx_parse_mon_status_tlv()
872 __le32_to_cpu(eu_stats->info4)); in ath11k_hal_rx_parse_mon_status_tlv()
875 __le32_to_cpu(eu_stats->info4)); in ath11k_hal_rx_parse_mon_status_tlv()
878 __le32_to_cpu(eu_stats->info5)); in ath11k_hal_rx_parse_mon_status_tlv()
881 __le32_to_cpu(eu_stats->info5)); in ath11k_hal_rx_parse_mon_status_tlv()
[all …]
Dahb.c212 if (__le32_to_cpu(ce_config->pipedir) & PIPEDIR_OUT) in ath11k_ahb_ce_irq_enable()
215 if (__le32_to_cpu(ce_config->pipedir) & PIPEDIR_IN) { in ath11k_ahb_ce_irq_enable()
227 if (__le32_to_cpu(ce_config->pipedir) & PIPEDIR_OUT) in ath11k_ahb_ce_irq_disable()
230 if (__le32_to_cpu(ce_config->pipedir) & PIPEDIR_IN) { in ath11k_ahb_ce_irq_disable()
561 if (__le32_to_cpu(entry->service_id) != service_id) in ath11k_ahb_map_service_to_pipe()
564 switch (__le32_to_cpu(entry->pipedir)) { in ath11k_ahb_map_service_to_pipe()
569 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
574 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
580 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
581 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
Dpci.c832 if (__le32_to_cpu(entry->service_id) != service_id) in ath11k_pci_map_service_to_pipe()
835 switch (__le32_to_cpu(entry->pipedir)) { in ath11k_pci_map_service_to_pipe()
840 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
845 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
851 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
852 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
Ddp_rx.c30 if (!(__le32_to_cpu(desc->mpdu_start.info1) & in ath11k_dp_rx_h_mpdu_start_enctype()
35 __le32_to_cpu(desc->mpdu_start.info2)); in ath11k_dp_rx_h_mpdu_start_enctype()
41 __le32_to_cpu(desc->msdu_start.info2)); in ath11k_dp_rx_h_msdu_start_decap_type()
47 __le32_to_cpu(desc->msdu_start.info2)); in ath11k_dp_rx_h_msdu_start_mesh_ctl_present()
53 __le32_to_cpu(desc->mpdu_start.info1)); in ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid()
59 __le32_to_cpu(desc->mpdu_start.info1)); in ath11k_dp_rx_h_mpdu_start_fc_valid()
81 __le32_to_cpu(desc->mpdu_start.info1)); in ath11k_dp_rx_h_mpdu_start_seq_no()
87 __le32_to_cpu(desc->attention.info2)); in ath11k_dp_rx_h_attn_msdu_done()
93 __le32_to_cpu(desc->attention.info1)); in ath11k_dp_rx_h_attn_l4_cksum_fail()
99 __le32_to_cpu(desc->attention.info1)); in ath11k_dp_rx_h_attn_ip_cksum_fail()
[all …]
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_common.h761 return __le32_to_cpu(rbuf[1]) & QLOGIC_IB_RHF_H_ERR_MASK; in qib_hdrget_err_flags()
766 return (__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_RCVTYPE_SHIFT) & in qib_hdrget_rcv_type()
772 return ((__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_LENGTH_SHIFT) & in qib_hdrget_length_in_bytes()
778 return (__le32_to_cpu(rbuf[0]) >> QLOGIC_IB_RHF_EGRINDEX_SHIFT) & in qib_hdrget_index()
784 return (__le32_to_cpu(rbuf[1]) >> QLOGIC_IB_RHF_SEQ_SHIFT) & in qib_hdrget_seq()
790 return (__le32_to_cpu(rbuf[1]) >> QLOGIC_IB_RHF_HDRQ_OFFSET_SHIFT) & in qib_hdrget_offset()
796 return __le32_to_cpu(rbuf[0]) & QLOGIC_IB_RHF_L_USE_EGR; in qib_hdrget_use_egr_buf()
801 return (__le32_to_cpu(hdrword) >> QLOGIC_IB_I_VERS_SHIFT) & in qib_hdrget_qib_ver()
/Linux-v5.10/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) & \
548 return !!(__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) & \
611 return !!(__le32_to_cpu(su->su_flags) & \
630 return !__le32_to_cpu(su->su_flags); in nilfs_segment_usage_clean()
/Linux-v5.10/drivers/nvdimm/
Dlabel.c160 seq = __le32_to_cpu(nsindex[i]->seq); in __nd_label_validate()
196 nslot = __le32_to_cpu(nsindex[i]->nslot); in __nd_label_validate()
220 seq = best_seq(__le32_to_cpu(nsindex[0]->seq), in __nd_label_validate()
221 __le32_to_cpu(nsindex[1]->seq)); in __nd_label_validate()
222 if (seq == (__le32_to_cpu(nsindex[1]->seq) & NSINDEX_SEQ_MASK)) in __nd_label_validate()
318 *nslot = __le32_to_cpu(nsindex->nslot); in preamble_index()
353 if (slot != __le32_to_cpu(nd_label->slot)) in slot_valid()
398 flags = __le32_to_cpu(nd_label->flags); in nd_label_reserve_dpa()
491 nslot = __le32_to_cpu(nsindex->nslot); in nd_label_data_init()
551 u32 label_slot = __le32_to_cpu(nd_label->slot); in nd_label_active_count()
[all …]
Dpfn_devs.c208 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()
234 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()
235 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()
679 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in __nvdimm_setup_pfn()
680 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn()
/Linux-v5.10/fs/jfs/
Djfs_types.h143 (((u64)((dasdp)->limit_hi) << 32) + __le32_to_cpu((dasdp)->limit_lo))
150 (((u64)((dasdp)->used_hi) << 32) + __le32_to_cpu((dasdp)->used_lo))
Djfs_xtree.h42 ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2))
Djfs_dtree.h120 ( ((s64)((dts)->addr1)) << 32 | __le32_to_cpu((dts)->addr2) )
/Linux-v5.10/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c396 return (__le32_to_cpu((*vh)[0]) >> 30) & 1; in vop_interlaced()
401 return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F; in vop_channel()
406 return (__le32_to_cpu((*vh)[0]) >> 22) & 3; in vop_type()
411 return __le32_to_cpu((*vh)[0]) & 0xFFFFF; in vop_mpeg_size()
416 return (__le32_to_cpu((*vh)[1]) >> 8) & 0xFF; in vop_hsize()
421 return __le32_to_cpu((*vh)[1]) & 0xFF; in vop_vsize()
426 return __le32_to_cpu((*vh)[2]); in vop_mpeg_offset()
431 return __le32_to_cpu((*vh)[3]); in vop_jpeg_offset()
436 return __le32_to_cpu((*vh)[4]) & 0xFFFFF; in vop_jpeg_size()
441 return __le32_to_cpu((*vh)[5]); in vop_sec()
[all …]
/Linux-v5.10/drivers/input/serio/
Dhyperv-keyboard.c106 u32 msg_type = __le32_to_cpu(msg->header.type); in hv_kbd_on_receive()
145 info = __le32_to_cpu(ks_msg->info); in hv_kbd_on_receive()
281 proto_status = __le32_to_cpu(response->proto_status); in hv_kbd_connect_to_vsp()
/Linux-v5.10/arch/microblaze/include/asm/
Dio.h56 #define in_le32(a) __le32_to_cpu(__raw_readl(a))
/Linux-v5.10/net/nfc/nci/
Drsp.c53 ndev->nfcc_features = __le32_to_cpu(rsp_1->nfcc_features); in nci_core_init_rsp_packet()
78 __le32_to_cpu(rsp_2->manufact_specific_info); in nci_core_init_rsp_packet()
/Linux-v5.10/net/mac80211/
Dhe.c114 vif->bss_conf.he_oper.params = __le32_to_cpu(he_op_ie->he_oper_params); in ieee80211_he_op_ie_to_bss_conf()
/Linux-v5.10/include/linux/byteorder/
Dgeneric.h89 #define le32_to_cpu __le32_to_cpu

123