Searched refs:pmd_regs (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/cpufreq/ |
D | ppc_cbe_cpufreq_pervasive.c | 42 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.1.9/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 91 struct cbe_pmd_regs __iomem *pmd_regs; in spu_show_temp() local 93 pmd_regs = get_pmd_regs(dev); in spu_show_temp() 95 value = spu_read_register_value(dev, &pmd_regs->ts_ctsr1); in spu_show_temp() 100 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle() argument 104 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle() 112 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle() argument 126 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle() 133 out_be64(&pmd_regs->tm_tpr.val, reg_value); 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() [all …]
|
D | pmu.c | 35 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()
|
D | cbe_regs.c | 33 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()
|