Searched refs:ON_STATE (Results 1 – 4 of 4) sorted by relevance
162 case ON_STATE: in pciehp_handle_button_press()163 if (p_slot->state == ON_STATE) { in pciehp_handle_button_press()187 p_slot->state = ON_STATE; in pciehp_handle_button_press()237 case ON_STATE: in pciehp_handle_presence_or_link_change()326 slot->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()389 case ON_STATE: in pciehp_sysfs_enable_slot()411 case ON_STATE: in pciehp_sysfs_disable_slot()
224 (!occupied && (slot->state == ON_STATE || in pciehp_check_presence()320 if (slot->state == ON_STATE || slot->state == BLINKINGOFF_STATE) in pciehp_resume_noirq()
149 #define ON_STATE 5 macro
821 slot->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init_slot()