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()
131 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
179 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
217 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
223 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
228 bool pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
243 static void __pcie_wait_link_active(struct controller *ctrl, bool active) in __pcie_wait_link_active()
259 static void pcie_wait_link_active(struct controller *ctrl) in pcie_wait_link_active()
290 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
327 static int __pciehp_link_set(struct controller *ctrl, bool enable) in __pciehp_link_set()
344 static int pciehp_link_enable(struct controller *ctrl) in pciehp_link_enable()
351 struct controller *ctrl = slot->ctrl; in pciehp_get_attention_status() local
377 struct controller *ctrl = slot->ctrl; in pciehp_get_power_status() local
427 struct controller *ctrl = slot->ctrl; in pciehp_set_attention_status() local
453 struct controller *ctrl = slot->ctrl; in pciehp_green_led_on() local
467 struct controller *ctrl = slot->ctrl; in pciehp_green_led_off() local
481 struct controller *ctrl = slot->ctrl; in pciehp_green_led_blink() local
495 struct controller *ctrl = slot->ctrl; in pciehp_power_on_slot() local
521 struct controller *ctrl = slot->ctrl; in pciehp_power_off_slot() local
531 struct controller *ctrl = (struct controller *)dev_id; in pcie_isr() local
605 void pcie_enable_notification(struct controller *ctrl) in pcie_enable_notification()
645 static void pcie_disable_notification(struct controller *ctrl) in pcie_disable_notification()
668 struct controller *ctrl = slot->ctrl; in pciehp_reset_slot() local
700 int pcie_init_notification(struct controller *ctrl) in pcie_init_notification()
709 static void pcie_shutdown_notification(struct controller *ctrl) in pcie_shutdown_notification()
718 static int pcie_init_slot(struct controller *ctrl) in pcie_init_slot()
741 static void pcie_cleanup_slot(struct controller *ctrl) in pcie_cleanup_slot()
749 static inline void dbg_ctrl(struct controller *ctrl) in dbg_ctrl()
803 struct controller *ctrl; in pcie_init() local
854 void pciehp_release_ctrl(struct controller *ctrl) in pciehp_release_ctrl()