Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/
Dcbe_thermal.c104 struct cbe_pmd_regs __iomem *pmd_regs; in spu_show_temp() local
106 pmd_regs = get_pmd_regs(dev); in spu_show_temp()
108 value = spu_read_register_value(dev, &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(dev->id); in ppe_show_temp()
[all …]
Dpmu.c47 struct cbe_pmd_regs __iomem *pmd_regs; \
49 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
51 out_be64(&(pmd_regs->reg), (((u64)_x) << 32)); \
64 struct cbe_pmd_regs __iomem *pmd_regs; \
65 pmd_regs = cbe_get_cpu_pmd_regs(cpu); \
66 (val) = (u32)(in_be64(&pmd_regs->reg) >> 32); \
338 struct cbe_pmd_regs __iomem *pmd_regs = cbe_get_cpu_pmd_regs(cpu); in cbe_read_trace_buffer() local
340 *buf++ = in_be64(&pmd_regs->trace_buffer_0_63); in cbe_read_trace_buffer()
341 *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()
201 map->pmd_regs = of_iomap(np, 0); in cbe_fill_regs_map()
222 map->pmd_regs = ioremap(prop->address, prop->len); in cbe_fill_regs_map()