Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/cpufreq/
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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dcbe_thermal.c92 struct cbe_pmd_regs __iomem *pmd_regs; in spu_show_temp() local
94 pmd_regs = get_pmd_regs(dev); in spu_show_temp()
96 value = spu_read_register_value(dev, &pmd_regs->ts_ctsr1); in spu_show_temp()
101 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle() argument
105 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle()
113 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle() argument
127 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
134 out_be64(&pmd_regs->tm_tpr.val, reg_value); in store_throttle()
176 struct cbe_pmd_regs __iomem *pmd_regs; in ppe_show_temp() local
179 pmd_regs = cbe_get_cpu_pmd_regs(dev->id); in ppe_show_temp()
[all …]
Dpmu.c34 struct cbe_pmd_regs __iomem *pmd_regs; \
36 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
38 out_be64(&(pmd_regs->reg), (((u64)_x) << 32)); \
51 struct cbe_pmd_regs __iomem *pmd_regs; \
52 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
53 (val) = (u32)(in_be64(&pmd_regs->reg) >> 32); \
325 struct cbe_pmd_regs __iomem *pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_read_trace_buffer() local
327 *buf++ = in_be64(&pmd_regs->trace_buffer_0_63); in cbe_read_trace_buffer()
328 *buf++ = in_be64(&pmd_regs->trace_buffer_64_127); in cbe_read_trace_buffer()
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()
202 map->pmd_regs = of_iomap(np, 0); in cbe_fill_regs_map()
223 map->pmd_regs = ioremap(prop->address, prop->len); in cbe_fill_regs_map()