Lines Matching refs:envctrlunit
73 static void envctrl_init_bus(struct envctrlunit *);
74 static int envctrl_xmit(struct envctrlunit *, caddr_t *, int);
75 static void envctrl_recv(struct envctrlunit *, caddr_t *, int);
76 static void envctrl_get_sys_temperatures(struct envctrlunit *, uint8_t *);
77 static int envctrl_get_lm75_temp(struct envctrlunit *);
78 static int envctrl_get_ps_temp(struct envctrlunit *, uint8_t);
79 static int envctrl_get_cpu_temp(struct envctrlunit *, int);
80 static void envctrl_fan_fail_service(struct envctrlunit *);
81 static void envctrl_PS_intr_service(struct envctrlunit *, uint8_t);
82 static void envctrl_ps_probe(struct envctrlunit *);
86 static void envctrl_reset_dflop(struct envctrlunit *);
87 static void envctrl_enable_devintrs(struct envctrlunit *);
88 static void envctrl_stop_clock(struct envctrlunit *);
89 static void envctrl_reset_watchdog(struct envctrlunit *, uint8_t *);
91 static uint8_t envctrl_get_fpm_status(struct envctrlunit *);
92 static void envctrl_set_fsp(struct envctrlunit *, uint8_t *);
93 static int envctrl_set_dskled(struct envctrlunit *,
95 static int envctrl_get_dskled(struct envctrlunit *,
97 static void envctrl_probe_cpus(struct envctrlunit *);
99 static int envctrl_isother_fault_led(struct envctrlunit *,
103 static void envctrl_add_kstats(struct envctrlunit *);
107 static void envctrl_init_fan_kstats(struct envctrlunit *);
108 static void envctrl_init_encl_kstats(struct envctrlunit *);
109 static void envctrl_add_encl_kstats(struct envctrlunit *, int, int,
111 static void envctrl_mod_encl_kstats(struct envctrlunit *, int, int,
388 sizeof (struct envctrlunit), 1);
417 struct envctrlunit *unitp;
750 struct envctrlunit *unitp;
819 struct envctrlunit *unitp;
825 if ((unitp = (struct envctrlunit *)
851 struct envctrlunit *unitp;
858 unitp = (struct envctrlunit *)
897 struct envctrlunit *unitp;
899 unitp = (struct envctrlunit *)q->q_ptr;
921 struct envctrlunit *unitp;
930 unitp = (struct envctrlunit *)q->q_ptr;
1296 struct envctrlunit *unitp = (struct envctrlunit *)(void *)arg;
1312 struct envctrlunit *unitp = (struct envctrlunit *)(void *)arg;
1448 envctrl_init_bus(struct envctrlunit *unitp)
1523 envctrl_xmit(struct envctrlunit *unitp, caddr_t *data, int chip_type)
1643 envctrl_recv(struct envctrlunit *unitp, caddr_t *data, int chip_type)
1736 envctrl_get_ps_temp(struct envctrlunit *unitp, uint8_t psaddr)
1796 envctrl_get_cpu_temp(struct envctrlunit *unitp, int cpunum)
1849 envctrl_get_lm75_temp(struct envctrlunit *unitp)
1901 struct envctrlunit *unitp = (struct envctrlunit *)arg;
1939 struct envctrlunit *unitp = (struct envctrlunit *)arg;
1972 envctrl_get_sys_temperatures(struct envctrlunit *unitp, uint8_t *diag_tempr)
2206 envctrl_fan_fail_service(struct envctrlunit *unitp)
2385 envctrl_PS_intr_service(struct envctrlunit *unitp, uint8_t psaddr)
2428 envctrl_reset_dflop(struct envctrlunit *unitp)
2453 envctrl_add_encl_kstats(struct envctrlunit *unitp, int type,
2475 envctrl_enable_devintrs(struct envctrlunit *unitp)
2505 envctrl_stop_clock(struct envctrlunit *unitp)
2531 envctrl_reset_watchdog(struct envctrlunit *unitp, uint8_t *wdval)
2633 envctrl_ps_probe(struct envctrlunit *unitp)
2809 struct envctrlunit *unitp;
2819 if (unitp = (struct envctrlunit *)
2855 envctrl_get_fpm_status(struct envctrlunit *unitp)
2893 envctrl_set_fsp(struct envctrlunit *unitp, uint8_t *val)
2914 envctrl_get_dskled(struct envctrlunit *unitp, struct envctrl_pcf8574_chip *chip)
2934 envctrl_set_dskled(struct envctrlunit *unitp, struct envctrl_pcf8574_chip *chip)
3037 envctrl_add_kstats(struct envctrlunit *unitp)
3087 struct envctrlunit *unitp;
3092 unitp = (struct envctrlunit *)ksp->ks_private;
3112 struct envctrlunit *unitp;
3116 unitp = (struct envctrlunit *)ksp->ks_private;
3134 struct envctrlunit *unitp;
3139 unitp = (struct envctrlunit *)ksp->ks_private;
3162 envctrl_init_fan_kstats(struct envctrlunit *unitp)
3184 envctrl_init_encl_kstats(struct envctrlunit *unitp)
3253 envctrl_mod_encl_kstats(struct envctrlunit *unitp, int type,
3272 envctrl_probe_cpus(struct envctrlunit *unitp)
3303 struct envctrlunit *unitp = (struct envctrlunit *)arg;
3335 envctrl_isother_fault_led(struct envctrlunit *unitp, uint8_t fspval,
3358 struct envctrlunit *unitp = (struct envctrlunit *)arg;