Home
last modified time | relevance | path

Searched refs:readq_relaxed (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/cavium/thunder/
Dthunder_xcv.c70 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-6.6.21/arch/arm64/include/asm/
Darch_gicv3.h135 #define gic_read_typer(c) readq_relaxed(c)
137 #define gic_read_lpir(c) readq_relaxed(c)
143 #define gits_read_baser(c) readq_relaxed(c)
146 #define gits_read_cbaser(c) readq_relaxed(c)
151 #define gicr_read_propbaser(c) readq_relaxed(c)
155 #define gicr_read_pendbaser(c) readq_relaxed(c)
158 #define gicr_read_vpropbaser(c) readq_relaxed(c)
161 #define gicr_read_vpendbaser(c) readq_relaxed(c)
/linux-6.6.21/include/linux/
Dio-64-nonatomic-hi-lo.h50 #ifndef readq_relaxed
51 #define readq_relaxed hi_lo_readq_relaxed macro
Dio-64-nonatomic-lo-hi.h50 #ifndef readq_relaxed
51 #define readq_relaxed lo_hi_readq_relaxed macro
Diopoll.h200 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-6.6.21/drivers/bus/fsl-mc/
Dmc-sys.c132 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-6.6.21/drivers/perf/
Dmarvell_cn10k_ddr_pmu.c367 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()
Darm-cmn.c1403 reg = readq_relaxed(dtm->base + offset); in arm_cmn_read_dtm()
1413 u64 val = readq_relaxed(dtc->base + CMN_DT_PMCCNTR); in arm_cmn_read_cc()
2135 u64 reg = readq_relaxed(cmn->base + offset + CMN_NODE_INFO); in arm_cmn_init_node_info()
2185 reg = readq_relaxed(cfg_region + CMN_CFGM_PERIPH_ID_01); in arm_cmn_discover()
2199 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL); in arm_cmn_discover()
2204 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL_1); in arm_cmn_discover()
2208 reg = readq_relaxed(cfg_region + CMN_CHILD_INFO); in arm_cmn_discover()
2217 reg = readq_relaxed(cfg_region + child_poff + i * 8); in arm_cmn_discover()
2220 reg = readq_relaxed(cmn->base + xp_offset[i] + CMN_CHILD_INFO); in arm_cmn_discover()
2285 reg = readq_relaxed(xp_region + CMN_CHILD_INFO); in arm_cmn_discover()
[all …]
Darm_smmuv3_pmu.c895 ceid_64[0] = readq_relaxed(smmu_pmu->reg_base + SMMU_PMCG_CEID0); in smmu_pmu_probe()
896 ceid_64[1] = readq_relaxed(smmu_pmu->reg_base + SMMU_PMCG_CEID1); in smmu_pmu_probe()
/linux-6.6.21/arch/alpha/include/asm/
Dio.h557 extern u64 readq_relaxed(const volatile void __iomem *addr);
561 #define readq_relaxed readq_relaxed macro
584 extern inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() function
/linux-6.6.21/arch/riscv/include/asm/
Dtimex.h20 return readq_relaxed(clint_time_val); in get_cycles()
Dmmio.h123 #define readq_relaxed(c) ({ u64 __v; __io_rbr(); __v = readq_cpu(c); __io_rar(); __v; }) macro
/linux-6.6.21/drivers/cpufreq/
Dapple-soc-cpufreq.c112 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-6.6.21/arch/arm64/kernel/
Dacpi_parking_protocol.c118 entry_point = readq_relaxed(&mailbox->entry_point); in acpi_parking_protocol_cpu_postboot()
/linux-6.6.21/drivers/mailbox/
Dapple-mailbox.c155 msg->msg0 = readq_relaxed(apple_mbox->regs + apple_mbox->hw->i2a_recv0); in apple_mbox_hw_recv()
158 readq_relaxed(apple_mbox->regs + apple_mbox->hw->i2a_recv1)); in apple_mbox_hw_recv()
/linux-6.6.21/drivers/iommu/arm/arm-smmu/
Darm-smmu-nvidia.c81 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()
/linux-6.6.21/arch/sh/include/asm/
Dio.h42 #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) macro
52 #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; })
/linux-6.6.21/include/asm-generic/
Dio.h341 #if defined(readq) && !defined(readq_relaxed)
342 #define readq_relaxed readq_relaxed macro
343 static inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() function
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_common.h135 return readq_relaxed(reg_base + in otx2_cpt_read64()
/linux-6.6.21/drivers/clocksource/
Dtimer-clint.c73 #define clint_get_cycles() readq_relaxed(clint_timer_val)
/linux-6.6.21/arch/alpha/kernel/
Dio.c263 u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() function
272 EXPORT_SYMBOL(readq_relaxed);
/linux-6.6.21/arch/x86/include/asm/
Dio.h99 #define readq_relaxed(a) __readq(a) macro
/linux-6.6.21/drivers/mmc/host/
Ddw_mmc.h489 readq_relaxed((dev)->regs + SDMMC_##reg)
/linux-6.6.21/arch/mips/include/asm/
Dio.h387 #define readq_relaxed __relaxed_readq in BUILDIO_MEM() macro
/linux-6.6.21/arch/sparc/include/asm/
Dio_64.h144 #define readq_relaxed readq macro

12