Lines Matching +full:powered +full:- +full:on

1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2003-2004 Intel Corporation
36 pci_dbg(ctrl->pcie->port, format, ## arg)
38 pci_err(ctrl->pcie->port, format, ## arg)
40 pci_info(ctrl->pcie->port, format, ## arg)
42 pci_warn(ctrl->pcie->port, format, ## arg)
47 * struct controller - PCIe hotplug controller
55 * @cmd_busy: flag set on Slot Control register write, cleared by IRQ handler
56 * on reception of a Command Completed event
57 * @queue: wait queue to wake up on reception of a Command Completed event,
69 * @button_work: work item to turn the slot on or off after 5 seconds
77 * @requester: wait queue to wake up on completion of user request,
114 * @OFF_STATE: slot is powered off, no subordinate devices are enumerated
115 * @BLINKINGON_STATE: slot will be powered on after the 5 second delay,
117 * @BLINKINGOFF_STATE: slot will be powered off after the 5 second delay,
119 * @POWERON_STATE: slot is currently powering on
121 * @ON_STATE: slot is powered on, subordinate devices have been enumerated
134 * hence must be greater than its 16-bit width.
146 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP)
147 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP)
148 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP)
149 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP)
150 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP)
151 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS)
152 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19)
171 #define INDICATOR_NOOP -1 /* Leave indicator unchanged */
191 return hotplug_slot_name(&ctrl->hotplug_slot); in slot_name()