Lines Matching defs:ctrl
49 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev()
58 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
78 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
86 static int pcie_poll_cmd(struct controller *ctrl, int timeout) in pcie_poll_cmd()
112 static void pcie_wait_cmd(struct controller *ctrl) in pcie_wait_cmd()
157 static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, in pcie_do_write_cmd()
213 static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
219 static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd_nowait()
235 int pciehp_check_link_active(struct controller *ctrl) in pciehp_check_link_active()
291 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
333 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()
352 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_get_raw_indicator_status() local
365 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_get_attention_status() local
393 void pciehp_get_power_status(struct controller *ctrl, u8 *status) in pciehp_get_power_status()
415 void pciehp_get_latch_status(struct controller *ctrl, u8 *status) in pciehp_get_latch_status()
436 int pciehp_card_present(struct controller *ctrl) in pciehp_card_present()
461 int pciehp_card_present_or_link_active(struct controller *ctrl) in pciehp_card_present_or_link_active()
472 int pciehp_query_power_fault(struct controller *ctrl) in pciehp_query_power_fault()
484 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_set_raw_indicator_status() local
511 void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn) in pciehp_set_indicators()
532 int pciehp_power_on_slot(struct controller *ctrl) in pciehp_power_on_slot()
557 void pciehp_power_off_slot(struct controller *ctrl) in pciehp_power_off_slot()
565 static void pciehp_ignore_dpc_link_change(struct controller *ctrl, in pciehp_ignore_dpc_link_change()
593 struct controller *ctrl = (struct controller *)dev_id; in pciehp_isr() local
698 struct controller *ctrl = (struct controller *)dev_id; in pciehp_ist() local
763 struct controller *ctrl = data; in pciehp_poll() local
782 static void pcie_enable_notification(struct controller *ctrl) in pcie_enable_notification()
822 static void pcie_disable_notification(struct controller *ctrl) in pcie_disable_notification()
835 void pcie_clear_hotplug_events(struct controller *ctrl) in pcie_clear_hotplug_events()
841 void pcie_enable_interrupt(struct controller *ctrl) in pcie_enable_interrupt()
851 void pcie_disable_interrupt(struct controller *ctrl) in pcie_disable_interrupt()
878 struct controller *ctrl = get_service_data(dev); in pciehp_slot_reset() local
902 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_reset_slot() local
934 int pcie_init_notification(struct controller *ctrl) in pcie_init_notification()
943 void pcie_shutdown_notification(struct controller *ctrl) in pcie_shutdown_notification()
952 static inline void dbg_ctrl(struct controller *ctrl) in dbg_ctrl()
982 struct controller *ctrl; in pcie_init() local
1070 void pciehp_release_ctrl(struct controller *ctrl) in pciehp_release_ctrl()