Lines Matching defs:state
55 * The state for each generic device.
56 * NOTE: We save the node_type in the state structure. The node_type string
58 * so ddi_remove_minor_node() must occur prior to state free.
68 int busy[COMPONENTS]; /* busy state */
258 cmn_err(CE_CONT, "%s%d: can't allocate state\n",
346 * initialize the devices' pm state
442 * create the pm-hardware-state property.
446 "pm-hardware-state", pm_hw_state) != DDI_PROP_SUCCESS) {
449 "unable to create \"pm-hardware-state\" "
901 uint_t state;
1024 * test busy state on component 0
1027 state = dstatep->busy[0];
1028 if (copyout(&state, dcp->cpyout_buf,
1037 nodename, instance, state));
1135 state = (dstatep->flag & POWER_FLAG) ? 1 : 0;
1136 if (copyout(&state, dcp->cpyout_buf,
1143 nodename, instance, "DEVCTL_PM_POWER", state));