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()
334 static int __pciehp_link_set(struct controller *ctrl, bool enable) in __pciehp_link_set()
345 static int pciehp_link_enable(struct controller *ctrl) in pciehp_link_enable()
353 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_get_raw_indicator_status() local
366 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_get_attention_status() local
394 void pciehp_get_power_status(struct controller *ctrl, u8 *status) in pciehp_get_power_status()
416 void pciehp_get_latch_status(struct controller *ctrl, u8 *status) in pciehp_get_latch_status()
437 int pciehp_card_present(struct controller *ctrl) in pciehp_card_present()
462 int pciehp_card_present_or_link_active(struct controller *ctrl) in pciehp_card_present_or_link_active()
473 int pciehp_query_power_fault(struct controller *ctrl) in pciehp_query_power_fault()
485 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_set_raw_indicator_status() local
512 void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn) in pciehp_set_indicators()
533 int pciehp_power_on_slot(struct controller *ctrl) in pciehp_power_on_slot()
558 void pciehp_power_off_slot(struct controller *ctrl) in pciehp_power_off_slot()
566 static void pciehp_ignore_dpc_link_change(struct controller *ctrl, in pciehp_ignore_dpc_link_change()
594 struct controller *ctrl = (struct controller *)dev_id; in pciehp_isr() local
699 struct controller *ctrl = (struct controller *)dev_id; in pciehp_ist() local
764 struct controller *ctrl = data; in pciehp_poll() local
783 static void pcie_enable_notification(struct controller *ctrl) in pcie_enable_notification()
823 static void pcie_disable_notification(struct controller *ctrl) in pcie_disable_notification()
836 void pcie_clear_hotplug_events(struct controller *ctrl) in pcie_clear_hotplug_events()
842 void pcie_enable_interrupt(struct controller *ctrl) in pcie_enable_interrupt()
852 void pcie_disable_interrupt(struct controller *ctrl) in pcie_disable_interrupt()
879 struct controller *ctrl = get_service_data(dev); in pciehp_slot_reset() local
903 struct controller *ctrl = to_ctrl(hotplug_slot); in pciehp_reset_slot() local
935 int pcie_init_notification(struct controller *ctrl) in pcie_init_notification()
944 void pcie_shutdown_notification(struct controller *ctrl) in pcie_shutdown_notification()
953 static inline void dbg_ctrl(struct controller *ctrl) in dbg_ctrl()
983 struct controller *ctrl; in pcie_init() local
1071 void pciehp_release_ctrl(struct controller *ctrl) in pciehp_release_ctrl()