Lines Matching refs:controller

86 struct controller {  struct
157 void pciehp_request(struct controller *ctrl, int action);
158 void pciehp_handle_button_press(struct controller *ctrl);
159 void pciehp_handle_disable_request(struct controller *ctrl);
160 void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events);
161 int pciehp_configure_device(struct controller *ctrl);
162 void pciehp_unconfigure_device(struct controller *ctrl, bool presence);
164 struct controller *pcie_init(struct pcie_device *dev);
165 int pcie_init_notification(struct controller *ctrl);
166 void pcie_shutdown_notification(struct controller *ctrl);
167 void pcie_clear_hotplug_events(struct controller *ctrl);
168 void pcie_enable_interrupt(struct controller *ctrl);
169 void pcie_disable_interrupt(struct controller *ctrl);
170 int pciehp_power_on_slot(struct controller *ctrl);
171 void pciehp_power_off_slot(struct controller *ctrl);
172 void pciehp_get_power_status(struct controller *ctrl, u8 *status);
175 void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn);
177 void pciehp_get_latch_status(struct controller *ctrl, u8 *status);
178 int pciehp_query_power_fault(struct controller *ctrl);
179 int pciehp_card_present(struct controller *ctrl);
180 int pciehp_card_present_or_link_active(struct controller *ctrl);
181 int pciehp_check_link_status(struct controller *ctrl);
182 int pciehp_check_link_active(struct controller *ctrl);
183 void pciehp_release_ctrl(struct controller *ctrl);
192 static inline const char *slot_name(struct controller *ctrl) in slot_name()
197 static inline struct controller *to_ctrl(struct hotplug_slot *hotplug_slot) in to_ctrl()
199 return container_of(hotplug_slot, struct controller, hotplug_slot); in to_ctrl()