Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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()
252 arsta->rx_rate_code = __le32_to_cpu(stat->last_rx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
253 arsta->rx_bitrate_kbps = __le32_to_cpu(stat->last_rx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
254 arsta->tx_rate_code = __le32_to_cpu(stat->last_tx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
255 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.c148 idx = __le32_to_cpu(*htt->rx_ring.alloc_idx.vaddr); in __ath10k_htt_rx_ring_fill_n()
397 if (!(__le32_to_cpu(rx_desc_attention->flags) in ath10k_htt_rx_amsdu_pop()
403 msdu_len_invalid = !!(__le32_to_cpu(rx_desc_attention->flags) in ath10k_htt_rx_amsdu_pop()
406 msdu_len = MS(__le32_to_cpu(rx_desc_msdu_start_common->info0), in ath10k_htt_rx_amsdu_pop()
432 last_msdu = __le32_to_cpu(rx_desc_msdu_end_common->info0) & in ath10k_htt_rx_amsdu_pop()
530 paddr = __le32_to_cpu(ind_desc->msdu_paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
545 paddr = __le32_to_cpu(ind_desc->msdu_paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
670 paddr = __le32_to_cpu(msdu_desc->msdu_paddr); in ath10k_htt_rx_pop_paddr32_list()
702 if (!(__le32_to_cpu(rxd_attention->flags) & in ath10k_htt_rx_pop_paddr32_list()
766 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()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dhw.c233 __le32_to_cpu(desc->u.ipq8074.msdu_end.info2)); in ath11k_hw_ipq8074_rx_desc_get_first_msdu()
239 __le32_to_cpu(desc->u.ipq8074.msdu_end.info2)); in ath11k_hw_ipq8074_rx_desc_get_last_msdu()
245 __le32_to_cpu(desc->u.ipq8074.msdu_end.info2)); in ath11k_hw_ipq8074_rx_desc_get_l3_pad_bytes()
255 return __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1) & in ath11k_hw_ipq8074_rx_desc_encrypt_valid()
262 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_encrypt_type()
268 __le32_to_cpu(desc->u.ipq8074.msdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_decap_type()
274 __le32_to_cpu(desc->u.ipq8074.msdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_mesh_ctl()
280 __le32_to_cpu(desc->u.ipq8074.msdu_start.info2)); in ath11k_hw_ipq8074_rx_desc_get_ldpc_support()
286 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_seq_ctl_vld()
292 __le32_to_cpu(desc->u.ipq8074.mpdu_start.info1)); in ath11k_hw_ipq8074_rx_desc_get_mpdu_fc_valid()
[all …]
Dspectral.c478 report->timestamp = __le32_to_cpu(summary->timestamp); 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->info0)); in ath11k_spectral_pull_summary()
494 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
496 __le32_to_cpu(summary->info2)); in ath11k_spectral_pull_summary()
[all …]
Dhal_rx.c815 rx_user_status->ul_ofdma_user_v0_word0 = __le32_to_cpu(ppdu_end_user->info6); in ath11k_hal_rx_handle_ofdma_info()
817 rx_user_status->ul_ofdma_user_v0_word1 = __le32_to_cpu(ppdu_end_user->rsvd2[10]); in ath11k_hal_rx_handle_ofdma_info()
829 __le32_to_cpu(ppdu_end_user->rsvd2[6])); in ath11k_hal_rx_populate_byte_count()
832 __le32_to_cpu(ppdu_end_user->rsvd2[8])); in ath11k_hal_rx_populate_byte_count()
884 __le32_to_cpu(ppdu_start->info0)); in ath11k_hal_rx_parse_mon_status_tlv()
885 ppdu_info->chan_num = __le32_to_cpu(ppdu_start->chan_num); in ath11k_hal_rx_parse_mon_status_tlv()
886 ppdu_info->ppdu_ts = __le32_to_cpu(ppdu_start->ppdu_start_ts); in ath11k_hal_rx_parse_mon_status_tlv()
893 info0 = __le32_to_cpu(eu_stats->info0); in ath11k_hal_rx_parse_mon_status_tlv()
894 info1 = __le32_to_cpu(eu_stats->info1); in ath11k_hal_rx_parse_mon_status_tlv()
898 __le32_to_cpu(eu_stats->info2)); in ath11k_hal_rx_parse_mon_status_tlv()
[all …]
Dpcic.c731 if (__le32_to_cpu(entry->service_id) != service_id) in ath11k_pcic_map_service_to_pipe()
734 switch (__le32_to_cpu(entry->pipedir)) { in ath11k_pcic_map_service_to_pipe()
739 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
744 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
750 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
751 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
Dahb.c659 if (__le32_to_cpu(entry->service_id) != service_id) in ath11k_ahb_map_service_to_pipe()
662 switch (__le32_to_cpu(entry->pipedir)) { in ath11k_ahb_map_service_to_pipe()
667 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
672 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
678 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
679 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
/linux-6.1.9/drivers/soc/qcom/
Dsocinfo.c487 qcom_socinfo->info.fmt = __le32_to_cpu(info->fmt); in socinfo_debugfs_init()
494 qcom_socinfo->info.nmodem_supported = __le32_to_cpu(info->nmodem_supported); in socinfo_debugfs_init()
500 qcom_socinfo->info.num_clusters = __le32_to_cpu(info->num_clusters); in socinfo_debugfs_init()
501 qcom_socinfo->info.ncluster_array_offset = __le32_to_cpu(info->ncluster_array_offset); in socinfo_debugfs_init()
502 qcom_socinfo->info.num_defective_parts = __le32_to_cpu(info->num_defective_parts); in socinfo_debugfs_init()
503 …qcom_socinfo->info.ndefective_parts_array_offset = __le32_to_cpu(info->ndefective_parts_array_offs… in socinfo_debugfs_init()
515 qcom_socinfo->info.nproduct_id = __le32_to_cpu(info->nproduct_id); in socinfo_debugfs_init()
523 __le32_to_cpu(info->chip_family); in socinfo_debugfs_init()
525 __le32_to_cpu(info->raw_device_family); in socinfo_debugfs_init()
527 __le32_to_cpu(info->raw_device_num); in socinfo_debugfs_init()
[all …]
/linux-6.1.9/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-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c866 evt->port_evt.port_id = __le32_to_cpu(hw_evt->port_id); in prestera_fw_parse_port_evt()
871 __le32_to_cpu(hw_evt->param.mac.mode); in prestera_fw_parse_port_evt()
873 __le32_to_cpu(hw_evt->param.mac.speed); in prestera_fw_parse_port_evt()
891 evt->fdb_evt.dest.port_id = __le32_to_cpu(hw_evt->dest.port_id); in prestera_fw_parse_fdb_evt()
901 evt->fdb_evt.vid = __le32_to_cpu(hw_evt->vid); in prestera_fw_parse_fdb_evt()
1035 *dev_id = __le32_to_cpu(resp.dev_id); in prestera_hw_port_info_get()
1036 *hw_id = __le32_to_cpu(resp.hw_id); in prestera_hw_port_info_get()
1073 sw->port_count = __le32_to_cpu(resp.port_count); in prestera_hw_switch_init()
1075 sw->mtu_max = __le32_to_cpu(resp.mtu_max); in prestera_hw_switch_init()
1080 __le32_to_cpu(resp.size_tbl_router_nexthop); in prestera_hw_switch_init()
[all …]
/linux-6.1.9/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))
/linux-6.1.9/drivers/nvdimm/
Dlabel.c168 seq = __le32_to_cpu(nsindex[i]->seq); in __nd_label_validate()
204 nslot = __le32_to_cpu(nsindex[i]->nslot); in __nd_label_validate()
228 seq = best_seq(__le32_to_cpu(nsindex[0]->seq), in __nd_label_validate()
229 __le32_to_cpu(nsindex[1]->seq)); in __nd_label_validate()
230 if (seq == (__le32_to_cpu(nsindex[1]->seq) & NSINDEX_SEQ_MASK)) in __nd_label_validate()
326 *nslot = __le32_to_cpu(nsindex->nslot); in preamble_index()
512 nslot = __le32_to_cpu(nsindex->nslot); in nd_label_data_init()
672 nslot = __le32_to_cpu(nsindex->nslot); in nd_label_write_index()
948 nd_inc_seq(__le32_to_cpu(nsindex->seq)), 0); in __pmem_label_update()
1053 nd_inc_seq(__le32_to_cpu(nsindex->seq)), 0); in del_labels()
Dnd.h69 return __le32_to_cpu(nd_label->cxl.slot); in nsl_get_slot()
70 return __le32_to_cpu(nd_label->efi.slot); in nsl_get_slot()
104 return __le32_to_cpu(nd_label->cxl.flags); in nsl_get_flags()
105 return __le32_to_cpu(nd_label->efi.flags); in nsl_get_flags()
Dpfn_devs.c207 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()
233 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()
234 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()
681 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in __nvdimm_setup_pfn()
682 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn()
/linux-6.1.9/drivers/net/usb/
Dr8153_ecm.c29 ret = __le32_to_cpu(tmp); in pla_read_word()
61 data |= __le32_to_cpu(tmp) & ~mask; in pla_write_word()
/linux-6.1.9/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-6.1.9/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-6.1.9/net/nfc/nci/
Drsp.c58 ndev->nfcc_features = __le32_to_cpu(rsp_1->nfcc_features); in nci_core_init_rsp_packet_v1()
81 __le32_to_cpu(rsp_2->manufact_specific_info); in nci_core_init_rsp_packet_v1()
99 ndev->nfcc_features = __le32_to_cpu(rsp->nfcc_features); in nci_core_init_rsp_packet_v2()
/linux-6.1.9/arch/microblaze/include/asm/
Dio.h51 #define in_le32(a) __le32_to_cpu(__raw_readl(a))
/linux-6.1.9/include/linux/byteorder/
Dgeneric.h89 #define le32_to_cpu __le32_to_cpu

1234