Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
therm.h File Reference
#include <core/device.h>
#include <core/subdev.h>

Go to the source code of this file.

Data Structures

struct  nouveau_therm
 

Macros

#define nouveau_therm_create(p, e, o, d)   nouveau_subdev_create((p), (e), (o), 0, "THERM", "therm", d)
 
#define nouveau_therm_destroy(p)   nouveau_subdev_destroy(&(p)->base)
 
#define _nouveau_therm_dtor   _nouveau_subdev_dtor
 

Enumerations

enum  nouveau_therm_fan_mode { FAN_CONTROL_NONE = 0, FAN_CONTROL_MANUAL = 1, FAN_CONTROL_NR }
 
enum  nouveau_therm_attr_type {
  NOUVEAU_THERM_ATTR_FAN_MIN_DUTY = 0, NOUVEAU_THERM_ATTR_FAN_MAX_DUTY = 1, NOUVEAU_THERM_ATTR_FAN_MODE = 2, NOUVEAU_THERM_ATTR_THRS_FAN_BOOST = 10,
  NOUVEAU_THERM_ATTR_THRS_FAN_BOOST_HYST = 11, NOUVEAU_THERM_ATTR_THRS_DOWN_CLK = 12, NOUVEAU_THERM_ATTR_THRS_DOWN_CLK_HYST = 13, NOUVEAU_THERM_ATTR_THRS_CRITICAL = 14,
  NOUVEAU_THERM_ATTR_THRS_CRITICAL_HYST = 15, NOUVEAU_THERM_ATTR_THRS_SHUTDOWN = 16, NOUVEAU_THERM_ATTR_THRS_SHUTDOWN_HYST = 17
}
 

Variables

struct nouveau_oclass nv40_therm_oclass
 
struct nouveau_oclass nv50_therm_oclass
 

Macro Definition Documentation

#define _nouveau_therm_dtor   _nouveau_subdev_dtor

Definition at line 53 of file therm.h.

#define nouveau_therm_create (   p,
  e,
  o,
  d 
)    nouveau_subdev_create((p), (e), (o), 0, "THERM", "therm", d)

Definition at line 48 of file therm.h.

#define nouveau_therm_destroy (   p)    nouveau_subdev_destroy(&(p)->base)

Definition at line 50 of file therm.h.

Enumeration Type Documentation

Enumerator:
NOUVEAU_THERM_ATTR_FAN_MIN_DUTY 
NOUVEAU_THERM_ATTR_FAN_MAX_DUTY 
NOUVEAU_THERM_ATTR_FAN_MODE 
NOUVEAU_THERM_ATTR_THRS_FAN_BOOST 
NOUVEAU_THERM_ATTR_THRS_FAN_BOOST_HYST 
NOUVEAU_THERM_ATTR_THRS_DOWN_CLK 
NOUVEAU_THERM_ATTR_THRS_DOWN_CLK_HYST 
NOUVEAU_THERM_ATTR_THRS_CRITICAL 
NOUVEAU_THERM_ATTR_THRS_CRITICAL_HYST 
NOUVEAU_THERM_ATTR_THRS_SHUTDOWN 
NOUVEAU_THERM_ATTR_THRS_SHUTDOWN_HYST 

Definition at line 13 of file therm.h.

Enumerator:
FAN_CONTROL_NONE 
FAN_CONTROL_MANUAL 
FAN_CONTROL_NR 

Definition at line 7 of file therm.h.

Variable Documentation

struct nouveau_oclass nv40_therm_oclass

Definition at line 155 of file nv40.c.

struct nouveau_oclass nv50_therm_oclass

Definition at line 149 of file nv50.c.