Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pci/hotplug/
Dpciehp_ctrl.c166 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()
Dpciehp_core.c175 (!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()
Dpciehp.h134 #define ON_STATE 5 macro
Dpciehp_hpc.c743 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()