Searched refs:DDI_HP_CN_STATE_ENABLED (Results 1 – 12 of 12) sorted by relevance
269 if (slot_p->hs_info.cn_state >= DDI_HP_CN_STATE_ENABLED) in pciehpc_acpi_slotinfo_init()321 if (slot_p->hs_info.cn_state == DDI_HP_CN_STATE_ENABLED) { in pciehpc_acpi_slot_poweron()527 target_state = DDI_HP_CN_STATE_ENABLED; in pciehpc_acpi_notify_handler()534 if (slot_p->hs_info.cn_state == DDI_HP_CN_STATE_ENABLED) in pciehpc_acpi_notify_handler()
46 DDI_HP_CN_STATE_ENABLED = 0x4000, /* Enabled */ enumerator
37 #define HP_IS_ENABLED(s) (s == DDI_HP_CN_STATE_ENABLED)
741 case DDI_HP_CN_STATE_ENABLED: in state_str()
479 DDI_HP_CN_STATE_ENABLED) || (cdip == NULL)) { in pcishpc_slot_get_property()1033 if (slot_p->hs_info.cn_state >= DDI_HP_CN_STATE_ENABLED) in pcishpc_register_slot()1266 DDI_HP_CN_STATE_ENABLED) != DDI_SUCCESS) { in pcishpc_slot_poweron()1273 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_ENABLED; in pcishpc_slot_poweron()1497 if (target_state > DDI_HP_CN_STATE_ENABLED) { in pcishpc_upgrade_slot_state()1520 DDI_HP_CN_STATE_ENABLED; in pcishpc_upgrade_slot_state()1557 case DDI_HP_CN_STATE_ENABLED: in pcishpc_downgrade_slot_state()2277 return (DDI_HP_CN_STATE_ENABLED); in pcishpc_slot_shpc_to_hpc()2300 case DDI_HP_CN_STATE_ENABLED: in pcishpc_slot_hpc_to_shpc()2319 else if (state == DDI_HP_CN_STATE_ENABLED) in pcishpc_slot_textslotstate()
382 DDI_HP_CN_STATE_ENABLED) { in pciehpc_intr()549 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_ENABLED; in pciehpc_get_slot_state()831 if (slot_p->hs_info.cn_state >= DDI_HP_CN_STATE_ENABLED) in pciehpc_slotinfo_init()1396 if (target_state > DDI_HP_CN_STATE_ENABLED) { in pciehpc_upgrade_slot_state()1421 DDI_HP_CN_STATE_ENABLED; in pciehpc_upgrade_slot_state()1459 case DDI_HP_CN_STATE_ENABLED: in pciehpc_downgrade_slot_state()1615 != DDI_HP_CN_STATE_ENABLED) || (cdip == NULL)) { in pciehpc_slot_get_property()
1031 (*(ddi_hp_cn_state_t *)arg == DDI_HP_CN_STATE_ENABLED)) in pcie_hp_common_ops()
43 case DDI_HP_CN_STATE_ENABLED: in ddihp_get_cn_state()
597 curr_state == DDI_HP_CN_STATE_ENABLED) { in ddihp_cn_pre_change_state()660 new_state == DDI_HP_CN_STATE_ENABLED) { in ddihp_cn_post_change_state()760 if (online && hdlp->cn_info.cn_state < DDI_HP_CN_STATE_ENABLED) { in ddihp_cn_change_children_state()
83 { DDI_HP_CN_STATE_ENABLED, "ENABLED", 1 },445 rv = hp_set_state(root, 0, DDI_HP_CN_STATE_ENABLED, &results); in cmd_enable()505 if (hp_state(root) != DDI_HP_CN_STATE_ENABLED) { in cmd_disable()
531 *state = DDI_HP_CN_STATE_ENABLED; in cfga_target_state()563 case DDI_HP_CN_STATE_ENABLED: in cfga_get_state()722 } else if (state >= DDI_HP_CN_STATE_ENABLED) { in cfga_change_state()
537 case DDI_HP_CN_STATE_ENABLED: in hp_set_state()