Lines Matching defs:ctrl
44 static inline int pciehp_readw(struct controller *ctrl, int reg, u16 *value) in pciehp_readw()
50 static inline int pciehp_readl(struct controller *ctrl, int reg, u32 *value) in pciehp_readl()
56 static inline int pciehp_writew(struct controller *ctrl, int reg, u16 value) in pciehp_writew()
62 static inline int pciehp_writel(struct controller *ctrl, int reg, u32 value) in pciehp_writel()
78 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local
91 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
103 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq()
122 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq()
130 static int pcie_poll_cmd(struct controller *ctrl) in pcie_poll_cmd()
152 static void pcie_wait_cmd(struct controller *ctrl, int poll) in pcie_wait_cmd()
172 static int pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) in pcie_write_cmd()
244 static inline int check_link_active(struct controller *ctrl) in check_link_active()
253 static void pcie_wait_link_active(struct controller *ctrl) in pcie_wait_link_active()
268 int pciehp_check_link_status(struct controller *ctrl) in pciehp_check_link_status()
320 struct controller *ctrl = slot->ctrl; in pciehp_get_attention_status() local
359 struct controller *ctrl = slot->ctrl; in pciehp_get_power_status() local
391 struct controller *ctrl = slot->ctrl; in pciehp_get_latch_status() local
407 struct controller *ctrl = slot->ctrl; in pciehp_get_adapter_status() local
423 struct controller *ctrl = slot->ctrl; in pciehp_query_power_fault() local
437 struct controller *ctrl = slot->ctrl; in pciehp_set_attention_status() local
462 struct controller *ctrl = slot->ctrl; in pciehp_green_led_on() local
475 struct controller *ctrl = slot->ctrl; in pciehp_green_led_off() local
488 struct controller *ctrl = slot->ctrl; in pciehp_green_led_blink() local
501 struct controller *ctrl = slot->ctrl; in pciehp_power_on_slot() local
541 struct controller *ctrl = slot->ctrl; in pciehp_power_off_slot() local
560 struct controller *ctrl = (struct controller *)dev_id; in pcie_isr() local
626 struct controller *ctrl = slot->ctrl; in pciehp_get_max_lnk_width() local
676 struct controller *ctrl = slot->ctrl; in pciehp_get_cur_lnk_width() local
724 int pcie_enable_notification(struct controller *ctrl) in pcie_enable_notification()
757 static void pcie_disable_notification(struct controller *ctrl) in pcie_disable_notification()
768 int pcie_init_notification(struct controller *ctrl) in pcie_init_notification()
780 static void pcie_shutdown_notification(struct controller *ctrl) in pcie_shutdown_notification()
789 static int pcie_init_slot(struct controller *ctrl) in pcie_init_slot()
804 static void pcie_cleanup_slot(struct controller *ctrl) in pcie_cleanup_slot()
812 static inline void dbg_ctrl(struct controller *ctrl) in dbg_ctrl()
864 struct controller *ctrl; in pcie_init() local
929 void pciehp_release_ctrl(struct controller *ctrl) in pciehp_release_ctrl()