Searched refs:thermal_base (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/thermal/
H A Dspear_thermal.c33 void __iomem *thermal_base; member in struct:spear_thermal_dev
49 *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; thermal_get_temp()
66 actual_mask = readl_relaxed(stdev->thermal_base); spear_thermal_suspend()
67 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); spear_thermal_suspend()
90 actual_mask = readl_relaxed(stdev->thermal_base); spear_thermal_resume()
91 writel_relaxed(actual_mask | stdev->flags, stdev->thermal_base); spear_thermal_resume()
121 stdev->thermal_base = devm_ioremap_resource(&pdev->dev, res); spear_thermal_probe()
122 if (IS_ERR(stdev->thermal_base)) spear_thermal_probe()
123 return PTR_ERR(stdev->thermal_base); spear_thermal_probe()
138 writel_relaxed(stdev->flags, stdev->thermal_base); spear_thermal_probe()
151 stdev->thermal_base); spear_thermal_probe()
170 actual_mask = readl_relaxed(stdev->thermal_base); spear_thermal_exit()
171 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); spear_thermal_exit()

Completed in 36 milliseconds