Searched refs:ON_STATE (Results 1 – 4 of 4) sorted by relevance
166 case ON_STATE: in pciehp_handle_button_press()167 if (ctrl->state == ON_STATE) { in pciehp_handle_button_press()191 ctrl->state = ON_STATE; in pciehp_handle_button_press()238 case ON_STATE: in pciehp_handle_presence_or_link_change()330 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()392 case ON_STATE: in pciehp_sysfs_enable_slot()414 case ON_STATE: in pciehp_sysfs_disable_slot()
175 (!occupied && (ctrl->state == ON_STATE || in pciehp_check_presence()295 if (ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) in pciehp_resume_noirq()329 if ((ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) && in pciehp_runtime_resume()
134 #define ON_STATE 5 macro
737 ctrl->state == ON_STATE) { in pciehp_ist()876 if (ctrl->state != ON_STATE) in pciehp_slot_reset()1012 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()