Lines Matching refs:thermal_base
278 void __iomem *thermal_base; member
621 val = readl(mt->thermal_base + PTPCORESEL); in mtk_thermal_get_bank()
624 writel(val, mt->thermal_base + PTPCORESEL); in mtk_thermal_get_bank()
657 raw = readl(mt->thermal_base + conf->msr[i]); in mtk_thermal_bank_temperature()
716 void __iomem *controller_base = mt->thermal_base + offset; in mtk_thermal_init_bank()
804 mt->thermal_base + conf->adcpnp[i]); in mtk_thermal_init_bank()
983 writel(0x1, mt->thermal_base + TEMP_MONCTL0); in mtk_thermal_release_periodic_ts()
984 tmp = readl(mt->thermal_base + TEMP_MSRCTL1); in mtk_thermal_release_periodic_ts()
985 writel((tmp & (~0x10e)), mt->thermal_base + TEMP_MSRCTL1); in mtk_thermal_release_periodic_ts()
1013 mt->thermal_base = devm_ioremap_resource(&pdev->dev, res); in mtk_thermal_probe()
1014 if (IS_ERR(mt->thermal_base)) in mtk_thermal_probe()
1015 return PTR_ERR(mt->thermal_base); in mtk_thermal_probe()