Lines Matching refs:controller
88 struct controller { struct
160 void pciehp_request(struct controller *ctrl, int action);
161 void pciehp_handle_button_press(struct controller *ctrl);
162 void pciehp_handle_disable_request(struct controller *ctrl);
163 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events);
164 int pciehp_configure_device(struct controller *ctrl);
165 void pciehp_unconfigure_device(struct controller *ctrl, bool presence);
167 struct controller *pcie_init(struct pcie_device *dev);
168 int pcie_init_notification(struct controller *ctrl);
169 void pcie_shutdown_notification(struct controller *ctrl);
170 void pcie_clear_hotplug_events(struct controller *ctrl);
171 void pcie_enable_interrupt(struct controller *ctrl);
172 void pcie_disable_interrupt(struct controller *ctrl);
173 int pciehp_power_on_slot(struct controller *ctrl);
174 void pciehp_power_off_slot(struct controller *ctrl);
175 void pciehp_get_power_status(struct controller *ctrl, u8 *status);
178 void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn);
180 void pciehp_get_latch_status(struct controller *ctrl, u8 *status);
181 int pciehp_query_power_fault(struct controller *ctrl);
182 int pciehp_card_present(struct controller *ctrl);
183 int pciehp_card_present_or_link_active(struct controller *ctrl);
184 int pciehp_check_link_status(struct controller *ctrl);
185 int pciehp_check_link_active(struct controller *ctrl);
186 void pciehp_release_ctrl(struct controller *ctrl);
197 static inline const char *slot_name(struct controller *ctrl) in slot_name()
202 static inline struct controller *to_ctrl(struct hotplug_slot *hotplug_slot) in to_ctrl()
204 return container_of(hotplug_slot, struct controller, hotplug_slot); in to_ctrl()