• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pci/hotplug/

Lines Matching refs:controller

151 /* offsets to the controller registers based on the above structure layout */
270 struct controller *ctrl;
286 struct controller {
287 struct controller *next;
290 void __iomem *hpc_reg; /* cookie for our pci controller location */
302 u8 bus; /* bus number for the pci hotplug controller */
393 #define msg_HPC_rev_error "Unsupported revision of the PCI hot plug controller found.\n"
394 #define msg_HPC_non_compaq_or_intel "The PCI hot plug controller is not supported by this driver.\n"
403 /* debugfs functions for the hotplug controller info */
406 extern void cpqhp_create_debugfs_files (struct controller *ctrl);
407 extern void cpqhp_remove_debugfs_files (struct controller *ctrl);
409 /* controller functions */
412 extern int cpqhp_find_available_resources (struct controller *ctrl, void __iomem *rom_start);
417 extern int cpqhp_process_SI (struct controller *ctrl, struct pci_func *func);
418 extern int cpqhp_process_SS (struct controller *ctrl, struct pci_func *func);
419 extern int cpqhp_hardware_test (struct controller *ctrl, int test_num);
426 extern int cpqhp_get_bus_dev (struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot);
427 extern int cpqhp_save_config (struct controller *ctrl, int busnumber, int is_hot_plug);
428 extern int cpqhp_save_base_addr_length (struct controller *ctrl, struct pci_func * func);
429 extern int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func * func);
430 extern int cpqhp_configure_board (struct controller *ctrl, struct pci_func * func);
431 extern int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot);
432 extern int cpqhp_valid_replace (struct controller *ctrl, struct pci_func * func);
436 extern int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func);
442 extern struct controller *cpqhp_ctrl_list;
466 static inline void set_SOGO(struct controller *ctrl)
476 static inline void amber_LED_on(struct controller *ctrl, u8 slot)
486 static inline void amber_LED_off(struct controller *ctrl, u8 slot)
496 static inline int read_amber_LED(struct controller *ctrl, u8 slot)
507 static inline void green_LED_on(struct controller *ctrl, u8 slot)
516 static inline void green_LED_off(struct controller *ctrl, u8 slot)
526 static inline void green_LED_blink(struct controller *ctrl, u8 slot)
537 static inline void slot_disable(struct controller *ctrl, u8 slot)
547 static inline void slot_enable(struct controller *ctrl, u8 slot)
557 static inline u8 is_slot_enabled(struct controller *ctrl, u8 slot)
567 static inline u8 read_slot_enable(struct controller *ctrl)
574 * get_controller_speed - find the current frequency/mode of controller.
576 * @ctrl: controller to get frequency/mode for.
578 * Returns controller speed.
581 static inline u8 get_controller_speed(struct controller *ctrl)
608 * @ctrl: hotplug controller.
614 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot)
631 static inline void enable_slot_power(struct controller *ctrl, u8 slot)
640 static inline void disable_slot_power(struct controller *ctrl, u8 slot)
650 static inline int cpq_get_attention_status(struct controller *ctrl, struct slot *slot)
660 static inline int get_slot_enabled(struct controller *ctrl, struct slot *slot)
670 static inline int cpq_get_latch_status(struct controller *ctrl, struct slot *slot)
685 static inline int get_presence_status(struct controller *ctrl, struct slot *slot)
707 static inline int wait_for_ctrl_irq(struct controller *ctrl)