Searched refs:thermal_base (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/thermal/ |
H A D | spear_thermal.c | 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() 106 stdev->thermal_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in spear_thermal_probe() 107 if (IS_ERR(stdev->thermal_base)) in spear_thermal_probe() 108 return PTR_ERR(stdev->thermal_base); in spear_thermal_probe() 123 writel_relaxed(stdev->flags, stdev->thermal_base); in spear_thermal_probe() [all …]
|
/linux/drivers/thermal/mediatek/ |
H A D | auxadc_thermal.c | 332 void __iomem *thermal_base; member 788 val = readl(mt->thermal_base + PTPCORESEL); in mtk_thermal_get_bank() 791 writel(val, mt->thermal_base + PTPCORESEL); in mtk_thermal_get_bank() 824 raw = readl(mt->thermal_base + conf->msr[i]); in mtk_thermal_bank_temperature() 882 void __iomem *controller_base = mt->thermal_base + offset; in mtk_thermal_init_bank() 970 mt->thermal_base + conf->adcpnp[i]); in mtk_thermal_init_bank() 1189 writel(0x1, mt->thermal_base + TEMP_MONCTL0); in mtk_thermal_release_periodic_ts() 1190 tmp = readl(mt->thermal_base + TEMP_MSRCTL1); in mtk_thermal_release_periodic_ts() 1191 writel((tmp & (~0x10e)), mt->thermal_base + TEMP_MSRCTL1); in mtk_thermal_release_periodic_ts() 1209 mt->thermal_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in mtk_thermal_probe() [all …]
|