Home
last modified time | relevance | path

Searched refs:ON_STATE (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A 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()
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()
H A 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()
H A Dpciehp.h124 * @ON_STATE: slot is powered on, subordinate devices have been enumerated
131 #define ON_STATE 5 macro
H A Dpciehp_hpc.c737 ctrl->state == ON_STATE) { in pciehp_ist()
986 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dpciehp_ctrl.c166 case ON_STATE: in pciehp_handle_button_press()
167 if (ctrl->state == ON_STATE) { in pciehp_handle_button_press()
190 ctrl->state = ON_STATE; in pciehp_handle_button_press()
239 case ON_STATE: in pciehp_handle_presence_or_link_change()
331 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()
393 case ON_STATE: in pciehp_sysfs_enable_slot()
415 case ON_STATE: in pciehp_sysfs_disable_slot()
H A 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()
H A Dpciehp.h127 * @ON_STATE: slot is powered on, subordinate devices have been enumerated
134 #define ON_STATE 5 macro
H A Dpciehp_hpc.c734 ctrl->state == ON_STATE) { in pciehp_ist()
875 if (ctrl->state != ON_STATE) in pciehp_slot_reset()
1011 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()

Completed in 7 milliseconds