Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
therm_pm72.h File Reference

Go to the source code of this file.

Data Structures

struct  mpu_data
 
struct  basckside_pid_params
 
struct  backside_pid_state
 
struct  drives_pid_state
 
struct  dimm_pid_state
 
struct  slots_pid_state
 
struct  cpu_pid_state
 

Macros

#define FIX32TOPRINT(f)   ((f) >> 16),((((f) & 0xffff) * 1000) >> 16)
 
#define MAX_CRITICAL_STATE   30
 
#define RPM_PID_USE_ACTUAL_SPEED   0
 
#define FAN_CTRLER_ID   0x15e
 
#define SUPPLY_MONITOR_ID   0x58
 
#define SUPPLY_MONITORB_ID   0x5a
 
#define DRIVES_DALLAS_ID   0x94
 
#define BACKSIDE_MAX_ID   0x98
 
#define XSERVE_DIMMS_LM87   0x25a
 
#define XSERVE_SLOTS_LM75   0x290
 
#define MAX6690_INT_TEMP   0
 
#define MAX6690_EXT_TEMP   1
 
#define DS1775_TEMP   0
 
#define LM87_INT_TEMP   0x27
 
#define ADC_12V_CURRENT_SCALE   0x0320 /* _AD2 */
 
#define ADC_CPU_VOLTAGE_SCALE   0x00a0 /* _AD3 */
 
#define ADC_CPU_CURRENT_SCALE   0x1f40 /* _AD4 */
 
#define BACKSIDE_FAN_PWM_DEFAULT_ID   1
 
#define BACKSIDE_FAN_PWM_INDEX   0
 
#define BACKSIDE_PID_U3_G_d   0x02800000
 
#define BACKSIDE_PID_U3H_G_d   0x01400000
 
#define BACKSIDE_PID_RACK_G_d   0x00500000
 
#define BACKSIDE_PID_G_p   0x00500000
 
#define BACKSIDE_PID_RACK_G_p   0x0004cccc
 
#define BACKSIDE_PID_G_r   0x00000000
 
#define BACKSIDE_PID_U3_INPUT_TARGET   0x00410000
 
#define BACKSIDE_PID_U3H_INPUT_TARGET   0x004b0000
 
#define BACKSIDE_PID_RACK_INPUT_TARGET   0x00460000
 
#define BACKSIDE_PID_INTERVAL   5
 
#define BACKSIDE_PID_RACK_INTERVAL   1
 
#define BACKSIDE_PID_OUTPUT_MAX   100
 
#define BACKSIDE_PID_U3_OUTPUT_MIN   20
 
#define BACKSIDE_PID_U3H_OUTPUT_MIN   20
 
#define BACKSIDE_PID_HISTORY_SIZE   2
 
#define DRIVES_FAN_RPM_DEFAULT_ID   2
 
#define DRIVES_FAN_RPM_INDEX   1
 
#define DRIVES_PID_G_d   0x01e00000
 
#define DRIVES_PID_G_p   0x00500000
 
#define DRIVES_PID_G_r   0x00000000
 
#define DRIVES_PID_INPUT_TARGET   0x00280000
 
#define DRIVES_PID_INTERVAL   5
 
#define DRIVES_PID_OUTPUT_MAX   4000
 
#define DRIVES_PID_OUTPUT_MIN   300
 
#define DRIVES_PID_HISTORY_SIZE   2
 
#define SLOTS_FAN_PWM_DEFAULT_ID   2
 
#define SLOTS_FAN_PWM_INDEX   2
 
#define SLOTS_FAN_DEFAULT_PWM   40 /* Do better here ! */
 
#define DIMM_PID_G_d   0
 
#define DIMM_PID_G_p   0
 
#define DIMM_PID_G_r   0x06553600
 
#define DIMM_PID_INPUT_TARGET   3276800
 
#define DIMM_PID_INTERVAL   1
 
#define DIMM_PID_OUTPUT_MAX   14000
 
#define DIMM_PID_OUTPUT_MIN   4000
 
#define DIMM_PID_HISTORY_SIZE   20
 
#define SLOTS_PID_G_d   0
 
#define SLOTS_PID_G_p   0
 
