hp_state
(void) printf(" (%s)", state_itoa(hp_state(node)));
(void) printf(" (%s)", state_itoa(hp_state(node)));
(void) printf(" (%s)", state_itoa(hp_state(node)));
(void) printf(" (%s)", state_itoa(hp_state(node)));
if (hp_state(root) != DDI_HP_CN_STATE_ENABLED) {
if (hp_state(root) >= DDI_HP_CN_STATE_POWERED) {
HP_IS_ENABLED(root->hp_state) && !HP_IS_ENABLED(target_state))
HP_IS_ONLINE(root->hp_state) && HP_IS_OFFLINE(target_state))
*old_statep = hp_state(root);
node->hp_state = di_hp_state(hp);
if ((type == HP_NODE_PORT) && HP_IS_OFFLINE(hp_state(node)))
state = hp_state(connector);
DBG(1, ("cfga_get_state:(%x)\n", hp_state(port)));
if (hp_state(port) >= DDI_HP_CN_STATE_OFFLINE)
state = hp_state(node);
return (DI_HP(hp)->hp_state);
node->hp_state = val_uint32;
return (node->hp_state);
if ((rv = nvlist_add_uint32(nvl, HP_INFO_STATE, node->hp_state)) != 0)
int hp_state(hp_node_t node);
int hp_state;
me->hp_state = (int)hp_hdl->cn_info.cn_state;
int hp_state; /* current hotplug state */