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