#define SLOTS_PID_G_r   0x00100000
 
#define SLOTS_PID_INPUT_TARGET   3200000
 
#define SLOTS_PID_INTERVAL   1
 
#define SLOTS_PID_OUTPUT_MAX   100
 
#define SLOTS_PID_OUTPUT_MIN   20
 
#define SLOTS_PID_HISTORY_SIZE   20
 
#define CPUA_INTAKE_FAN_RPM_DEFAULT_ID   3
 
#define CPUA_EXHAUST_FAN_RPM_DEFAULT_ID   4
 
#define CPUB_INTAKE_FAN_RPM_DEFAULT_ID   5
 
#define CPUB_EXHAUST_FAN_RPM_DEFAULT_ID   6
 
#define CPUA_INTAKE_FAN_RPM_INDEX   3
 
#define CPUA_EXHAUST_FAN_RPM_INDEX   4
 
#define CPUB_INTAKE_FAN_RPM_INDEX   5
 
#define CPUB_EXHAUST_FAN_RPM_INDEX   6
 
#define CPU_INTAKE_SCALE   0x0000f852
 
#define CPU_TEMP_HISTORY_SIZE   2
 
#define CPU_POWER_HISTORY_SIZE   10
 
#define CPU_PID_INTERVAL   1
 
#define CPU_MAX_OVERTEMP   90
 
#define CPUA_PUMP_RPM_INDEX   7
 
#define CPUB_PUMP_RPM_INDEX   8
 
#define CPU_PUMP_OUTPUT_MAX   3200
 
#define CPU_PUMP_OUTPUT_MIN   1250
 
#define CPU_A1_FAN_RPM_INDEX   9
 
#define CPU_A2_FAN_RPM_INDEX   10
 
#define CPU_A3_FAN_RPM_INDEX   11
 
#define CPU_B1_FAN_RPM_INDEX   12
 
#define CPU_B2_FAN_RPM_INDEX   13
 
#define CPU_B3_FAN_RPM_INDEX   14
 
#define FCU_TICKLE_TICKS   10
 

Typedefs

typedef unsigned short fu16
 
typedef int fs32
 
typedef short fs16
 

Enumerations

enum  { state_detached, state_attaching, state_attached, state_detaching }
 

Macro Definition Documentation

#define ADC_12V_CURRENT_SCALE   0x0320 /* _AD2 */

Definition at line 124 of file therm_pm72.h.

#define ADC_CPU_CURRENT_SCALE   0x1f40 /* _AD4 */

Definition at line 126 of file therm_pm72.h.

#define ADC_CPU_VOLTAGE_SCALE   0x00a0 /* _AD3 */

Definition at line 125 of file therm_pm72.h.

#define BACKSIDE_FAN_PWM_DEFAULT_ID   1

Definition at line 132 of file therm_pm72.h.

#define BACKSIDE_FAN_PWM_INDEX   0

Definition at line 133 of file therm_pm72.h.

#define BACKSIDE_MAX_ID   0x98

Definition at line 106 of file therm_pm72.h.

#define BACKSIDE_PID_G_p   0x00500000

Definition at line 137 of file therm_pm72.h.

#define BACKSIDE_PID_G_r   0x00000000

Definition at line 139 of file therm_pm72.h.

#define BACKSIDE_PID_HISTORY_SIZE   2

Definition at line 148 of file therm_pm72.h.

#define BACKSIDE_PID_INTERVAL   5

Definition at line 143 of file therm_pm72.h.

#define BACKSIDE_PID_OUTPUT_MAX   100

Definition at line 145 of file therm_pm72.h.

#define BACKSIDE_PID_RACK_G_d   0x00500000

Definition at line 136 of file therm_pm72.h.

#define BACKSIDE_PID_RACK_G_p   0x0004cccc

Definition at line 138 of file therm_pm72.h.

#define BACKSIDE_PID_RACK_INPUT_TARGET   0x00460000

Definition at line 142 of file therm_pm72.h.

#define BACKSIDE_PID_RACK_INTERVAL   1

Definition at line 144 of file therm_pm72.h.

#define BACKSIDE_PID_U3_G_d   0x02800000

