Searched refs:NR_CHIPS (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_rm31.c45 #define NR_CHIPS 2 macro
46 #define NR_CPU_FANS 3 * NR_CHIPS
49 static struct wf_sensor *sens_cpu_temp[NR_CHIPS];
50 static struct wf_sensor *sens_cpu_volts[NR_CHIPS];
51 static struct wf_sensor *sens_cpu_amps[NR_CHIPS];
56 static struct wf_control *cpu_fans[NR_CHIPS][3];
65 static const struct mpu_data *cpu_mpu_data[NR_CHIPS];
66 static struct wf_cpu_pid_state cpu_pid[NR_CHIPS];
701 if (nr_chips > NR_CHIPS) wf_rm31_init()
702 nr_chips = NR_CHIPS; wf_rm31_init()
H A Dwindfarm_pm72.c45 #define NR_CHIPS 2 macro
46 #define NR_CPU_FANS 3 * NR_CHIPS
49 static struct wf_sensor *sens_cpu_temp[NR_CHIPS];
50 static struct wf_sensor *sens_cpu_volts[NR_CHIPS];
51 static struct wf_sensor *sens_cpu_amps[NR_CHIPS];
55 static struct wf_control *cpu_front_fans[NR_CHIPS];
56 static struct wf_control *cpu_rear_fans[NR_CHIPS];
57 static struct wf_control *cpu_pumps[NR_CHIPS];
73 static const struct mpu_data *cpu_mpu_data[NR_CHIPS];
74 static struct wf_cpu_pid_state cpu_pid[NR_CHIPS];
809 if (nr_chips > NR_CHIPS) wf_pm72_init()
810 nr_chips = NR_CHIPS; wf_pm72_init()
H A Dwindfarm_pm112.c45 #define NR_CHIPS 2 macro
47 #define NR_CPU_FANS 3 * NR_CHIPS

Completed in 111 milliseconds