Home
last modified time | relevance | path

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

/linux/drivers/pci/hotplug/
H A Dpciehp_ctrl.c171 case ON_STATE: in pciehp_handle_button_press()
172 if (ctrl->state == ON_STATE) { in pciehp_handle_button_press()
195 ctrl->state = ON_STATE; in pciehp_handle_button_press()
244 case ON_STATE: in pciehp_handle_presence_or_link_change()
336 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()
398 case ON_STATE: in pciehp_sysfs_enable_slot()
420 case ON_STATE: in pciehp_sysfs_disable_slot()
H A Dpciehp_core.c176 (!occupied && (ctrl->state == ON_STATE || in pciehp_check_presence()
296 if (ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) { in pciehp_resume_noirq()
344 if ((ctrl->state == ON_STATE || ctrl->state == BLINKINGOFF_STATE) && in pciehp_runtime_resume()
H A Dpciehp.h138 #define ON_STATE 5 macro
H A Dpciehp_hpc.c770 ctrl->state == ON_STATE) { in pciehp_ist()
918 if (ctrl->state != ON_STATE) in pciehp_slot_reset()
1041 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()