Definition at line 134 of file therm_pm72.h.

#define BACKSIDE_PID_U3_INPUT_TARGET   0x00410000

Definition at line 140 of file therm_pm72.h.

#define BACKSIDE_PID_U3_OUTPUT_MIN   20

Definition at line 146 of file therm_pm72.h.

#define BACKSIDE_PID_U3H_G_d   0x01400000

Definition at line 135 of file therm_pm72.h.

#define BACKSIDE_PID_U3H_INPUT_TARGET   0x004b0000

Definition at line 141 of file therm_pm72.h.

#define BACKSIDE_PID_U3H_OUTPUT_MIN   20

Definition at line 147 of file therm_pm72.h.

#define CPU_A1_FAN_RPM_INDEX   9

Definition at line 280 of file therm_pm72.h.

#define CPU_A2_FAN_RPM_INDEX   10

Definition at line 281 of file therm_pm72.h.

#define CPU_A3_FAN_RPM_INDEX   11

Definition at line 282 of file therm_pm72.h.

#define CPU_B1_FAN_RPM_INDEX   12

Definition at line 283 of file therm_pm72.h.

#define CPU_B2_FAN_RPM_INDEX   13

Definition at line 284 of file therm_pm72.h.

#define CPU_B3_FAN_RPM_INDEX   14

Definition at line 285 of file therm_pm72.h.

#define CPU_INTAKE_SCALE   0x0000f852

Definition at line 268 of file therm_pm72.h.

#define CPU_MAX_OVERTEMP   90

Definition at line 272 of file therm_pm72.h.

#define CPU_PID_INTERVAL   1

Definition at line 271 of file therm_pm72.h.

#define CPU_POWER_HISTORY_SIZE   10

Definition at line 270 of file therm_pm72.h.

#define CPU_PUMP_OUTPUT_MAX   3200

Definition at line 276 of file therm_pm72.h.

#define CPU_PUMP_OUTPUT_MIN   1250

Definition at line 277 of file therm_pm72.h.

#define CPU_TEMP_HISTORY_SIZE   2

Definition at line 269 of file therm_pm72.h.

#define CPUA_EXHAUST_FAN_RPM_DEFAULT_ID   4

Definition at line 259 of file therm_pm72.h.

#define CPUA_EXHAUST_FAN_RPM_INDEX   4

Definition at line 264 of file therm_pm72.h.

#define CPUA_INTAKE_FAN_RPM_DEFAULT_ID   3

Definition at line 258 of file therm_pm72.h.

#define CPUA_INTAKE_FAN_RPM_INDEX   3

Definition at line 263 of file therm_pm72.h.

#define CPUA_PUMP_RPM_INDEX   7

Definition at line 274 of file therm_pm72.h.

#define CPUB_EXHAUST_FAN_RPM_DEFAULT_ID   6

Definition at line 261 of file therm_pm72.h.

#define CPUB_EXHAUST_FAN_RPM_INDEX   6

Definition at line 266 of file therm_pm72.h.

#define CPUB_INTAKE_FAN_RPM_DEFAULT_ID   5

Definition at line 260 of file therm_pm72.h.

#define CPUB_INTAKE_FAN_RPM_INDEX   5

Definition at line 265 of file therm_pm72.h.

#define CPUB_PUMP_RPM_INDEX   8

Definition at line 275 of file therm_pm72.h.

#define DIMM_PID_G_d   0

Definition at line 208 of file therm_pm72.h.

#define DIMM_PID_G_p   0

Definition at line 209 of file therm_pm72.h.

#define DIMM_PID_G_r   0x06553600

Definition at line 210 of file therm_pm72.h.

#define DIMM_PID_HISTORY_SIZE   20

Definition at line 215 of file therm_pm72.h.

#define DIMM_PID_INPUT_TARGET   3276800

Definition at line 211 of file therm_pm72.h.

#define DIMM_PID_INTERVAL   1

Definition at line 212 of file therm_pm72.h.

#define DIMM_PID_OUTPUT_MAX   14000

Definition at line 213 of file therm_pm72.h.

#define DIMM_PID_OUTPUT_MIN   4000

Definition at line 214 of file therm_pm72.h.

