Lines Matching defs:envctrlunit
642 struct envctrlunit { struct
643 struct envctrl_pcd8584_regs *bus_ctl_regs;
644 ddi_acc_handle_t ctlr_handle;
645 kmutex_t umutex; /* lock for this structure */
646 int instance;
647 dev_info_t *dip; /* device information */
648 struct envctrl_ps ps_kstats[MAX_DEVS]; /* kstats for powersupplies */
649 struct envctrl_fan fan_kstats[MAX_DEVS]; /* kstats for fans */
650 struct envctrl_encl encl_kstats[MAX_DEVS]; /* kstats for enclosure */
651 int cpu_pr_location[ENVCTRL_MAX_CPUS]; /* slot true if cpu present */
652 uint_t num_fans_present;
653 uint_t num_ps_present;
654 uint_t num_encl_present;
655 uint_t num_cpus_present;
656 kstat_t *psksp;
657 kstat_t *fanksp;
658 kstat_t *enclksp;
659 ddi_iblock_cookie_t ic_trap_cookie; /* interrupt cookie */
660 queue_t *readq; /* pointer to readq */
661 queue_t *writeq; /* pointer to writeq */
662 mblk_t *msg; /* current message block */
664 boolean_t suspended; /* TRUE if driver suspended */
665 boolean_t oflag; /* already open */
666 int current_mode; /* NORMAL or DIAG_MODE */
667 int AFB_present; /* is the AFB present */
668 timeout_id_t timeout_id; /* timeout id */
669 timeout_id_t pshotplug_id; /* ps poll id */
670 int ps_present[MAXPS+1]; /* PS present t/f 0 not used */
671 int num_fans_failed; /* don't change fan speed if > 0 */
672 int activity_led_blink;
673 int present_led_state; /* is it on or off?? */
674 timeout_id_t blink_timeout_id;
675 int initting; /* 1 is TRUE , 0 is FALSE , used to mask intrs */
676 boolean_t shutdown; /* TRUE = power off in error event */