• Home
  • Raw
  • Download

Lines Matching full:slot

63  * struct slot - PCIe hotplug slot
65 * @ctrl: pointer to the slot's controller structure
67 * @work: work item to turn the slot on or off after 5 seconds in response to
72 struct slot { struct
82 * @ctrl_lock: serializes writes to the Slot Control register
85 * Link Status register and to the Presence Detect State bit in the Slot
86 * Status register during a slot reset which may cause them to flap argument
87 * @slot: pointer to the controller's slot structure
89 * used for synchronous writes to the Slot Control register
90 * @slot_cap: cached copy of the Slot Capabilities register
91 * @slot_ctrl: cached copy of the Slot Control register
92 * @poll_thread: thread to poll for slot events if no IRQ is available,
94 * @cmd_started: jiffies when the Slot Control register was last written;
97 * @cmd_busy: flag set on Slot Control register write, cleared by IRQ handler
108 * Slot Status register for later consumption by the IRQ thread
112 * used for synchronous slot enable/disable request via sysfs
118 struct slot *slot; member
135 * DOC: Slot state
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,
142 * @POWERON_STATE: slot is currently powering on
143 * @POWEROFF_STATE: slot is currently powering off
144 * @ON_STATE: slot is powered on, subordinate devices have been enumerated
156 * These are stored together with events read from the Slot Status register,
159 * %DISABLE_SLOT: Disable the slot in response to a user request via sysfs or
179 int pciehp_sysfs_enable_slot(struct slot *slot);
180 int pciehp_sysfs_disable_slot(struct slot *slot);
182 void pciehp_handle_button_press(struct slot *slot);
183 void pciehp_handle_disable_request(struct slot *slot);
184 void pciehp_handle_presence_or_link_change(struct slot *slot, u32 events);
185 int pciehp_configure_device(struct slot *p_slot);
186 void pciehp_unconfigure_device(struct slot *p_slot);
192 int pciehp_power_on_slot(struct slot *slot);
193 void pciehp_power_off_slot(struct slot *slot);
194 void pciehp_get_power_status(struct slot *slot, u8 *status);
195 void pciehp_get_attention_status(struct slot *slot, u8 *status);
197 void pciehp_set_attention_status(struct slot *slot, u8 status);
198 void pciehp_get_latch_status(struct slot *slot, u8 *status);
199 void pciehp_get_adapter_status(struct slot *slot, u8 *status);
200 int pciehp_query_power_fault(struct slot *slot);
201 void pciehp_green_led_on(struct slot *slot);
202 void pciehp_green_led_off(struct slot *slot);
203 void pciehp_green_led_blink(struct slot *slot);
207 int pciehp_reset_slot(struct slot *slot, int probe);
212 static inline const char *slot_name(struct slot *slot) in slot_name() argument
214 return hotplug_slot_name(slot->hotplug_slot); in slot_name()