Home
last modified time | relevance | path

Searched refs:pmd_regs (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/cpufreq/
A Dppc_cbe_cpufreq_pervasive.c42 struct cbe_pmd_regs __iomem *pmd_regs; in cbe_cpufreq_set_pmode() local
53 pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_cpufreq_set_pmode()
65 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()
71 out_be64(&pmd_regs->pmcr, value); in cbe_cpufreq_set_pmode()
75 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
78 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
95 struct cbe_pmd_regs __iomem *pmd_regs; in cbe_cpufreq_get_pmode() local
97 pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_cpufreq_get_pmode()
98 ret = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_get_pmode()
/linux-6.3-rc2/arch/powerpc/platforms/cell/
A Dcbe_thermal.c91 struct cbe_pmd_regs __iomem *pmd_regs; in spu_show_temp() local
93 pmd_regs = get_pmd_regs(dev); in spu_show_temp()
104 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle()
126 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
175 struct cbe_pmd_regs __iomem *pmd_regs; in ppe_show_temp() local
178 pmd_regs = cbe_get_cpu_pmd_regs(dev->id); in ppe_show_temp()
179 value = in_be64(&pmd_regs->ts_ctsr2); in ppe_show_temp()
296 struct cbe_pmd_regs __iomem *pmd_regs; in init_default_values() local
348 if (!pmd_regs) { in init_default_values()
353 out_be64(&pmd_regs->tm_str2, str2); in init_default_values()
[all …]
A Dpmu.c35 struct cbe_pmd_regs __iomem *pmd_regs; \
37 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
39 out_be64(&(pmd_regs->reg), (((u64)_x) << 32)); \
52 struct cbe_pmd_regs __iomem *pmd_regs; \
53 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
54 (val) = (u32)(in_be64(&pmd_regs->reg) >> 32); \
326 struct cbe_pmd_regs __iomem *pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_read_trace_buffer() local
328 *buf++ = in_be64(&pmd_regs->trace_buffer_0_63); in cbe_read_trace_buffer()
329 *buf++ = in_be64(&pmd_regs->trace_buffer_64_127); in cbe_read_trace_buffer()
A Dcbe_regs.c33 struct cbe_pmd_regs __iomem *pmd_regs; member
87 return map->pmd_regs; in cbe_get_pmd_regs()
96 return map->pmd_regs; in cbe_get_cpu_pmd_regs()
210 map->pmd_regs = of_iomap(np, 0); in cbe_fill_regs_map()
239 map->pmd_regs = ioremap(prop->address, prop->len); in cbe_fill_regs_map()

Completed in 6 milliseconds