Lines Matching refs:thermal_base
24 void __iomem *thermal_base; member
40 *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; in thermal_get_temp()
55 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_suspend()
56 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); in spear_thermal_suspend()
78 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_resume()
79 writel_relaxed(actual_mask | stdev->flags, stdev->thermal_base); in spear_thermal_resume()
108 stdev->thermal_base = devm_ioremap_resource(&pdev->dev, res); in spear_thermal_probe()
109 if (IS_ERR(stdev->thermal_base)) in spear_thermal_probe()
110 return PTR_ERR(stdev->thermal_base); in spear_thermal_probe()
125 writel_relaxed(stdev->flags, stdev->thermal_base); in spear_thermal_probe()
143 stdev->thermal_base); in spear_thermal_probe()
164 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_exit()
165 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); in spear_thermal_exit()