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