Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/u-boot/fs/reiserfs/
H A Dreiserfs.c103 if (__le32_to_cpu(*journal_table) != 0xffffffff) in block_read()
106 j_len = __le32_to_cpu(*journal_table++); in block_read()
109 if (__le32_to_cpu(*journal_table++) == blockNr) in block_read()
127 j_len = __le32_to_cpu(desc.j_len); in block_read()
129 if (__le32_to_cpu(desc.j_realblock[i++]) == blockNr) in block_read()
139 if (__le32_to_cpu(commit.j_realblock[i++ - JOURNAL_TRANS_HALF]) == blockNr) in block_read()
181 desc_block = __le32_to_cpu(header.j_first_unflushed_offset); in journal_init()
186 next_trans_id = __le32_to_cpu(header.j_last_flush_trans_id) + 1; in journal_init()
190 __le32_to_cpu(header.j_last_flush_trans_id)); in journal_init()
197 || __le32_to_cpu(desc.j_trans_id) != next_trans_id in journal_init()
[all …]
H A Dreiserfs_private.h58 #define sb_root_block(sbp) (__le32_to_cpu((sbp)->s_root_block))
59 #define sb_journal_block(sbp) (__le32_to_cpu((sbp)->s_journal_block))
61 #define sb_journal_size(sbp) (__le32_to_cpu((sbp)->s_journal_size))
254 ? __le32_to_cpu((ih)->ih_key.u.v1.k_offset) \
258 ? __le32_to_cpu((ih)->ih_key.u.v1.k_uniqueness) == V1_##type \
273 #define dc_block_number(dc_p) (__le32_to_cpu((dc_p)->dc_block_number))
310 #define sd_v1_size(sdp) (__le32_to_cpu((sdp)->sd_size))
311 #define sd_v1_mtime(sdp) (__le32_to_cpu((sdp)->sd_mtime))
343 #define sd_v2_nlink(sdp) (__le32_to_cpu((sdp)->sd_nlink))
345 #define sd_v2_uid(sdp) (__le32_to_cpu((sdp)->sd_uid))
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/soc/qcom/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Dspectral.c477 report->timestamp = __le32_to_cpu(summary->timestamp); in ath11k_spectral_pull_summary()
479 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
481 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
483 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
485 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
487 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
489 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
491 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
493 __le32_to_cpu(summary->info0)); in ath11k_spectral_pull_summary()
495 __le32_to_cpu(summary->info2)); in ath11k_spectral_pull_summary()
[all …]
H A 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 …]
H A Dahb.c569 if (__le32_to_cpu(entry->service_id) != service_id) in ath11k_ahb_map_service_to_pipe()
572 switch (__le32_to_cpu(entry->pipedir)) { in ath11k_ahb_map_service_to_pipe()
577 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
582 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
588 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
589 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
H A Dpci.c838 if (__le32_to_cpu(entry->service_id) != service_id) in ath11k_pci_map_service_to_pipe()
841 switch (__le32_to_cpu(entry->pipedir)) { in ath11k_pci_map_service_to_pipe()
846 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
851 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
857 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
858 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A 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()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A 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()
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/pci/solo6x10/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/jfs/
H A 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))
/OK3568_Linux_fs/kernel/drivers/input/serio/
H A 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()
/OK3568_Linux_fs/kernel/arch/microblaze/include/asm/
H A Dio.h56 #define in_le32(a) __le32_to_cpu(__raw_readl(a))
/OK3568_Linux_fs/kernel/net/nfc/nci/
H A 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()
/OK3568_Linux_fs/u-boot/include/linux/byteorder/
H A Dgeneric.h90 #define le32_to_cpu __le32_to_cpu
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/byteorder/
H A Dgeneric.h104 #define le32_to_cpu __le32_to_cpu

123456