Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/
Dcbe_cpufreq_pervasive.c55 struct cbe_pmd_regs __iomem *pmd_regs; in cbe_cpufreq_set_pmode() local
66 pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_cpufreq_set_pmode()
78 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()
84 out_be64(&pmd_regs->pmcr, value); in cbe_cpufreq_set_pmode()
88 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
91 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
108 struct cbe_pmd_regs __iomem *pmd_regs; in cbe_cpufreq_get_pmode() local
110 pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_cpufreq_get_pmode()
111 ret = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_get_pmode()
Dcbe_thermal.c104 struct cbe_pmd_regs __iomem *pmd_regs; in spu_show_temp() local
106 pmd_regs = get_pmd_regs(sysdev); in spu_show_temp()
108 value = spu_read_register_value(sysdev, &pmd_regs->ts_ctsr1); in spu_show_temp()
113 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle() argument
117 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle()
125 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle() argument
139 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
146 out_be64(&pmd_regs->tm_tpr.val, reg_value); in store_throttle()
188 struct cbe_pmd_regs __iomem *pmd_regs; in ppe_show_temp() local
191 pmd_regs = cbe_get_cpu_pmd_regs(sysdev->id); in ppe_show_temp()
[all …]
Dpmu.c46 struct cbe_pmd_regs __iomem *pmd_regs; \
48 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
50 out_be64(&(pmd_regs->reg), (((u64)_x) << 32)); \
63 struct cbe_pmd_regs __iomem *pmd_regs; \
64 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
65 (val) = (u32)(in_be64(&pmd_regs->reg) >> 32); \
337 struct cbe_pmd_regs __iomem *pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_read_trace_buffer() local
339 *buf++ = in_be64(&pmd_regs->trace_buffer_0_63); in cbe_read_trace_buffer()
340 *buf++ = in_be64(&pmd_regs->trace_buffer_64_127); in cbe_read_trace_buffer()
Dcbe_regs.c32 struct cbe_pmd_regs __iomem *pmd_regs; member
86 return map->pmd_regs; in cbe_get_pmd_regs()
95 return map->pmd_regs; in cbe_get_cpu_pmd_regs()
200 map->pmd_regs = of_iomap(np, 0); in cbe_fill_regs_map()
221 map->pmd_regs = ioremap(prop->address, prop->len); in cbe_fill_regs_map()