Searched refs:hp_state (Results 1 – 12 of 12) sorted by relevance
89 *old_statep = hp_state(root); in changestate()239 HP_IS_ENABLED(root->hp_state) && !HP_IS_ENABLED(target_state)) in check_rcm_required()247 HP_IS_ONLINE(root->hp_state) && HP_IS_OFFLINE(target_state)) in check_rcm_required()
500 node->hp_state = di_hp_state(hp); in new_hotplug_node()
388 if ((type == HP_NODE_PORT) && HP_IS_OFFLINE(hp_state(node))) in resource_callback()
505 if (hp_state(root) != DDI_HP_CN_STATE_ENABLED) { in cmd_disable()569 if (hp_state(root) >= DDI_HP_CN_STATE_POWERED) { in cmd_poweron()1046 (void) printf(" (%s)", state_itoa(hp_state(node))); in list_cb()1052 (void) printf(" (%s)", state_itoa(hp_state(node))); in list_cb()1086 (void) printf(" (%s)", state_itoa(hp_state(node))); in list_long_cb()1091 (void) printf(" (%s)", state_itoa(hp_state(node))); in list_long_cb()
46 int hp_state; member
84 int hp_state(hp_node_t node);
49 hp_state;
254 hp_state(hp_node_t node) in hp_state() function271 return (node->hp_state); in hp_state()963 if ((rv = nvlist_add_uint32(nvl, HP_INFO_STATE, node->hp_state)) != 0) in i_hp_pack_node()1115 node->hp_state = val_uint32; in i_hp_unpack_node()
552 state = hp_state(connector); in cfga_get_state()579 DBG(1, ("cfga_get_state:(%x)\n", hp_state(port))); in cfga_get_state()586 if (hp_state(port) >= DDI_HP_CN_STATE_OFFLINE) in cfga_get_state()646 state = hp_state(node); in cfga_change_state()
341 int hp_state; /* current hotplug state */ member
2718 return (DI_HP(hp)->hp_state); in di_hp_state()
3572 me->hp_state = (int)hp_hdl->cn_info.cn_state; in di_gethpdata()