Lines Matching defs:thermal
3 * SPEAr thermal driver.
17 #include <linux/thermal.h>
23 /* pointer to base address of the thermal sensor */
27 /* pointer to thermal flags */
31 static inline int thermal_get_temp(struct thermal_zone_device *thermal,
34 struct spear_thermal_dev *stdev = thermal->devdata;
97 if (!np || !of_property_read_u32(np, "st,thermal-flags", &val)) {
106 /* Enable thermal sensor */
130 dev_err(&pdev->dev, "thermal zone device is NULL\n");
136 dev_err(&pdev->dev, "Cannot enable thermal zone\n");
173 { .compatible = "st,thermal-spear1340" },
191 MODULE_DESCRIPTION("SPEAr thermal driver");