Lines Matching refs:dwc3
47 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode()
102 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode) in dwc3_set_prtcap()
116 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode()
195 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
208 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space()
224 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
289 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
315 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
329 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
356 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
373 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers()
393 int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup()
410 void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup()
425 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) in dwc3_alloc_scratch_buffers()
441 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) in dwc3_setup_scratch_buffers()
492 static void dwc3_free_scratch_buffers(struct dwc3 *dwc) in dwc3_free_scratch_buffers()
509 static void dwc3_core_num_eps(struct dwc3 *dwc) in dwc3_core_num_eps()
516 static void dwc3_cache_hwparams(struct dwc3 *dwc) in dwc3_cache_hwparams()
531 static int dwc3_core_ulpi_init(struct dwc3 *dwc) in dwc3_core_ulpi_init()
555 static int dwc3_phy_setup(struct dwc3 *dwc) in dwc3_phy_setup()
673 static void dwc3_core_exit(struct dwc3 *dwc) in dwc3_core_exit()
691 static bool dwc3_core_is_valid(struct dwc3 *dwc) in dwc3_core_is_valid()
712 static void dwc3_core_setup_global_control(struct dwc3 *dwc) in dwc3_core_setup_global_control()
786 static int dwc3_core_get_phy(struct dwc3 *dwc);
787 static int dwc3_core_ulpi_init(struct dwc3 *dwc);
790 static void dwc3_set_incr_burst_type(struct dwc3 *dwc) in dwc3_set_incr_burst_type()
887 static int dwc3_core_init(struct dwc3 *dwc) in dwc3_core_init()
1066 static int dwc3_core_get_phy(struct dwc3 *dwc) in dwc3_core_get_phy()
1133 static int dwc3_core_init_mode(struct dwc3 *dwc) in dwc3_core_init_mode()
1187 static void dwc3_core_exit_mode(struct dwc3 *dwc) in dwc3_core_exit_mode()
1205 static void dwc3_get_properties(struct dwc3 *dwc) in dwc3_get_properties()
1317 bool dwc3_has_imod(struct dwc3 *dwc) in dwc3_has_imod()
1325 static void dwc3_check_params(struct dwc3 *dwc) in dwc3_check_params()
1378 struct dwc3 *dwc; in dwc3_probe()
1529 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_remove()
1551 static int dwc3_core_init_for_resume(struct dwc3 *dwc) in dwc3_core_init_for_resume()
1583 static int dwc3_suspend_common(struct dwc3 *dwc, pm_message_t msg) in dwc3_suspend_common()
1638 static int dwc3_resume_common(struct dwc3 *dwc, pm_message_t msg) in dwc3_resume_common()
1705 static int dwc3_runtime_checks(struct dwc3 *dwc) in dwc3_runtime_checks()
1723 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_runtime_suspend()
1740 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_runtime_resume()
1766 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_runtime_idle()
1789 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_suspend()
1803 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_resume()