NUM_FAN
u16 fan[NUM_FAN][2]; /* Register values, [nr][0]=fan, [1]=min */
for (i = 0; i < NUM_FAN; i++) {
static const u16 NCT6775_REG_FAN_PULSES[NUM_FAN] = {
static const u16 NCT6775_FAN_PULSE_SHIFT[NUM_FAN] = { };
static const u16 NCT6776_REG_FAN_PULSES[NUM_FAN] = {
static const u16 NCT6779_REG_FAN_PULSES[NUM_FAN] = {
static const u16 NCT6791_REG_WEIGHT_TEMP_SEL[NUM_FAN] = { 0, 0x239 };
static const u16 NCT6791_REG_WEIGHT_TEMP_STEP[NUM_FAN] = { 0, 0x23a };
static const u16 NCT6791_REG_WEIGHT_TEMP_STEP_TOL[NUM_FAN] = { 0, 0x23b };
static const u16 NCT6791_REG_WEIGHT_DUTY_STEP[NUM_FAN] = { 0, 0x23c };
static const u16 NCT6791_REG_WEIGHT_TEMP_BASE[NUM_FAN] = { 0, 0x23d };
static const u16 NCT6791_REG_WEIGHT_DUTY_BASE[NUM_FAN] = { 0, 0x23e };
unsigned int rpm[NUM_FAN];
u16 fan_min[NUM_FAN];
u8 fan_pulses[NUM_FAN];
u8 fan_div[NUM_FAN];
u8 pwm_mode[NUM_FAN]; /* 0->DC variable voltage,
enum pwm_enable pwm_enable[NUM_FAN];
u8 pwm[7][NUM_FAN]; /* [0]=pwm, [1]=pwm_start, [2]=pwm_floor,
u8 target_temp[NUM_FAN];
u32 target_speed[NUM_FAN];
u32 target_speed_tolerance[NUM_FAN];
u8 temp_tolerance[2][NUM_FAN];
u8 fan_time[3][NUM_FAN]; /* 0 = stop_time, 1 = step_up, 2 = step_down */
u8 auto_pwm[NUM_FAN][7];
u8 auto_temp[NUM_FAN][7];
u8 pwm_temp_sel[NUM_FAN];
u8 pwm_weight_temp_sel[NUM_FAN];
u8 weight_temp[3][NUM_FAN]; /* 0->temp_step, 1->temp_step_tol,