Lines Matching full:dwc3

77 /* DWC3 registers memory space boundries */
678 struct dwc3 *dwc;
726 struct dwc3 *dwc;
918 * @status: internal dwc3 request status tracking
968 * struct dwc3 - representation of our controller
1059 * @has_hibernation: true when dwc3 was configured with Hibernation
1060 * @sysdev_is_parent: true when dwc3 device has a parent driver
1068 * @do_fifo_resize: true when txfifo resizing is enabled for dwc3 endpoints
1121 struct dwc3 { struct
1340 #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) argument
1491 * DWC3 Features to be used as Driver Data
1499 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode);
1500 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1530 static inline u32 dwc3_mdwidth(struct dwc3 *dwc) in dwc3_mdwidth()
1541 bool dwc3_has_imod(struct dwc3 *dwc);
1543 int dwc3_event_buffers_setup(struct dwc3 *dwc);
1544 void dwc3_event_buffers_cleanup(struct dwc3 *dwc);
1546 int dwc3_core_soft_reset(struct dwc3 *dwc);
1549 int dwc3_host_init(struct dwc3 *dwc);
1550 void dwc3_host_exit(struct dwc3 *dwc);
1552 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1554 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1559 int dwc3_gadget_init(struct dwc3 *dwc);
1560 void dwc3_gadget_exit(struct dwc3 *dwc);
1561 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode);
1562 int dwc3_gadget_get_link_state(struct dwc3 *dwc);
1563 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state);
1566 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd,
1568 void dwc3_gadget_clear_tx_fifos(struct dwc3 *dwc);
1569 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status);
1571 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1573 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1575 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1577 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
1579 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state()
1586 static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc, in dwc3_send_gadget_generic_command()
1589 static inline void dwc3_gadget_clear_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_clear_tx_fifos()
1594 int dwc3_drd_init(struct dwc3 *dwc);
1595 void dwc3_drd_exit(struct dwc3 *dwc);
1596 void dwc3_otg_init(struct dwc3 *dwc);
1597 void dwc3_otg_exit(struct dwc3 *dwc);
1598 void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus);
1599 void dwc3_otg_host_init(struct dwc3 *dwc);
1601 static inline int dwc3_drd_init(struct dwc3 *dwc) in dwc3_drd_init()
1603 static inline void dwc3_drd_exit(struct dwc3 *dwc) in dwc3_drd_exit()
1605 static inline void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
1607 static inline void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
1609 static inline void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus) in dwc3_otg_update()
1611 static inline void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init()
1617 int dwc3_gadget_suspend(struct dwc3 *dwc);
1618 int dwc3_gadget_resume(struct dwc3 *dwc);
1619 void dwc3_gadget_process_pending_events(struct dwc3 *dwc);
1621 static inline int dwc3_gadget_suspend(struct dwc3 *dwc) in dwc3_gadget_suspend()
1626 static inline int dwc3_gadget_resume(struct dwc3 *dwc) in dwc3_gadget_resume()
1631 static inline void dwc3_gadget_process_pending_events(struct dwc3 *dwc) in dwc3_gadget_process_pending_events()
1637 int dwc3_ulpi_init(struct dwc3 *dwc);
1638 void dwc3_ulpi_exit(struct dwc3 *dwc);
1640 static inline int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
1642 static inline void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()