Lines Matching defs:ctrl

44 static inline struct pci_dev *ctrl_dev(struct controller *ctrl)  in ctrl_dev()
55 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local
68 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
80 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
99 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
107 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
133 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
181 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
225 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
231 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
236 bool pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
251 static void __pcie_wait_link_active(struct controller *ctrl, bool active) in __pcie_wait_link_active()
267 static void pcie_wait_link_active(struct controller *ctrl) in pcie_wait_link_active()
298 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
336 static int __pciehp_link_set(struct controller *ctrl, bool enable) in __pciehp_link_set()
353 static int pciehp_link_enable(struct controller *ctrl) in pciehp_link_enable()
360 struct controller *ctrl = slot->ctrl; in pciehp_get_attention_status() local
386 struct controller *ctrl = slot->ctrl; in pciehp_get_power_status() local
436 struct controller *ctrl = slot->ctrl; in pciehp_set_attention_status() local
462 struct controller *ctrl = slot->ctrl; in pciehp_green_led_on() local
476 struct controller *ctrl = slot->ctrl; in pciehp_green_led_off() local
490 struct controller *ctrl = slot->ctrl; in pciehp_green_led_blink() local
504 struct controller *ctrl = slot->ctrl; in pciehp_power_on_slot() local
530 struct controller *ctrl = slot->ctrl; in pciehp_power_off_slot() local
540 struct controller *ctrl = (struct controller *)dev_id; in pcie_isr() local
631 void pcie_enable_notification(struct controller *ctrl) in pcie_enable_notification()
669 static void pcie_disable_notification(struct controller *ctrl) in pcie_disable_notification()
692 struct controller *ctrl = slot->ctrl; in pciehp_reset_slot() local
724 int pcie_init_notification(struct controller *ctrl) in pcie_init_notification()
733 static void pcie_shutdown_notification(struct controller *ctrl) in pcie_shutdown_notification()
742 static int pcie_init_slot(struct controller *ctrl) in pcie_init_slot()
765 static void pcie_cleanup_slot(struct controller *ctrl) in pcie_cleanup_slot()
773 static inline void dbg_ctrl(struct controller *ctrl) in dbg_ctrl()
792 struct controller *ctrl; in pcie_init() local
843 void pciehp_release_ctrl(struct controller *ctrl) in pciehp_release_ctrl()