Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/broadcom/
H A Dns-thermal.c17 struct ns_thermal { struct
24 struct ns_thermal *ns_thermal = data; in ns_thermal_get_temp() local
25 int offset = thermal_zone_get_offset(ns_thermal->tz); in ns_thermal_get_temp()
26 int slope = thermal_zone_get_slope(ns_thermal->tz); in ns_thermal_get_temp()
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()
53 struct ns_thermal *ns_thermal; in ns_thermal_probe() local
78 struct ns_thermal *ns_thermal = platform_get_drvdata(pdev); ns_thermal_remove() local
[all...]

Completed in 1 milliseconds