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()322 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()384 case ON_STATE: in pciehp_sysfs_enable_slot()406 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
743 ctrl->state == ON_STATE) { in pciehp_ist()882 if (ctrl->state != ON_STATE) in pciehp_slot_reset()1018 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()