Lines Matching refs:ci_hdrc
98 static void hw_alloc_regmap(struct ci_hdrc *ci, bool is_lpm) in hw_alloc_regmap()
116 static enum ci_revision ci_get_revision(struct ci_hdrc *ci) in ci_get_revision()
139 u32 hw_read_intr_enable(struct ci_hdrc *ci) in hw_read_intr_enable()
151 u32 hw_read_intr_status(struct ci_hdrc *ci) in hw_read_intr_status()
163 int hw_port_test_set(struct ci_hdrc *ci, u8 mode) in hw_port_test_set()
181 u8 hw_port_test_get(struct ci_hdrc *ci) in hw_port_test_get()
198 static void ci_hdrc_enter_lpm_common(struct ci_hdrc *ci, bool enable) in ci_hdrc_enter_lpm_common()
211 static void ci_hdrc_enter_lpm(struct ci_hdrc *ci, bool enable) in ci_hdrc_enter_lpm()
216 static int hw_device_init(struct ci_hdrc *ci, void __iomem *base) in hw_device_init()
267 void hw_phymode_configure(struct ci_hdrc *ci) in hw_phymode_configure()
316 static int _ci_usb_phy_init(struct ci_hdrc *ci) in _ci_usb_phy_init()
342 static void ci_usb_phy_exit(struct ci_hdrc *ci) in ci_usb_phy_exit()
361 static int ci_usb_phy_init(struct ci_hdrc *ci) in ci_usb_phy_init()
401 void ci_platform_configure(struct ci_hdrc *ci) in ci_platform_configure()
458 static int hw_controller_reset(struct ci_hdrc *ci) in hw_controller_reset()
478 int hw_device_reset(struct ci_hdrc *ci) in hw_device_reset()
519 struct ci_hdrc *ci = data; in ci_irq_handler()
570 static void ci_irq(struct ci_hdrc *ci) in ci_irq()
583 struct ci_hdrc *ci = cbl->ci; in ci_cable_notifier()
594 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); in ci_usb_role_switch_get()
608 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); in ci_usb_role_switch_set()
813 static int ci_extcon_register(struct ci_hdrc *ci) in ci_extcon_register()
911 struct ci_hdrc *ci = platform_get_drvdata(pdev); in ci_hdrc_query_available_role()
926 static inline void ci_role_destroy(struct ci_hdrc *ci) in ci_role_destroy()
934 static void ci_get_otg_capable(struct ci_hdrc *ci) in ci_get_otg_capable()
953 struct ci_hdrc *ci = dev_get_drvdata(dev); in role_show()
964 struct ci_hdrc *ci = dev_get_drvdata(dev); in role_store()
1003 struct ci_hdrc *ci; in ci_hdrc_probe()
1232 struct ci_hdrc *ci = platform_get_drvdata(pdev); in ci_hdrc_remove()
1254 static void ci_otg_fsm_suspend_for_srp(struct ci_hdrc *ci) in ci_otg_fsm_suspend_for_srp()
1266 static void ci_otg_fsm_wakeup_by_srp(struct ci_hdrc *ci) in ci_otg_fsm_wakeup_by_srp()
1280 static void ci_controller_suspend(struct ci_hdrc *ci) in ci_controller_suspend()
1298 static void ci_extcon_wakeup_int(struct ci_hdrc *ci) in ci_extcon_wakeup_int()
1317 struct ci_hdrc *ci = dev_get_drvdata(dev); in ci_controller_resume()
1356 struct ci_hdrc *ci = dev_get_drvdata(dev); in ci_suspend()
1389 struct ci_hdrc *ci = dev_get_drvdata(dev); in ci_resume()
1411 struct ci_hdrc *ci = dev_get_drvdata(dev); in ci_runtime_suspend()