1 #ifndef __ACPI_ACPI_THERMAL_H
2 #define __ACPI_ACPI_THERMAL_H
6 #define ACPI_THERMAL_MAGIC 's'
8 #define ACPI_THERMAL_GET_TRT_LEN _IOR(ACPI_THERMAL_MAGIC, 1, unsigned long)
9 #define ACPI_THERMAL_GET_ART_LEN _IOR(ACPI_THERMAL_MAGIC, 2, unsigned long)
10 #define ACPI_THERMAL_GET_TRT_COUNT _IOR(ACPI_THERMAL_MAGIC, 3, unsigned long)
11 #define ACPI_THERMAL_GET_ART_COUNT _IOR(ACPI_THERMAL_MAGIC, 4, unsigned long)
13 #define ACPI_THERMAL_GET_TRT _IOR(ACPI_THERMAL_MAGIC, 5, unsigned long)
14 #define ACPI_THERMAL_GET_ART _IOR(ACPI_THERMAL_MAGIC, 6, unsigned long)
43 #define ACPI_NR_ART_ELEMENTS 13
47 char source_device[8]; /* ACPI single name */
48 char target_device[8]; /* ACPI single name */
61 u64 __data[ACPI_NR_ART_ELEMENTS];
66 char source_device[8]; /* ACPI single name */
67 char target_device[8]; /* ACPI single name */
76 int acpi_thermal_rel_misc_device_add(acpi_handle handle);
77 int acpi_thermal_rel_misc_device_remove(acpi_handle handle);
78 int acpi_parse_art(acpi_handle handle, int *art_count, struct art **arts,
80 int acpi_parse_trt(acpi_handle handle, int *trt_count, struct trt **trts,
84 #endif /* __ACPI_ACPI_THERMAL_H */