Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dwmi.c2150 event_type = __le32_to_cpu(arg.event_type); in ath10k_wmi_event_scan()
2151 reason = __le32_to_cpu(arg.reason); in ath10k_wmi_event_scan()
2152 freq = __le32_to_cpu(arg.channel_freq); in ath10k_wmi_event_scan()
2153 req_id = __le32_to_cpu(arg.scan_req_id); in ath10k_wmi_event_scan()
2154 scan_id = __le32_to_cpu(arg.scan_id); in ath10k_wmi_event_scan()
2155 vdev_id = __le32_to_cpu(arg.vdev_id); in ath10k_wmi_event_scan()
2261 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_op_pull_mgmt_rx_ev()
2305 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2401 param.desc_id = __le32_to_cpu(arg.desc_id); in ath10k_wmi_event_mgmt_tx_compl()
2402 param.status = __le32_to_cpu(arg.status); in ath10k_wmi_event_mgmt_tx_compl()
[all …]
Dbmi.c83 target_info->version = __le32_to_cpu(resp.get_target_info.version); in ath10k_bmi_get_target_info()
84 target_info->type = __le32_to_cpu(resp.get_target_info.type); in ath10k_bmi_get_target_info()
124 if (__le32_to_cpu(tmp) == TARGET_VERSION_SENTINAL) { in ath10k_bmi_get_target_info_sdio()
135 ver_len = __le32_to_cpu(tmp); in ath10k_bmi_get_target_info_sdio()
154 target_info->version = __le32_to_cpu(resp.get_target_info.version); in ath10k_bmi_get_target_info_sdio()
155 target_info->type = __le32_to_cpu(resp.get_target_info.type); in ath10k_bmi_get_target_info_sdio()
256 *reg_val = __le32_to_cpu(resp.read_soc_reg.value); in ath10k_bmi_read_soc_reg()
342 *result = __le32_to_cpu(resp.execute.result); in ath10k_bmi_execute()
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()
245 num_items = __le32_to_cpu(ev->num_items); in ath10k_wmi_tlv_event_diag_data()
265 __le32_to_cpu(item->timestamp), in ath10k_wmi_tlv_event_diag_data()
266 __le32_to_cpu(item->code), in ath10k_wmi_tlv_event_diag_data()
336 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_p2p_noa()
368 pause_id = __le32_to_cpu(ev->pause_id); in ath10k_wmi_tlv_event_tx_pause()
369 action = __le32_to_cpu(ev->action); in ath10k_wmi_tlv_event_tx_pause()
370 vdev_map = __le32_to_cpu(ev->vdev_map); in ath10k_wmi_tlv_event_tx_pause()
371 peer_id = __le32_to_cpu(ev->peer_id); in ath10k_wmi_tlv_event_tx_pause()
[all …]
Dhtt_rx.c144 idx = __le32_to_cpu(*htt->rx_ring.alloc_idx.vaddr); in __ath10k_htt_rx_ring_fill_n()
371 if (!(__le32_to_cpu(rx_desc->attention.flags) in ath10k_htt_rx_amsdu_pop()
377 msdu_len_invalid = !!(__le32_to_cpu(rx_desc->attention.flags) in ath10k_htt_rx_amsdu_pop()
380 msdu_len = MS(__le32_to_cpu(rx_desc->msdu_start.common.info0), in ath10k_htt_rx_amsdu_pop()
406 last_msdu = __le32_to_cpu(rx_desc->msdu_end.common.info0) & in ath10k_htt_rx_amsdu_pop()
502 paddr = __le32_to_cpu(ind_desc->msdu_paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
517 paddr = __le32_to_cpu(ind_desc->msdu_paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
639 paddr = __le32_to_cpu(msdu_desc->msdu_paddr); in ath10k_htt_rx_pop_paddr32_list()
670 if (!(__le32_to_cpu(rxd->attention.flags) & in ath10k_htt_rx_pop_paddr32_list()
731 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.c1020 if (__le32_to_cpu(hdr->magic_num) != BMI_SGMTFILE_MAGIC_NUM) { in ath10k_hw_diag_fast_download()
1044 base_addr = __le32_to_cpu(metadata->addr); in ath10k_hw_diag_fast_download()
1045 base_len = __le32_to_cpu(metadata->length); in ath10k_hw_diag_fast_download()
1135 return MS(__le32_to_cpu(rxd->msdu_end.qca99x0.info1), in ath10k_qca99x0_rx_desc_get_l3_pad_bytes()
Dsnoc.c779 if (__le32_to_cpu(entry->service_id) != service_id) in ath10k_snoc_hif_map_service_to_pipe()
782 switch (__le32_to_cpu(entry->pipedir)) { in ath10k_snoc_hif_map_service_to_pipe()
787 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath10k_snoc_hif_map_service_to_pipe()
792 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath10k_snoc_hif_map_service_to_pipe()
798 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath10k_snoc_hif_map_service_to_pipe()
799 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath10k_snoc_hif_map_service_to_pipe()
Dp2p.c43 __le32_to_cpu(noa->descriptors[i].type_count); in ath10k_p2p_noa_ie_fill()
Dpci.c1014 *value = __le32_to_cpu(val); in ath10k_pci_diag_read32()
1456 __le32_to_cpu(reg_dump_values[i]), in ath10k_pci_dump_registers()
1457 __le32_to_cpu(reg_dump_values[i + 1]), in ath10k_pci_dump_registers()
1458 __le32_to_cpu(reg_dump_values[i + 2]), in ath10k_pci_dump_registers()
1459 __le32_to_cpu(reg_dump_values[i + 3])); in ath10k_pci_dump_registers()
1817 if (__le32_to_cpu(entry->service_id) != service_id) in ath10k_pci_hif_map_service_to_pipe()
1820 switch (__le32_to_cpu(entry->pipedir)) { in ath10k_pci_hif_map_service_to_pipe()
1825 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath10k_pci_hif_map_service_to_pipe()
1830 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath10k_pci_hif_map_service_to_pipe()
1836 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath10k_pci_hif_map_service_to_pipe()
[all …]
Dbmi.h242 *val = __le32_to_cpu(tmp); \
/Linux-v5.4/drivers/soc/qcom/
Dsocinfo.c307 qcom_socinfo->info.fmt = __le32_to_cpu(info->fmt); in socinfo_debugfs_init()
312 __le32_to_cpu(info->chip_family); in socinfo_debugfs_init()
314 __le32_to_cpu(info->raw_device_family); in socinfo_debugfs_init()
316 __le32_to_cpu(info->raw_device_num); in socinfo_debugfs_init()
330 qcom_socinfo->info.foundry_id = __le32_to_cpu(info->foundry_id); in socinfo_debugfs_init()
342 __le32_to_cpu(info->hw_plat_subtype); in socinfo_debugfs_init()
350 __le32_to_cpu(info->accessory_chip); in socinfo_debugfs_init()
357 qcom_socinfo->info.plat_ver = __le32_to_cpu(info->plat_ver); in socinfo_debugfs_init()
364 qcom_socinfo->info.hw_plat = __le32_to_cpu(info->hw_plat); in socinfo_debugfs_init()
371 qcom_socinfo->info.raw_ver = __le32_to_cpu(info->raw_ver); in socinfo_debugfs_init()
/Linux-v5.4/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.4/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.4/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.c219 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()
245 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()
246 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()
669 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in __nvdimm_setup_pfn()
670 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn()
/Linux-v5.4/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.4/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()
279 proto_status = __le32_to_cpu(response->proto_status); in hv_kbd_connect_to_vsp()
/Linux-v5.4/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.4/arch/microblaze/include/asm/
Dio.h62 #define in_le32(a) __le32_to_cpu(__raw_readl(a))
/Linux-v5.4/arch/m68k/include/asm/
Dio_no.h78 return __le32_to_cpu(__raw_readl(addr)); in readl()
/Linux-v5.4/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.4/include/linux/byteorder/
Dgeneric.h89 #define le32_to_cpu __le32_to_cpu
/Linux-v5.4/include/asm-generic/
Dio.h179 val = __le32_to_cpu(__raw_readl(addr)); in readl()
267 return __le32_to_cpu(__raw_readl(addr)); in readl_relaxed()
492 val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr)); in inl()

123