Searched refs:OFF_STATE (Results 1 – 4 of 4) sorted by relevance
165 case OFF_STATE: in pciehp_handle_button_press()195 ctrl->state = OFF_STATE; in pciehp_handle_button_press()267 case OFF_STATE: in pciehp_handle_presence_or_link_change()322 ctrl->state = ret ? OFF_STATE : ON_STATE; in pciehp_enable_slot()354 ctrl->state = OFF_STATE; in pciehp_disable_slot()367 case OFF_STATE: in pciehp_sysfs_enable_slot()418 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()
1018 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()