#define DRIVES_DALLAS_ID   0x94

Definition at line 105 of file therm_pm72.h.

#define DRIVES_FAN_RPM_DEFAULT_ID   2

Definition at line 177 of file therm_pm72.h.

#define DRIVES_FAN_RPM_INDEX   1

Definition at line 178 of file therm_pm72.h.

#define DRIVES_PID_G_d   0x01e00000

Definition at line 179 of file therm_pm72.h.

#define DRIVES_PID_G_p   0x00500000

Definition at line 180 of file therm_pm72.h.

#define DRIVES_PID_G_r   0x00000000

Definition at line 181 of file therm_pm72.h.

#define DRIVES_PID_HISTORY_SIZE   2

Definition at line 186 of file therm_pm72.h.

#define DRIVES_PID_INPUT_TARGET   0x00280000

Definition at line 182 of file therm_pm72.h.

#define DRIVES_PID_INTERVAL   5

Definition at line 183 of file therm_pm72.h.

#define DRIVES_PID_OUTPUT_MAX   4000

Definition at line 184 of file therm_pm72.h.

#define DRIVES_PID_OUTPUT_MIN   300

Definition at line 185 of file therm_pm72.h.

#define DS1775_TEMP   0

Definition at line 115 of file therm_pm72.h.

#define FAN_CTRLER_ID   0x15e

Definition at line 102 of file therm_pm72.h.

#define FCU_TICKLE_TICKS   10

Definition at line 313 of file therm_pm72.h.

#define FIX32TOPRINT (   f)    ((f) >> 16),((((f) & 0xffff) * 1000) >> 16)

Definition at line 65 of file therm_pm72.h.

#define LM87_INT_TEMP   0x27

Definition at line 116 of file therm_pm72.h.

#define MAX6690_EXT_TEMP   1

Definition at line 114 of file therm_pm72.h.

#define MAX6690_INT_TEMP   0

Definition at line 113 of file therm_pm72.h.

#define MAX_CRITICAL_STATE   30

Definition at line 73 of file therm_pm72.h.

#define RPM_PID_USE_ACTUAL_SPEED   0

Definition at line 88 of file therm_pm72.h.

#define SLOTS_FAN_DEFAULT_PWM   40 /* Do better here ! */

Definition at line 202 of file therm_pm72.h.

#define SLOTS_FAN_PWM_DEFAULT_ID   2

Definition at line 200 of file therm_pm72.h.

#define SLOTS_FAN_PWM_INDEX   2

Definition at line 201 of file therm_pm72.h.

#define SLOTS_PID_G_d   0

Definition at line 233 of file therm_pm72.h.

#define SLOTS_PID_G_p   0

Definition at line 234 of file therm_pm72.h.

#define SLOTS_PID_G_r   0x00100000

Definition at line 235 of file therm_pm72.h.

#define SLOTS_PID_HISTORY_SIZE   20

Definition at line 240 of file therm_pm72.h.

#define SLOTS_PID_INPUT_TARGET   3200000

Definition at line 236 of file therm_pm72.h.

#define SLOTS_PID_INTERVAL   1

Definition at line 237 of file therm_pm72.h.

#define SLOTS_PID_OUTPUT_MAX   100

Definition at line 238 of file therm_pm72.h.

#define SLOTS_PID_OUTPUT_MIN   20

Definition at line 239 of file therm_pm72.h.

#define SUPPLY_MONITOR_ID   0x58

Definition at line 103 of file therm_pm72.h.

#define SUPPLY_MONITORB_ID   0x5a

Definition at line 104 of file therm_pm72.h.

#define XSERVE_DIMMS_LM87   0x25a

Definition at line 107 of file therm_pm72.h.

#define XSERVE_SLOTS_LM75   0x290

Definition at line 108 of file therm_pm72.h.

Typedef Documentation

typedef short fs16

Definition at line 6 of file therm_pm72.h.

typedef int fs32

Definition at line 5 of file therm_pm72.h.

typedef unsigned short fu16

Definition at line 4 of file therm_pm72.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
state_detached 
state_attaching 
state_attached 
state_detaching 

Definition at line 318 of file therm_pm72.h.