Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/pci/hotplug/
Dpciehp_ctrl.c168 case ON_STATE: in pciehp_handle_button_press()
169 if (ctrl->state == ON_STATE) { in pciehp_handle_button_press()
193 ctrl->state = ON_STATE; in pciehp_handle_button_press()
240 case ON_STATE: in pciehp_handle_presence_or_link_change()
324 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()
385 case ON_STATE: in pciehp_sysfs_enable_slot()
407 case ON_STATE: in pciehp_sysfs_disable_slot()
Dpciehp_core.c169 (!occupied && (ctrl->state == ON_STATE || in pciehp_check_presence()
277 if (ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) in pciehp_resume_noirq()
304 if ((ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) && in pciehp_runtime_resume()
Dpciehp.h125 #define ON_STATE 5 macro
Dpciehp_hpc.c846 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()