Lines Matching refs:controller
275 struct controller *ctrl;
291 struct controller { struct
292 struct controller *next; argument
409 void cpqhp_create_debugfs_files(struct controller *ctrl);
410 void cpqhp_remove_debugfs_files(struct controller *ctrl);
415 int cpqhp_find_available_resources(struct controller *ctrl,
422 int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func);
423 int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func);
424 int cpqhp_hardware_test(struct controller *ctrl, int test_num);
431 int cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num,
433 int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug);
434 int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func);
435 int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func);
436 int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func);
437 int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot);
438 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func);
443 int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func);
449 extern struct controller *cpqhp_ctrl_list;
479 static inline void set_SOGO(struct controller *ctrl) in set_SOGO()
489 static inline void amber_LED_on(struct controller *ctrl, u8 slot) in amber_LED_on()
499 static inline void amber_LED_off(struct controller *ctrl, u8 slot) in amber_LED_off()
509 static inline int read_amber_LED(struct controller *ctrl, u8 slot) in read_amber_LED()
520 static inline void green_LED_on(struct controller *ctrl, u8 slot) in green_LED_on()
529 static inline void green_LED_off(struct controller *ctrl, u8 slot) in green_LED_off()
539 static inline void green_LED_blink(struct controller *ctrl, u8 slot) in green_LED_blink()
550 static inline void slot_disable(struct controller *ctrl, u8 slot) in slot_disable()
560 static inline void slot_enable(struct controller *ctrl, u8 slot) in slot_enable()
570 static inline u8 is_slot_enabled(struct controller *ctrl, u8 slot) in is_slot_enabled()
580 static inline u8 read_slot_enable(struct controller *ctrl) in read_slot_enable()
593 static inline u8 get_controller_speed(struct controller *ctrl) in get_controller_speed()
625 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) in get_adapter_speed()
642 static inline void enable_slot_power(struct controller *ctrl, u8 slot) in enable_slot_power()
651 static inline void disable_slot_power(struct controller *ctrl, u8 slot) in disable_slot_power()
661 static inline int cpq_get_attention_status(struct controller *ctrl, struct slot *slot) in cpq_get_attention_status()
671 static inline int get_slot_enabled(struct controller *ctrl, struct slot *slot) in get_slot_enabled()
681 static inline int cpq_get_latch_status(struct controller *ctrl, in cpq_get_latch_status()
697 static inline int get_presence_status(struct controller *ctrl, in get_presence_status()
713 static inline int wait_for_ctrl_irq(struct controller *ctrl) in wait_for_ctrl_irq()