Home
last modified time | relevance | path

Searched refs:power_inst (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dpower.c117 static int power_inst = -1; variable
284 if (power_inst == -1) in power_getinfo()
289 if ((softsp = ddi_get_soft_state(power_state, power_inst)) in power_getinfo()
296 *result = (void *)(uintptr_t)power_inst; in power_getinfo()
326 if (power_inst != -1) in power_attach()
329 power_inst = ddi_get_instance(dip); in power_attach()
331 if (ddi_soft_state_zalloc(power_state, power_inst) != DDI_SUCCESS) in power_attach()
335 (power_inst << 8) + 0, "ddi_power_button", 0) != DDI_SUCCESS) in power_attach()
338 softsp = ddi_get_soft_state(power_state, power_inst); in power_attach()
403 ddi_soft_state_free(power_state, power_inst); in power_attach()
[all …]