Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/thermal/broadcom/
Dbrcmstb_thermal.c112 void __iomem *tmon_base; member
159 val = __raw_readl(priv->tmon_base + AVS_TMON_STATUS); in brcmstb_get_temp()
179 u32 val = __raw_readl(priv->tmon_base + trip->enable_offs); in avs_tmon_trip_enable()
188 __raw_writel(val, priv->tmon_base + trip->enable_offs); in avs_tmon_trip_enable()
195 u32 val = __raw_readl(priv->tmon_base + trip->reg_offs); in avs_tmon_get_trip_temp()
219 orig = __raw_readl(priv->tmon_base + trip->reg_offs); in avs_tmon_set_trip_temp()
222 __raw_writel(orig, priv->tmon_base + trip->reg_offs); in avs_tmon_set_trip_temp()
229 val = __raw_readl(priv->tmon_base + AVS_TMON_TEMP_INT_CODE); in avs_tmon_get_intr_temp()
332 priv->tmon_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in brcmstb_thermal_probe()
333 if (IS_ERR(priv->tmon_base)) in brcmstb_thermal_probe()
[all …]