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()
65 { .compatible = "brcm,bcm2711-thermal" },
72 struct thermal_zone_device *thermal; in bcm2711_thermal_probe() local
94 thermal = devm_thermal_zone_of_sensor_register(dev, 0, priv, in bcm2711_thermal_probe()
96 if (IS_ERR(thermal)) { in bcm2711_thermal_probe()
97 ret = PTR_ERR(thermal); in bcm2711_thermal_probe()
102 priv->thermal = thermal; in bcm2711_thermal_probe()
104 thermal->tzp->no_hwmon = false; in bcm2711_thermal_probe()
105 ret = thermal_add_hwmon_sysfs(thermal); in bcm2711_thermal_probe()
123 MODULE_DESCRIPTION("Broadcom AVS RO thermal sensor driver");