Lines Matching refs:pmd_regs
105 struct cbe_pmd_regs __iomem *pmd_regs; in spu_show_temp() local
107 pmd_regs = get_pmd_regs(dev); in spu_show_temp()
109 value = spu_read_register_value(dev, &pmd_regs->ts_ctsr1); in spu_show_temp()
114 static ssize_t show_throttle(struct cbe_pmd_regs __iomem *pmd_regs, char *buf, int pos) in show_throttle() argument
118 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle()
126 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, … in store_throttle() argument
140 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
147 out_be64(&pmd_regs->tm_tpr.val, reg_value); in store_throttle()
189 struct cbe_pmd_regs __iomem *pmd_regs; in ppe_show_temp() local
192 pmd_regs = cbe_get_cpu_pmd_regs(dev->id); in ppe_show_temp()
193 value = in_be64(&pmd_regs->ts_ctsr2); in ppe_show_temp()
310 struct cbe_pmd_regs __iomem *pmd_regs; in init_default_values() local
360 pmd_regs = cbe_get_cpu_pmd_regs(dev->id); in init_default_values()
362 if (!pmd_regs) { in init_default_values()
367 out_be64(&pmd_regs->tm_str2, str2); in init_default_values()
368 out_be64(&pmd_regs->tm_str1.val, str1.val); in init_default_values()
369 out_be64(&pmd_regs->tm_tpr.val, tpr.val); in init_default_values()
370 out_be64(&pmd_regs->tm_cr1.val, cr1.val); in init_default_values()
371 out_be64(&pmd_regs->tm_cr2, cr2); in init_default_values()