| /rk3399_rockchip-uboot/drivers/usb/dwc3/ |
| H A D | Makefile | 5 obj-$(CONFIG_USB_DWC3) += dwc3.o 7 dwc3-y := core.o 11 obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o 12 obj-$(CONFIG_USB_DWC3_MESON_G12A) += dwc3-meson-g12a.o 13 obj-$(CONFIG_USB_DWC3_GENERIC) += dwc3-generic.o 14 obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
|
| H A D | dwc3-generic.c | 36 struct dwc3 dwc3; member 51 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_generic_probe() local 54 dwc3->dev = dev; in dwc3_generic_probe() 55 dwc3->maximum_speed = plat->maximum_speed; in dwc3_generic_probe() 56 dwc3->dr_mode = plat->dr_mode; in dwc3_generic_probe() 58 dwc3_of_parse(dwc3); in dwc3_generic_probe() 78 dwc3->regs = priv->base + DWC3_GLOBALS_REGS_START; in dwc3_generic_probe() 81 rc = dwc3_init(dwc3); in dwc3_generic_probe() 93 struct dwc3 *dwc3 = &priv->dwc3; in dwc3_generic_remove() local 95 dwc3_remove(dwc3); in dwc3_generic_remove() [all …]
|
| H A D | gadget.h | 26 struct dwc3; 28 #define gadget_to_dwc(g) (container_of(g, struct dwc3, gadget)) 82 void dwc3_ep0_interrupt(struct dwc3 *dwc, 84 void dwc3_ep0_out_start(struct dwc3 *dwc); 90 void dwc3_gadget_uboot_handle_interrupt(struct dwc3 *dwc); 99 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) in dwc3_gadget_ep_get_transfer_index()
|
| H A D | core.h | 416 struct dwc3 *dwc; 460 struct dwc3 *dwc; 722 struct dwc3 { struct 1023 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc); 1024 void dwc3_of_parse(struct dwc3 *dwc); 1025 int dwc3_init(struct dwc3 *dwc); 1026 void dwc3_remove(struct dwc3 *dwc); 1028 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 1030 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() 1034 int dwc3_gadget_init(struct dwc3 *dwc); [all …]
|
| H A D | ep0.c | 30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep); 31 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc, 50 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans() 113 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() 218 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() 250 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart() 278 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() 297 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start() 306 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 329 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status() [all …]
|
| H A D | core.c | 40 static void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode() 54 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset() 100 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer() 114 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer() 140 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers() 160 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers() 193 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup() 218 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup() 236 static int dwc3_alloc_scratch_buffers(struct dwc3 *dwc) in dwc3_alloc_scratch_buffers() 252 static int dwc3_setup_scratch_buffers(struct dwc3 *dwc) in dwc3_setup_scratch_buffers() [all …]
|
| H A D | gadget.c | 41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() 89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state() 162 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos() 228 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() 267 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command() 294 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd() 361 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config() 384 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config() 447 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | xhci-dwc3.c | 29 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode) in dwc3_set_mode() 36 static void dwc3_phy_reset(struct dwc3 *dwc3_reg) in dwc3_phy_reset() 53 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg) in dwc3_core_soft_reset() 67 int dwc3_core_init(struct dwc3 *dwc3_reg) in dwc3_core_init() 109 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val) in dwc3_set_fladj() 120 struct dwc3 *dwc3_reg; in xhci_dwc3_probe() 135 dwc3_reg = (struct dwc3 *)((char *)(hccr) + DWC3_REG_OFFSET); in xhci_dwc3_probe()
|
| H A D | xhci-keystone.c | 38 struct dwc3 *dwc3_reg; 71 static int keystone_xhci_core_init(struct dwc3 *dwc3_reg) in keystone_xhci_core_init() 129 keystone.dwc3_reg = (struct dwc3 *)(CONFIG_USB_HOST_XHCI_BASE + in xhci_hcd_init() 160 struct dwc3 *dwc3_reg = keystone.dwc3_reg; in keystone_xhci_phy_suspend()
|
| H A D | xhci-fsl.c | 59 static void fsl_xhci_set_beat_burst_length(struct dwc3 *dwc3_reg) in fsl_xhci_set_beat_burst_length() 128 priv->ctx.dwc3_reg = (struct dwc3 *)((char *)(priv->hcd_base) + in xhci_fsl_probe() 182 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
|
| H A D | xhci-zynqmp.c | 64 struct dwc3 *dwc3_reg; 105 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
| H A D | Makefile | 50 obj-$(CONFIG_USB_XHCI_DWC3) += xhci-dwc3.o 51 obj-$(CONFIG_USB_XHCI_DWC3_OF_SIMPLE) += dwc3-of-simple.o
|
| H A D | xhci-exynos5.c | 51 struct dwc3 *dwc3_reg; 214 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
|
| H A D | xhci-omap.c | 60 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | dwc3.h | 57 struct dwc3 { /* offset: 0xC100 */ struct 219 void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode); 220 void dwc3_core_soft_reset(struct dwc3 *dwc3_reg); 221 int dwc3_core_init(struct dwc3 *dwc3_reg); 222 void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val);
|
| H A D | xhci-omap.h | 138 struct dwc3 *dwc3_reg; 143 void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
|
| H A D | xhci-fsl.h | 54 struct dwc3 *dwc3_reg;
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | keystone-k2e.dtsi | 48 dwc3@2690000 { 62 compatible = "ti,keystone-dwc3"; 74 dwc3@25010000 { 75 compatible = "synopsys,dwc3";
|
| H A D | dra74x.dtsi | 56 compatible = "ti,dwc3"; 66 compatible = "snps,dwc3";
|
| H A D | uniphier-pxs3.dtsi | 389 compatible = "socionext,uniphier-pxs3-dwc3"; 397 dwc3@65a00000 { 398 compatible = "snps,dwc3"; 407 compatible = "socionext,uniphier-pxs3-dwc3"; 415 dwc3@65c00000 { 416 compatible = "snps,dwc3";
|
| H A D | uniphier-pro4.dtsi | 580 compatible = "socionext,uniphier-pro4-dwc3"; 588 dwc3@65a00000 { 589 compatible = "snps,dwc3"; 598 compatible = "socionext,uniphier-pro4-dwc3"; 606 dwc3@65c00000 { 607 compatible = "snps,dwc3";
|
| H A D | uniphier-pxs2.dtsi | 603 compatible = "socionext,uniphier-pxs2-dwc3"; 611 dwc3@65a00000 { 612 compatible = "snps,dwc3"; 621 compatible = "socionext,uniphier-pxs2-dwc3"; 629 dwc3@65c00000 { 630 compatible = "snps,dwc3";
|
| H A D | uniphier-pro5.dtsi | 591 compatible = "socionext,uniphier-pro5-dwc3"; 599 dwc3@65a00000 { 600 compatible = "snps,dwc3"; 609 compatible = "socionext,uniphier-pro5-dwc3"; 617 dwc3@65c00000 { 618 compatible = "snps,dwc3";
|
| H A D | keystone.dtsi | 189 compatible = "ti,keystone-dwc3"; 201 dwc3@2690000 { 202 compatible = "synopsys,dwc3";
|
| /rk3399_rockchip-uboot/configs/ |
| H A D | k2g_hs_evm_defconfig | 43 >>>>>>> 4dd76d0... usb: host: replace xhci-keystone driver by the generic dwc3 driver
|