Lines Matching refs:dwc3
625 struct dwc3 *dwc;
672 struct dwc3 *dwc;
1004 struct dwc3 { struct
1177 #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) argument
1332 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode);
1333 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1337 static inline bool dwc3_is_usb3(struct dwc3 *dwc) in dwc3_is_usb3()
1343 static inline bool dwc3_is_usb31(struct dwc3 *dwc) in dwc3_is_usb31()
1348 bool dwc3_has_imod(struct dwc3 *dwc);
1350 int dwc3_event_buffers_setup(struct dwc3 *dwc);
1351 void dwc3_event_buffers_cleanup(struct dwc3 *dwc);
1354 int dwc3_host_init(struct dwc3 *dwc);
1355 void dwc3_host_exit(struct dwc3 *dwc);
1357 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1359 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1364 int dwc3_gadget_init(struct dwc3 *dwc);
1365 void dwc3_gadget_exit(struct dwc3 *dwc);
1366 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode);
1367 int dwc3_gadget_get_link_state(struct dwc3 *dwc);
1368 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state);
1371 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param);
1373 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1375 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1377 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1379 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
1381 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state()
1388 static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc, in dwc3_send_gadget_generic_command()
1394 int dwc3_drd_init(struct dwc3 *dwc);
1395 void dwc3_drd_exit(struct dwc3 *dwc);
1396 void dwc3_otg_init(struct dwc3 *dwc);
1397 void dwc3_otg_exit(struct dwc3 *dwc);
1398 void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus);
1399 void dwc3_otg_host_init(struct dwc3 *dwc);
1401 static inline int dwc3_drd_init(struct dwc3 *dwc) in dwc3_drd_init()
1403 static inline void dwc3_drd_exit(struct dwc3 *dwc) in dwc3_drd_exit()
1405 static inline void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
1407 static inline void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
1409 static inline void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus) in dwc3_otg_update()
1411 static inline void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init()
1417 int dwc3_gadget_suspend(struct dwc3 *dwc);
1418 int dwc3_gadget_resume(struct dwc3 *dwc);
1419 void dwc3_gadget_process_pending_events(struct dwc3 *dwc);
1421 static inline int dwc3_gadget_suspend(struct dwc3 *dwc) in dwc3_gadget_suspend()
1426 static inline int dwc3_gadget_resume(struct dwc3 *dwc) in dwc3_gadget_resume()
1431 static inline void dwc3_gadget_process_pending_events(struct dwc3 *dwc) in dwc3_gadget_process_pending_events()
1437 int dwc3_ulpi_init(struct dwc3 *dwc);
1438 void dwc3_ulpi_exit(struct dwc3 *dwc);
1440 static inline int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
1442 static inline void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()