| /linux/drivers/net/ethernet/cavium/thunder/ |
| A D | thunder_xcv.c | 70 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_init_hw() 75 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_init_hw() 84 cfg = readq_relaxed(xcv->reg_base + XCV_DLL_CTL); in xcv_init_hw() 92 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_init_hw() 95 readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_init_hw() 100 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_init_hw() 104 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_init_hw() 127 cfg = readq_relaxed(xcv->reg_base + XCV_CTL); in xcv_setup_link() 133 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_setup_link() 138 cfg = readq_relaxed(xcv->reg_base + XCV_RESET); in xcv_setup_link() [all …]
|
| /linux/arch/arm64/include/asm/ |
| A D | arch_gicv3.h | 143 #define gic_read_typer(c) readq_relaxed(c) 145 #define gic_read_lpir(c) readq_relaxed(c) 151 #define gits_read_baser(c) readq_relaxed(c) 154 #define gits_read_cbaser(c) readq_relaxed(c) 159 #define gicr_read_propbaser(c) readq_relaxed(c) 163 #define gicr_read_pendbaser(c) readq_relaxed(c) 166 #define gicr_read_vpropbaser(c) readq_relaxed(c) 169 #define gicr_read_vpendbaser(c) readq_relaxed(c)
|
| /linux/include/linux/ |
| A D | io-64-nonatomic-hi-lo.h | 50 #ifndef readq_relaxed 51 #define readq_relaxed hi_lo_readq_relaxed macro
|
| A D | io-64-nonatomic-lo-hi.h | 50 #ifndef readq_relaxed 51 #define readq_relaxed lo_hi_readq_relaxed macro
|
| A D | iopoll.h | 200 readx_poll_timeout(readq_relaxed, addr, val, cond, delay_us, timeout_us) 203 readx_poll_timeout_atomic(readq_relaxed, addr, val, cond, delay_us, timeout_us)
|
| /linux/drivers/bus/fsl-mc/ |
| A D | mc-sys.c | 132 resp->header = cpu_to_le64(readq_relaxed(&portal->header)); in mc_read_response() 145 cpu_to_le64(readq_relaxed(&portal->params[i])); in mc_read_response()
|
| /linux/drivers/perf/ |
| A D | marvell_cn10k_ddr_pmu.c | 367 val = readq_relaxed(pmu->base + reg); in cn10k_ddr_perf_counter_enable() 376 val = readq_relaxed(pmu->base + DDRC_PERF_CNT_FREERUN_EN); in cn10k_ddr_perf_counter_enable() 397 return readq_relaxed(pmu->base + DDRC_PERF_CNT_VALUE_RD_OP); in cn10k_ddr_perf_read_counter() 400 return readq_relaxed(pmu->base + DDRC_PERF_CNT_VALUE_WR_OP); in cn10k_ddr_perf_read_counter() 402 val = readq_relaxed(pmu->base + DDRC_PERF_CNT_VALUE(counter)); in cn10k_ddr_perf_read_counter()
|
| A D | arm-cmn.c | 1457 reg = readq_relaxed(dtm->base + offset); in arm_cmn_read_dtm() 1468 u64 val = readq_relaxed(pmccntr); in arm_cmn_read_cc() 2222 u64 reg = readq_relaxed(cmn->base + offset + CMN_NODE_INFO); in arm_cmn_init_node_info() 2272 reg = readq_relaxed(cfg_region + CMN_CFGM_PERIPH_ID_01); in arm_cmn_discover() 2292 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL); in arm_cmn_discover() 2301 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL_1); in arm_cmn_discover() 2305 reg = readq_relaxed(cfg_region + CMN_CHILD_INFO); in arm_cmn_discover() 2314 reg = readq_relaxed(cfg_region + child_poff + i * 8); in arm_cmn_discover() 2317 reg = readq_relaxed(cmn->base + xp_offset[i] + CMN_CHILD_INFO); in arm_cmn_discover() 2391 reg = readq_relaxed(xp_region + CMN_CHILD_INFO); in arm_cmn_discover() [all …]
|
| /linux/tools/testing/selftests/kvm/include/aarch64/ |
| A D | processor.h | 195 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; }) macro 200 #define readq(c) ({ u64 __v = readq_relaxed(c); __iormb(__v); __v; })
|
| /linux/arch/alpha/include/asm/ |
| A D | io.h | 552 extern u64 readq_relaxed(const volatile void __iomem *addr); 556 #define readq_relaxed readq_relaxed macro 579 extern inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() function
|
| /linux/arch/riscv/include/asm/ |
| A D | timex.h | 20 return readq_relaxed(clint_time_val); in get_cycles()
|
| A D | mmio.h | 124 #define readq_relaxed(c) ({ u64 __v; __io_rbr(); __v = readq_cpu(c); __io_rar(); __v; }) macro
|
| /linux/drivers/cpufreq/ |
| A D | apple-soc-cpufreq.c | 112 u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS); in apple_soc_cpufreq_get_rate() 120 u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_CMD); in apple_soc_cpufreq_get_rate()
|
| /linux/arch/arm64/kernel/ |
| A D | acpi_parking_protocol.c | 118 entry_point = readq_relaxed(&mailbox->entry_point); in acpi_parking_protocol_cpu_postboot()
|
| /linux/drivers/iommu/arm/arm-smmu/ |
| A D | arm-smmu-nvidia.c | 81 return readq_relaxed(reg); in nvidia_smmu_read_reg64() 207 iova = readq_relaxed(cb_base + ARM_SMMU_CB_FAR); in nvidia_smmu_context_fault_bank()
|
| A D | arm-smmu-qcom-debug.c | 210 val = readq_relaxed(tbu->base + DEBUG_SID_HALT_REG); in qcom_tbu_trigger_atos() 244 val = readq_relaxed(tbu->base + DEBUG_PAR_REG); in qcom_tbu_trigger_atos()
|
| /linux/drivers/soc/apple/ |
| A D | mailbox.c | 190 msg.msg0 = readq_relaxed(mbox->regs + mbox->hw->i2a_recv0); in apple_mbox_poll_locked() 193 readq_relaxed(mbox->regs + mbox->hw->i2a_recv1)); in apple_mbox_poll_locked()
|
| /linux/arch/sh/include/asm/ |
| A D | io.h | 42 #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) macro 52 #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; })
|
| /linux/include/asm-generic/ |
| A D | io.h | 342 #if defined(readq) && !defined(readq_relaxed) 343 #define readq_relaxed readq_relaxed macro 344 static inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() function
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| A D | otx2_cpt_common.h | 142 return readq_relaxed(reg_base + in otx2_cpt_read64()
|
| /linux/drivers/clocksource/ |
| A D | timer-clint.c | 73 #define clint_get_cycles() readq_relaxed(clint_timer_val)
|
| /linux/arch/alpha/kernel/ |
| A D | io.c | 263 u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() function 272 EXPORT_SYMBOL(readq_relaxed);
|
| /linux/tools/testing/selftests/kvm/lib/aarch64/ |
| A D | gic_v3_its.c | 20 return readq_relaxed(GITS_BASE_GVA + offset); in its_read_u64()
|
| /linux/arch/x86/include/asm/ |
| A D | io.h | 100 #define readq_relaxed(a) __readq(a) macro
|
| /linux/drivers/mmc/host/ |
| A D | dw_mmc.h | 490 readq_relaxed((dev)->regs + SDMMC_##reg)
|