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_zone_device_priv(thermal);
96 if (!np || !of_property_read_u32(np, "st,thermal-flags", &val)) {
105 /* Enable thermal sensor */
128 dev_err(&pdev->dev, "thermal zone device is NULL\n");
134 dev_err(&pdev->dev, "Cannot enable thermal zone\n");
171 { .compatible = "st,thermal-spear1340" },
189 MODULE_DESCRIPTION("SPEAr thermal driver");