Lines Matching refs:controller
91 struct controller { struct
164 void pciehp_request(struct controller *ctrl, int action);
165 void pciehp_handle_button_press(struct controller *ctrl);
166 void pciehp_handle_disable_request(struct controller *ctrl);
167 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events);
168 int pciehp_configure_device(struct controller *ctrl);
169 void pciehp_unconfigure_device(struct controller *ctrl, bool presence);
171 struct controller *pcie_init(struct pcie_device *dev);
172 int pcie_init_notification(struct controller *ctrl);
173 void pcie_shutdown_notification(struct controller *ctrl);
174 void pcie_clear_hotplug_events(struct controller *ctrl);
175 void pcie_enable_interrupt(struct controller *ctrl);
176 void pcie_disable_interrupt(struct controller *ctrl);
177 int pciehp_power_on_slot(struct controller *ctrl);
178 void pciehp_power_off_slot(struct controller *ctrl);
179 void pciehp_get_power_status(struct controller *ctrl, u8 *status);
182 void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn);
184 void pciehp_get_latch_status(struct controller *ctrl, u8 *status);
185 int pciehp_query_power_fault(struct controller *ctrl);
186 int pciehp_card_present(struct controller *ctrl);
187 int pciehp_card_present_or_link_active(struct controller *ctrl);
188 int pciehp_check_link_status(struct controller *ctrl);
189 int pciehp_check_link_active(struct controller *ctrl);
190 bool pciehp_device_replaced(struct controller *ctrl);
191 void pciehp_release_ctrl(struct controller *ctrl);
202 static inline const char *slot_name(struct controller *ctrl) in slot_name()
207 static inline struct controller *to_ctrl(struct hotplug_slot *hotplug_slot) in to_ctrl()
209 return container_of(hotplug_slot, struct controller, hotplug_slot); in to_ctrl()