Searched refs:stdev (Results 1 – 1 of 1) sorted by relevance
43 struct spear_thermal_dev *stdev = thermal->devdata; in thermal_get_temp() local49 *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() local66 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() local83 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 …]