Searched refs:OFF_STATE (Results 1 – 4 of 4) sorted by relevance
165 case OFF_STATE: in pciehp_handle_button_press()196 ctrl->state = OFF_STATE; in pciehp_handle_button_press()261 ctrl->state = OFF_STATE; in pciehp_handle_presence_or_link_change()276 case OFF_STATE: in pciehp_handle_presence_or_link_change()331 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()363 ctrl->state = OFF_STATE; in pciehp_disable_slot()376 case OFF_STATE: in pciehp_sysfs_enable_slot()427 case OFF_STATE: in pciehp_sysfs_disable_slot()
129 #define OFF_STATE 0 macro
173 if ((occupied > 0 && (ctrl->state == OFF_STATE || in pciehp_check_presence()
1011 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()