Searched refs:int34x_thermal_zone (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/thermal/int340x_thermal/
H A Dint340x_thermal_zone.c25 struct int34x_thermal_zone *d = zone->devdata; int340x_thermal_get_zone_temp()
54 struct int34x_thermal_zone *d = zone->devdata; int340x_thermal_get_trip_temp()
87 struct int34x_thermal_zone *d = zone->devdata; int340x_thermal_get_trip_type()
119 struct int34x_thermal_zone *d = zone->devdata; int340x_thermal_set_trip_temp()
141 struct int34x_thermal_zone *d = zone->devdata; int340x_thermal_get_trip_hyst()
185 struct int34x_thermal_zone *int340x_thermal_zone_add(struct acpi_device *adev, int340x_thermal_zone_add()
188 struct int34x_thermal_zone *int34x_thermal_zone; int340x_thermal_zone_add() local
194 int34x_thermal_zone = kzalloc(sizeof(*int34x_thermal_zone), int340x_thermal_zone_add()
196 if (!int34x_thermal_zone) int340x_thermal_zone_add()
199 int34x_thermal_zone->adev = adev; int340x_thermal_zone_add()
200 int34x_thermal_zone->override_ops = override_ops; int340x_thermal_zone_add()
206 int34x_thermal_zone->aux_trips = kzalloc( int340x_thermal_zone_add()
207 sizeof(*int34x_thermal_zone->aux_trips) * int340x_thermal_zone_add()
209 if (!int34x_thermal_zone->aux_trips) { int340x_thermal_zone_add()
214 int34x_thermal_zone->aux_trip_nr = trip_cnt; int340x_thermal_zone_add()
217 int34x_thermal_zone->crt_trip_id = -1; int340x_thermal_zone_add()
219 &int34x_thermal_zone->crt_temp)) int340x_thermal_zone_add()
220 int34x_thermal_zone->crt_trip_id = trip_cnt++; int340x_thermal_zone_add()
221 int34x_thermal_zone->hot_trip_id = -1; int340x_thermal_zone_add()
223 &int34x_thermal_zone->hot_temp)) int340x_thermal_zone_add()
224 int34x_thermal_zone->hot_trip_id = trip_cnt++; int340x_thermal_zone_add()
225 int34x_thermal_zone->psv_trip_id = -1; int340x_thermal_zone_add()
227 &int34x_thermal_zone->psv_temp)) int340x_thermal_zone_add()
228 int34x_thermal_zone->psv_trip_id = trip_cnt++; int340x_thermal_zone_add()
233 &int34x_thermal_zone->act_trips[i].temp)) int340x_thermal_zone_add()
236 int34x_thermal_zone->act_trips[i].id = trip_cnt++; int340x_thermal_zone_add()
237 int34x_thermal_zone->act_trips[i].valid = true; int340x_thermal_zone_add()
239 int34x_thermal_zone->lpat_table = acpi_lpat_get_conversion_table( int340x_thermal_zone_add()
242 int34x_thermal_zone->zone = thermal_zone_device_register( int340x_thermal_zone_add()
245 trip_mask, int34x_thermal_zone, int340x_thermal_zone_add()
249 if (IS_ERR(int34x_thermal_zone->zone)) { int340x_thermal_zone_add()
250 ret = PTR_ERR(int34x_thermal_zone->zone); int340x_thermal_zone_add()
254 return int34x_thermal_zone; int340x_thermal_zone_add()
257 acpi_lpat_free_conversion_table(int34x_thermal_zone->lpat_table); int340x_thermal_zone_add()
258 kfree(int34x_thermal_zone->aux_trips); int340x_thermal_zone_add()
260 kfree(int34x_thermal_zone); int340x_thermal_zone_add()
265 void int340x_thermal_zone_remove(struct int34x_thermal_zone int340x_thermal_zone_remove() argument
266 *int34x_thermal_zone) int340x_thermal_zone_remove()
268 thermal_zone_device_unregister(int34x_thermal_zone->zone); int340x_thermal_zone_remove()
269 acpi_lpat_free_conversion_table(int34x_thermal_zone->lpat_table); int340x_thermal_zone_remove()
270 kfree(int34x_thermal_zone->aux_trips); int340x_thermal_zone_remove()
271 kfree(int34x_thermal_zone); int340x_thermal_zone_remove()
H A Dint340x_thermal_zone.h29 struct int34x_thermal_zone { struct
46 struct int34x_thermal_zone *int340x_thermal_zone_add(struct acpi_device *,
48 void int340x_thermal_zone_remove(struct int34x_thermal_zone *);
51 struct int34x_thermal_zone *tzone, void *priv_data) int340x_thermal_zone_set_priv_data()
57 struct int34x_thermal_zone *tzone) int340x_thermal_zone_get_priv_data()
63 struct int34x_thermal_zone *tzone) int340x_thermal_zone_device_update()
H A Dint3402_thermal.c24 struct int34x_thermal_zone *int340x_zone;
H A Dint3403_thermal.c32 struct int34x_thermal_zone *int340x_zone;
H A Dprocessor_thermal_device.c49 struct int34x_thermal_zone *int340x_zone;

Completed in 158 milliseconds