Lines Matching full:dwc3

74 /* DWC3 registers memory space boundries */
650 struct dwc3 *dwc;
698 struct dwc3 *dwc;
884 * @status: internal dwc3 request status tracking
932 * struct dwc3 - representation of our controller
1013 * @has_hibernation: true when dwc3 was configured with Hibernation
1014 * @sysdev_is_parent: true when dwc3 device has a parent driver
1064 struct dwc3 { struct
1262 #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) argument
1413 * DWC3 Features to be used as Driver Data
1421 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode);
1422 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1446 bool dwc3_has_imod(struct dwc3 *dwc);
1448 int dwc3_event_buffers_setup(struct dwc3 *dwc);
1449 void dwc3_event_buffers_cleanup(struct dwc3 *dwc);
1452 int dwc3_host_init(struct dwc3 *dwc);
1453 void dwc3_host_exit(struct dwc3 *dwc);
1455 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1457 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1462 int dwc3_gadget_init(struct dwc3 *dwc);
1463 void dwc3_gadget_exit(struct dwc3 *dwc);
1464 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode);
1465 int dwc3_gadget_get_link_state(struct dwc3 *dwc);
1466 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state);
1469 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd,
1472 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1474 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1476 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1478 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
1480 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state()
1487 static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc, in dwc3_send_gadget_generic_command()
1493 int dwc3_drd_init(struct dwc3 *dwc);
1494 void dwc3_drd_exit(struct dwc3 *dwc);
1495 void dwc3_otg_init(struct dwc3 *dwc);
1496 void dwc3_otg_exit(struct dwc3 *dwc);
1497 void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus);
1498 void dwc3_otg_host_init(struct dwc3 *dwc);
1500 static inline int dwc3_drd_init(struct dwc3 *dwc) in dwc3_drd_init()
1502 static inline void dwc3_drd_exit(struct dwc3 *dwc) in dwc3_drd_exit()
1504 static inline void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
1506 static inline void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
1508 static inline void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus) in dwc3_otg_update()
1510 static inline void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init()
1516 int dwc3_gadget_suspend(struct dwc3 *dwc);
1517 int dwc3_gadget_resume(struct dwc3 *dwc);
1518 void dwc3_gadget_process_pending_events(struct dwc3 *dwc);
1520 static inline int dwc3_gadget_suspend(struct dwc3 *dwc) in dwc3_gadget_suspend()
1525 static inline int dwc3_gadget_resume(struct dwc3 *dwc) in dwc3_gadget_resume()
1530 static inline void dwc3_gadget_process_pending_events(struct dwc3 *dwc) in dwc3_gadget_process_pending_events()
1536 int dwc3_ulpi_init(struct dwc3 *dwc);
1537 void dwc3_ulpi_exit(struct dwc3 *dwc);
1539 static inline int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
1541 static inline void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()