Lines Matching full:thermal
3 * Broadcom AVS RO thermal sensor driver
21 #include <linux/thermal.h>
31 struct thermal_zone_device *thermal; member
37 int slope = thermal_zone_get_slope(priv->thermal); in bcm2711_get_temp()
38 int offset = thermal_zone_get_offset(priv->thermal); in bcm2711_get_temp()
62 { .compatible = "brcm,bcm2711-thermal" },
69 struct thermal_zone_device *thermal; in bcm2711_thermal_probe() local
91 thermal = devm_thermal_zone_of_sensor_register(dev, 0, priv, in bcm2711_thermal_probe()
93 if (IS_ERR(thermal)) { in bcm2711_thermal_probe()
94 ret = PTR_ERR(thermal); in bcm2711_thermal_probe()
99 priv->thermal = thermal; in bcm2711_thermal_probe()
101 thermal->tzp->no_hwmon = false; in bcm2711_thermal_probe()
102 ret = thermal_add_hwmon_sysfs(thermal); in bcm2711_thermal_probe()
120 MODULE_DESCRIPTION("Broadcom AVS RO thermal sensor driver");