Home
last modified time | relevance | path

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

/Linux-v5.10/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()
181 u32 val = __raw_readl(priv->tmon_base + trip->enable_offs); in avs_tmon_trip_enable()
190 __raw_writel(val, priv->tmon_base + trip->enable_offs); in avs_tmon_trip_enable()
197 u32 val = __raw_readl(priv->tmon_base + trip->reg_offs); in avs_tmon_get_trip_temp()
221 orig = __raw_readl(priv->tmon_base + trip->reg_offs); in avs_tmon_set_trip_temp()
224 __raw_writel(orig, priv->tmon_base + trip->reg_offs); in avs_tmon_set_trip_temp()
231 val = __raw_readl(priv->tmon_base + AVS_TMON_TEMP_INT_CODE); in avs_tmon_get_intr_temp()
336 priv->tmon_base = devm_ioremap_resource(&pdev->dev, res); in brcmstb_thermal_probe()
337 if (IS_ERR(priv->tmon_base)) in brcmstb_thermal_probe()
[all …]