Lines Matching refs:controller
83 struct controller { struct
155 void pciehp_request(struct controller *ctrl, int action);
156 void pciehp_handle_button_press(struct controller *ctrl);
157 void pciehp_handle_disable_request(struct controller *ctrl);
158 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events);
159 int pciehp_configure_device(struct controller *ctrl);
160 void pciehp_unconfigure_device(struct controller *ctrl, bool presence);
162 struct controller *pcie_init(struct pcie_device *dev);
163 int pcie_init_notification(struct controller *ctrl);
164 void pcie_shutdown_notification(struct controller *ctrl);
165 void pcie_clear_hotplug_events(struct controller *ctrl);
166 void pcie_enable_interrupt(struct controller *ctrl);
167 void pcie_disable_interrupt(struct controller *ctrl);
168 int pciehp_power_on_slot(struct controller *ctrl);
169 void pciehp_power_off_slot(struct controller *ctrl);
170 void pciehp_get_power_status(struct controller *ctrl, u8 *status);
173 void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn);
175 void pciehp_get_latch_status(struct controller *ctrl, u8 *status);
176 int pciehp_query_power_fault(struct controller *ctrl);
177 bool pciehp_card_present(struct controller *ctrl);
178 bool pciehp_card_present_or_link_active(struct controller *ctrl);
179 int pciehp_check_link_status(struct controller *ctrl);
180 bool pciehp_check_link_active(struct controller *ctrl);
181 void pciehp_release_ctrl(struct controller *ctrl);
190 static inline const char *slot_name(struct controller *ctrl) in slot_name()
195 static inline struct controller *to_ctrl(struct hotplug_slot *hotplug_slot) in to_ctrl()
197 return container_of(hotplug_slot, struct controller, hotplug_slot); in to_ctrl()