Searched refs:hp_set_state (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.h52 * Define flags for hp_set_state().
91 int hp_set_state(hp_node_t node, uint_t flags, int state,
H A Dlibhotplug.c502 * hp_set_state()
507 hp_set_state(hp_node_t node, uint_t flags, int state, hp_node_t *resultsp) function
516 i_hp_dprintf("hp_set_state: node=%p, flags=0x%x, state=0x%x, "
522 i_hp_dprintf("hp_set_state: invalid arguments.\n");
529 i_hp_dprintf("hp_set_state: operation not supported.\n");
539 i_hp_dprintf("hp_set_state: mismatched target.\n");
547 i_hp_dprintf("hp_set_state: mismatched target.\n");
552 i_hp_dprintf("hp_set_state: invalid target state.\n");
/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c328 rv = hp_set_state(root, 0, DDI_HP_CN_STATE_ONLINE, &results);
390 rv = hp_set_state(root, flags, DDI_HP_CN_STATE_OFFLINE, &results);
445 rv = hp_set_state(root, 0, DDI_HP_CN_STATE_ENABLED, &results);
511 rv = hp_set_state(root, flags, DDI_HP_CN_STATE_POWERED, &results);
575 rv = hp_set_state(root, 0, DDI_HP_CN_STATE_POWERED, &results);
632 rv = hp_set_state(root, flags, DDI_HP_CN_STATE_PRESENT, &results);
838 rv = hp_set_state(root, flags, state, &results);
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c669 if (hp_set_state(node, 0, new_state, &results) != 0) {
683 rv = hp_set_state(node, hpflags, new_state, &results);
711 } else if (hp_set_state(node, 0, new_state, &results) != 0) {
723 rv = hp_set_state(node, hpflags, new_state, &results);

Completed in 92 milliseconds