Lines Matching defs:envctrlunit
721 struct envctrlunit { struct
722 struct envctrl_pcd8584_regs *bus_ctl_regs;
723 ddi_acc_handle_t ctlr_handle;
724 kmutex_t umutex; /* lock for this structure */
725 int instance;
726 dev_info_t *dip; /* device information */
727 struct envctrl_ps ps_kstats[MAX_DEVS]; /* kstats for powersupplies */
728 struct envctrl_fan fan_kstats[MAX_DEVS]; /* kstats for fans */
729 struct envctrl_encl encl_kstats[MAX_DEVS]; /* kstats for enclosure */
730 int cpu_pr_location[ENVCTRL_MAX_CPUS]; /* slot true if cpu present */
731 uint_t num_fans_present;
732 uint_t num_ps_present;
733 uint_t num_encl_present;
734 uint_t num_cpus_present;
735 kstat_t *psksp;
736 kstat_t *fanksp;
737 kstat_t *enclksp;
738 ddi_iblock_cookie_t ic_trap_cookie; /* interrupt cookie */
739 queue_t *readq; /* pointer to readq */
740 queue_t *writeq; /* pointer to writeq */
741 mblk_t *msg; /* current message block */
743 boolean_t suspended; /* TRUE if driver suspended */
744 boolean_t oflag; /* already open */
745 int current_mode; /* NORMAL or DIAG_MODE */
746 int AFB_present; /* is the AFB present */
747 timeout_id_t timeout_id; /* timeout id */
748 timeout_id_t pshotplug_id; /* ps poll id */
749 int ps_present[MAXPS+1]; /* PS present t/f 0 not used */
750 int num_fans_failed; /* don't change fan speed if > 0 */
751 int activity_led_blink;
752 int present_led_state; /* is it on or off?? */
753 timeout_id_t blink_timeout_id;
754 int initting; /* 1 is TRUE , 0 is FALSE , used to mask intrs */
755 boolean_t shutdown; /* TRUE = power off in error event */