Home
last modified time | relevance | path

Searched refs:pvtmon (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/thermal/broadcom/
H A Dns-thermal.c19 void __iomem *pvtmon = thermal_zone_device_priv(tz); in ns_thermal_get_temp() local
24 val = readl(pvtmon + PVTMON_CONTROL0); in ns_thermal_get_temp()
32 writel(val, pvtmon + PVTMON_CONTROL0); in ns_thermal_get_temp()
35 val = readl(pvtmon + PVTMON_STATUS); in ns_thermal_get_temp()
49 void __iomem *pvtmon; in ns_thermal_probe() local
51 pvtmon = of_iomap(dev_of_node(dev), 0); in ns_thermal_probe()
52 if (WARN_ON(!pvtmon)) in ns_thermal_probe()
56 pvtmon, in ns_thermal_probe()
59 iounmap(pvtmon); in ns_thermal_probe()
63 platform_set_drvdata(pdev, pvtmon); in ns_thermal_probe()
70 void __iomem *pvtmon = platform_get_drvdata(pdev); ns_thermal_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/thermal/broadcom/
H A Dns-thermal.c19 void __iomem *pvtmon; member
29 val = readl(ns_thermal->pvtmon + PVTMON_CONTROL0); in ns_thermal_get_temp()
37 writel(val, ns_thermal->pvtmon + PVTMON_CONTROL0); in ns_thermal_get_temp()
40 val = readl(ns_thermal->pvtmon + PVTMON_STATUS); in ns_thermal_get_temp()
59 ns_thermal->pvtmon = of_iomap(dev_of_node(dev), 0); in ns_thermal_probe()
60 if (WARN_ON(!ns_thermal->pvtmon)) in ns_thermal_probe()
67 iounmap(ns_thermal->pvtmon); in ns_thermal_probe()
80 iounmap(ns_thermal->pvtmon); in ns_thermal_remove()

Completed in 2 milliseconds