Lines Matching refs:controller
74 struct controller *ctrl;
90 struct controller {
158 int __must_check shpchp_create_ctrl_files(struct controller *ctrl);
159 void shpchp_remove_ctrl_files(struct controller *ctrl);
162 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
163 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
164 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
165 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl);
168 void cleanup_slots(struct controller *ctrl);
170 int shpc_init(struct controller *ctrl, struct pci_dev *pdev);
193 /* offsets to the controller registers based on the above structure layout */
215 static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device)
319 void (*release_ctlr)(struct controller *ctrl);
320 int (*check_cmd_status)(struct controller *ctrl);