Lines Matching refs:device

15 #include <linux/device.h>
29 /* Default weight of a bound cooling device */
54 THERMAL_DEVICE_DOWN, /* Thermal device is down */
55 THERMAL_DEVICE_UP, /* Thermal device is up after a down event */
90 struct device device;
95 bool updated; /* true if the cooling device does not need update */
104 * @type: the thermal zone device type
105 * @device: &struct device for this thermal zone
110 * @devdata: private pointer for device private data
147 struct device device;
206 * rest of the weights so a cooling device whose weight is
207 * double that of another cooling device is twice as
312 struct thermal_zone_device *thermal_zone_of_sensor_register(struct device *dev, int id, void *data,
314 void thermal_zone_of_sensor_unregister(struct device *dev, struct thermal_zone_device *tz);
315 struct thermal_zone_device *devm_thermal_zone_of_sensor_register(struct device *dev, int id, void *data,
317 void devm_thermal_zone_of_sensor_unregister(struct device *dev, struct thermal_zone_device *tz);
324 static inline struct thermal_zone_device *thermal_zone_of_sensor_register(struct device *dev, int id, void *data,
330 static inline void thermal_zone_of_sensor_unregister(struct device *dev, struct thermal_zone_device *tz)
335 devm_thermal_zone_of_sensor_register(struct device *dev, int id, void *data,
341 static inline void devm_thermal_zone_of_sensor_unregister(struct device *dev, struct thermal_zone_device *tz)
362 struct thermal_cooling_device *devm_thermal_of_cooling_device_register(struct device *dev, struct device_node *np,
398 devm_thermal_of_cooling_device_register(struct device *dev, struct device_node *np, char *type, void *devdata,