| /OK3568_Linux_fs/kernel/drivers/usb/cdns3/ |
| H A D | Makefile | 5 cdns3-y := core.o drd.o 7 obj-$(CONFIG_USB_CDNS3) += cdns3.o 8 cdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o 11 cdns3-$(CONFIG_TRACING) += trace.o 14 cdns3-$(CONFIG_USB_CDNS3_HOST) += host.o 16 obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o 17 obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o 18 obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o
|
| H A D | drd.c | 30 static int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode() 88 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id() 98 int cdns3_get_vbus(struct cdns3 *cdns) in cdns3_get_vbus() 108 bool cdns3_is_host(struct cdns3 *cdns) in cdns3_is_host() 118 bool cdns3_is_device(struct cdns3 *cdns) in cdns3_is_device() 133 static void cdns3_otg_disable_irq(struct cdns3 *cdns) in cdns3_otg_disable_irq() 142 static void cdns3_otg_enable_irq(struct cdns3 *cdns) in cdns3_otg_enable_irq() 154 int cdns3_drd_host_on(struct cdns3 *cdns) in cdns3_drd_host_on() 183 void cdns3_drd_host_off(struct cdns3 *cdns) in cdns3_drd_host_off() 204 int cdns3_drd_gadget_on(struct cdns3 *cdns) in cdns3_drd_gadget_on() [all …]
|
| H A D | drd.h | 206 bool cdns3_is_host(struct cdns3 *cdns); 207 bool cdns3_is_device(struct cdns3 *cdns); 208 int cdns3_get_id(struct cdns3 *cdns); 209 int cdns3_get_vbus(struct cdns3 *cdns); 210 int cdns3_drd_init(struct cdns3 *cdns); 211 int cdns3_drd_exit(struct cdns3 *cdns); 212 int cdns3_drd_update_mode(struct cdns3 *cdns); 213 int cdns3_drd_gadget_on(struct cdns3 *cdns); 214 void cdns3_drd_gadget_off(struct cdns3 *cdns); 215 int cdns3_drd_host_on(struct cdns3 *cdns); [all …]
|
| H A D | core.h | 17 struct cdns3; 30 int (*start)(struct cdns3 *cdns); 31 void (*stop)(struct cdns3 *cdns); 32 int (*suspend)(struct cdns3 *cdns, bool do_wakeup); 33 int (*resume)(struct cdns3 *cdns, bool hibernated); 82 struct cdns3 { struct 120 int cdns3_hw_role_switch(struct cdns3 *cdns); argument
|
| H A D | core.c | 28 static int cdns3_idle_init(struct cdns3 *cdns); 30 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start() 56 static void cdns3_role_stop(struct cdns3 *cdns) in cdns3_role_stop() 72 static void cdns3_exit_roles(struct cdns3 *cdns) in cdns3_exit_roles() 84 static int cdns3_core_init_role(struct cdns3 *cdns) in cdns3_core_init_role() 202 static enum usb_role cdns3_hw_role_state_machine(struct cdns3 *cdns) in cdns3_hw_role_state_machine() 253 static int cdns3_idle_role_start(struct cdns3 *cdns) in cdns3_idle_role_start() 258 static void cdns3_idle_role_stop(struct cdns3 *cdns) in cdns3_idle_role_stop() 264 static int cdns3_idle_init(struct cdns3 *cdns) in cdns3_idle_init() 288 int cdns3_hw_role_switch(struct cdns3 *cdns) in cdns3_hw_role_switch() [all …]
|
| 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 | host-export.h | 15 int cdns3_host_init(struct cdns3 *cdns); 20 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init() 25 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit()
|
| H A D | host.c | 31 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init() 116 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit() 124 int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
|
| H A D | Kconfig | 11 as module, the module will be called cdns3.ko. 44 be dynamically linked and module will be called cdns3-pci.ko
|
| H A D | gadget.c | 1851 struct cdns3 *cdns = dev_get_drvdata(priv_dev->dev); in cdns3_device_irq_handler() 3099 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit() 3135 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start() 3255 static int __cdns3_gadget_init(struct cdns3 *cdns) in __cdns3_gadget_init() 3294 static int cdns3_gadget_suspend(struct cdns3 *cdns, bool do_wakeup) in cdns3_gadget_suspend() 3313 static int cdns3_gadget_resume(struct cdns3 *cdns, bool hibernated) in cdns3_gadget_resume() 3332 int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
|
| H A D | cdns3-imx.c | 248 struct cdns3 *cdns = dev_get_drvdata(dev); in cdns_imx_platform_suspend()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/cdns3/ |
| 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 | 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 | 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 | 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 | 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 | 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 | .built-in.o.cmd | |
| 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/ |
| H A D | Makefile | 16 obj-$(CONFIG_USB_CDNS3) += cdns3/
|
| H A D | Kconfig | 114 source "drivers/usb/cdns3/Kconfig"
|
| /OK3568_Linux_fs/u-boot/ |
| H A D | .u-boot.cmd | |
| /OK3568_Linux_fs/u-boot/drivers/usb/ |
| H A D | Kconfig | 71 source "drivers/usb/cdns3/Kconfig"
|