1 #ifndef __NVBIOS_THERM_H__
2 #define __NVBIOS_THERM_H__
6 struct nvbios_therm_threshold {
11 struct nvbios_therm_sensor {
20 struct nvbios_therm_threshold thrs_fan_boost;
21 struct nvbios_therm_threshold thrs_down_clock;
22 struct nvbios_therm_threshold thrs_critical;
23 struct nvbios_therm_threshold thrs_shutdown;
26 /* no vbios have more than 6 */
27 #define NOUVEAU_TEMP_FAN_TRIP_MAX 10
28 struct nouveau_therm_trip_point {
34 struct nvbios_therm_fan {
43 struct nouveau_therm_trip_point trip[NOUVEAU_TEMP_FAN_TRIP_MAX];
49 enum nvbios_therm_domain {
50 NVBIOS_THERM_DOMAIN_CORE,
51 NVBIOS_THERM_DOMAIN_AMBIENT,
55 nvbios_therm_sensor_parse(struct nouveau_bios *, enum nvbios_therm_domain,
56 struct nvbios_therm_sensor *);
59 nvbios_therm_fan_parse(struct nouveau_bios *, struct nvbios_therm_fan *);