Searched defs:tzd (Results 1 - 5 of 5) sorted by relevance
/drivers/platform/x86/ |
H A D | intel_mid_thermal.c | 89 struct thermal_zone_device *tzd[MSIC_THERMAL_SENSORS]; member in struct:platform_info 177 static int mid_read_temp(struct thermal_zone_device *tzd, unsigned long *temp) argument 179 struct thermal_device_info *td_info = tzd->devdata; 456 static int read_curr_temp(struct thermal_zone_device *tzd, unsigned long *temp) argument 458 WARN_ON(tzd == NULL); 459 return mid_read_temp(tzd, temp); 504 pinfo->tzd[i] = thermal_zone_device_register(name[i], 506 if (IS_ERR(pinfo->tzd[i])) { 508 ret = PTR_ERR(pinfo->tzd[i]); 519 kfree(pinfo->tzd[ [all...] |
/drivers/power/ |
H A D | power_supply_core.c | 394 static int power_supply_read_temp(struct thermal_zone_device *tzd, argument 401 WARN_ON(tzd == NULL); 402 psy = tzd->devdata; 426 psy->tzd = thermal_zone_device_register(psy->name, 0, 0, 428 return PTR_ERR_OR_ZERO(psy->tzd); 436 if (IS_ERR_OR_NULL(psy->tzd)) 438 thermal_zone_device_unregister(psy->tzd);
|
/drivers/thermal/ |
H A D | intel_soc_dts_thermal.c | 108 static int sys_get_trip_temp(struct thermal_zone_device *tzd, argument 115 aux_entry = tzd->devdata; 226 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, argument 229 struct soc_sensor_entry *aux_entry = tzd->devdata; 236 status = update_trip_temp(tzd->devdata, trip, temp); 253 static int sys_get_curr_temp(struct thermal_zone_device *tzd, argument 260 aux_entry = tzd->devdata;
|
H A D | of-thermal.c | 330 struct thermal_zone_device *tzd; local 333 tzd = thermal_zone_get_zone_by_name(zone->name); 334 if (IS_ERR(tzd)) 337 tz = tzd->devdata; 339 mutex_lock(&tzd->lock); 344 tzd->ops->get_temp = of_thermal_get_temp; 345 tzd->ops->get_trend = of_thermal_get_trend; 346 mutex_unlock(&tzd->lock); 348 return tzd; 390 struct thermal_zone_device *tzd local 461 thermal_zone_of_sensor_unregister(struct device *dev, struct thermal_zone_device *tzd) argument [all...] |
H A D | x86_pkg_temp_thermal.c | 167 static int sys_get_curr_temp(struct thermal_zone_device *tzd, unsigned long *temp) argument 172 phy_dev_entry = tzd->devdata; 185 static int sys_get_trip_temp(struct thermal_zone_device *tzd, argument 197 phy_dev_entry = tzd->devdata; 222 static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, argument 230 phy_dev_entry = tzd->devdata;
|
Completed in 96 milliseconds