Searched refs:cdns3 (Results 1 – 12 of 12) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | core.h | 25 struct cdns3; 38 int (*start)(struct cdns3 *cdns); 39 void (*stop)(struct cdns3 *cdns); 40 int (*suspend)(struct cdns3 *cdns, bool do_wakeup); 41 int (*resume)(struct cdns3 *cdns, bool hibernated); 73 struct cdns3 { struct 98 int cdns3_hw_role_switch(struct cdns3 *cdns); argument
|
| H A D | Makefile | 3 cdns3-y := core.o drd.o 5 obj-$(CONFIG_USB_CDNS3) += cdns3.o 7 cdns3-$(CONFIG_$(SPL_)USB_CDNS3_GADGET) += gadget.o ep0.o 9 cdns3-$(CONFIG_$(SPL_)USB_CDNS3_HOST) += host.o 11 obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o
|
| H A D | drd.h | 156 int cdns3_is_host(struct cdns3 *cdns); 157 int cdns3_is_device(struct cdns3 *cdns); 158 int cdns3_get_id(struct cdns3 *cdns); 159 int cdns3_get_vbus(struct cdns3 *cdns); 160 int cdns3_drd_init(struct cdns3 *cdns); 161 int cdns3_drd_exit(struct cdns3 *cdns); 162 int cdns3_drd_update_mode(struct cdns3 *cdns); 163 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on); 164 int cdns3_drd_switch_host(struct cdns3 *cdns, int on);
|
| H A D | host-export.h | 14 int cdns3_host_init(struct cdns3 *cdns); 15 void cdns3_host_exit(struct cdns3 *cdns); 19 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init() 24 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit()
|
| H A D | gadget-export.h | 15 int cdns3_gadget_init(struct cdns3 *cdns); 16 void cdns3_gadget_exit(struct cdns3 *cdns); 19 static inline int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init() 24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { } in cdns3_gadget_exit()
|
| H A D | core.c | 28 static int cdns3_idle_init(struct cdns3 *cdns); 32 struct cdns3 cdns; 36 struct cdns3 cdns; 40 struct cdns3_role_driver *cdns3_get_current_role_driver(struct cdns3 *cdns) in cdns3_get_current_role_driver() 46 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start() 72 static void cdns3_role_stop(struct cdns3 *cdns) in cdns3_role_stop() 88 static void cdns3_exit_roles(struct cdns3 *cdns) in cdns3_exit_roles() 94 static enum usb_role cdsn3_hw_role_state_machine(struct cdns3 *cdns); 102 static int cdns3_core_init_role(struct cdns3 *cdns) in cdns3_core_init_role() 194 static enum usb_role cdsn3_hw_role_state_machine(struct cdns3 *cdns) in cdsn3_hw_role_state_machine() [all …]
|
| H A D | drd.c | 32 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode() 69 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id() 79 int cdns3_get_vbus(struct cdns3 *cdns) in cdns3_get_vbus() 89 int cdns3_is_host(struct cdns3 *cdns) in cdns3_is_host() 99 int cdns3_is_device(struct cdns3 *cdns) in cdns3_is_device() 117 int cdns3_drd_switch_host(struct cdns3 *cdns, int on) in cdns3_drd_switch_host() 154 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on) in cdns3_drd_switch_gadget() 196 static int cdns3_init_otg_mode(struct cdns3 *cdns) in cdns3_init_otg_mode() 216 int cdns3_drd_update_mode(struct cdns3 *cdns) in cdns3_drd_update_mode() 239 int cdns3_drd_init(struct cdns3 *cdns) in cdns3_drd_init() [all …]
|
| H A D | host.c | 19 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init() 33 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit() 39 int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
|
| H A D | gadget.c | 1369 struct cdns3 *cdns = data; in cdns3_device_irq_handler() 1413 struct cdns3 *cdns = data; in cdns3_device_thread_irq_handler() 2524 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit() 2552 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start() 2670 static int __cdns3_gadget_init(struct cdns3 *cdns) in __cdns3_gadget_init() 2683 static int cdns3_gadget_suspend(struct cdns3 *cdns, bool do_wakeup) in cdns3_gadget_suspend() 2701 static int cdns3_gadget_resume(struct cdns3 *cdns, bool hibernated) in cdns3_gadget_resume() 2720 int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init() 2745 static void cdns3_gadget_uboot_handle_interrupt(struct cdns3 *cdns) in cdns3_gadget_uboot_handle_interrupt() 2755 struct cdns3 *cdns = dev_get_priv(dev); in dm_usb_gadget_handle_interrupts()
|
| /rk3399_rockchip-uboot/drivers/usb/ |
| H A D | Kconfig | 71 source "drivers/usb/cdns3/Kconfig"
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | Makefile.spl | 91 libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/cdns3/
|
| /rk3399_rockchip-uboot/ |
| H A D | Makefile | 694 libs-y += drivers/usb/cdns3/
|