• Home
  • Raw
  • Download

Lines Matching +full:powered +full:- +full:off

1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2003-2004 Intel Corporation
50 dev_printk(KERN_DEBUG, &ctrl->pcie->device, \
54 dev_err(&ctrl->pcie->device, format, ## arg)
56 dev_info(&ctrl->pcie->device, format, ## arg)
58 dev_warn(&ctrl->pcie->device, format, ## arg)
63 * struct slot - PCIe hotplug slot
67 * @work: work item to turn the slot on or off after 5 seconds in response to
81 * struct controller - PCIe hotplug controller
137 * @OFF_STATE: slot is powered off, no subordinate devices are enumerated
138 * @BLINKINGON_STATE: slot will be powered on after the 5 second delay,
140 * @BLINKINGOFF_STATE: slot will be powered off after the 5 second delay,
143 * @POWEROFF_STATE: slot is currently powering off
144 * @ON_STATE: slot is powered on, subordinate devices have been enumerated
157 * hence must be greater than its 16-bit width.
169 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP)
170 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP)
171 #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP)
172 #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP)
173 #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP)
174 #define HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_HPS)
175 #define EMI(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_EIP)
176 #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS)
177 #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19)
214 return hotplug_slot_name(slot->hotplug_slot); in slot_name()