Lines Matching defs:ctrl

30 static inline struct pci_dev *ctrl_dev(struct controller *ctrl)  in ctrl_dev()
39 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
59 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
67 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
93 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
138 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
194 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
200 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
205 bool pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
220 static void pcie_wait_link_active(struct controller *ctrl) in pcie_wait_link_active()
253 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
296 static int __pciehp_link_set(struct controller *ctrl, bool enable) in __pciehp_link_set()
313 static int pciehp_link_enable(struct controller *ctrl) in pciehp_link_enable()
334 struct controller *ctrl = slot->ctrl; in pciehp_get_attention_status() local
362 struct controller *ctrl = slot->ctrl; in pciehp_get_power_status() local
414 struct controller *ctrl = slot->ctrl; in pciehp_set_raw_indicator_status() local
426 struct controller *ctrl = slot->ctrl; in pciehp_set_attention_status() local
452 struct controller *ctrl = slot->ctrl; in pciehp_green_led_on() local
466 struct controller *ctrl = slot->ctrl; in pciehp_green_led_off() local
480 struct controller *ctrl = slot->ctrl; in pciehp_green_led_blink() local
494 struct controller *ctrl = slot->ctrl; in pciehp_power_on_slot() local
520 struct controller *ctrl = slot->ctrl; in pciehp_power_off_slot() local
530 struct controller *ctrl = (struct controller *)dev_id; in pciehp_isr() local
617 struct controller *ctrl = (struct controller *)dev_id; in pciehp_ist() local
675 struct controller *ctrl = data; in pciehp_poll() local
694 static void pcie_enable_notification(struct controller *ctrl) in pcie_enable_notification()
732 static void pcie_disable_notification(struct controller *ctrl) in pcie_disable_notification()
745 void pcie_clear_hotplug_events(struct controller *ctrl) in pcie_clear_hotplug_events()
761 struct controller *ctrl = slot->ctrl; in pciehp_reset_slot() local
793 int pcie_init_notification(struct controller *ctrl) in pcie_init_notification()
802 void pcie_shutdown_notification(struct controller *ctrl) in pcie_shutdown_notification()
811 static int pcie_init_slot(struct controller *ctrl) in pcie_init_slot()
831 static void pcie_cleanup_slot(struct controller *ctrl) in pcie_cleanup_slot()
839 static inline void dbg_ctrl(struct controller *ctrl) in dbg_ctrl()
858 struct controller *ctrl; in pcie_init() local
936 void pciehp_release_ctrl(struct controller *ctrl) in pciehp_release_ctrl()