Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/thermal/
Dspear_thermal.c43 struct spear_thermal_dev *stdev = thermal->devdata; in thermal_get_temp() local
49 *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; in thermal_get_temp()
62 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_suspend() local
66 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_suspend()
67 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); in spear_thermal_suspend()
69 clk_disable(stdev->clk); in spear_thermal_suspend()
79 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_resume() local
83 ret = clk_enable(stdev->clk); in spear_thermal_resume()
90 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_resume()
91 writel_relaxed(actual_mask | stdev->flags, stdev->thermal_base); in spear_thermal_resume()
[all …]