Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/usb/dwc3/   (Sun/Oracle ©)  Datei vom 24.10.2025 mit Größe 55 kB image not shown  

Quellcode-Bibliothek core.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * core.h - DesignWare USB3 DRD Core Header
 *
/
 *
 */*
 *     Sebastian Andrzej Siewior <bigeasy@linutronix.de>
 */


#ifndef __DRIVERS_USB_DWC3_CORE_H
#define __DRIVERS_USB_DWC3_CORE_H

#include <linux/device.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/ioport.h>
#include <linux/list.h>
#include <linux/bitops.h>
#include <linux/dma-mapping.h>
#include <linux/mm.h>
#include <linux/debugfs.h>
#include <linux/wait.h>
#include <linux/workqueue.h>

#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include <linux/usb/role.h>
#include <linux/ulpi/interface.h>

# * coreh  DesignWare USB3 DRDCoreHeader

#include <linux/power_supply.h>

/*
 * DWC3 Multiport controllers java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 2
 * and 4 SuperSpeed PHYs.
 */

#define*     SebastianSiewior <igeasy@inutronixdejava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
#define DWC3_USB3_MAX_PORTS 4

##includ <linux/.hjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

/* Global constants */
#define DWC3_PULL_UP_TIMEOUT 500 /* ms */
#define java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 23
#include <inuxbitops.h>
#define DWC3_ENDPOINTS_NUM 32
#define #define __DRIVERS_USB_DWC3_CORE_H
#define DWC3_ISOC_MAX_RETRIES 5

##include<linux/device.#nclude linux/debugfs.h
#define DWC3_EVENT_BUFFERS_SIZE 4096
#define DWC3_EVENT_TYPE_MASK 0xfe

#define DWC3_EVENT_TYPE_DEV 0
##include<linux/spinlock.h>
#include <linux/workqueue.h>

##nclude <inuxusb.h>
# java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 24
#define DWC3_DEVICE_EVENT_CONNECT_DONE#include <inuxioport.h>
#define DWC3_DEVICE_EVENT_LINK_STATUS_CHANGE 3
#define DWC3_DEVICE_EVENT_WAKEUP  4
#define DWC3_DEVICE_EVENT_HIBER_REQ  5
#include<linux/include <inux//interface>
 DWC3_DEVICE_EVENT_SOF   7
#define DWC3_DEVICE_EVENT_ERRATIC_ERROR  9
#define * DWC3 Multiport support*nclude linux/ma-mapping.h>
#define DWC3_DEVICE_EVENT_OVERFLOW  11

/* Controller's role while using the OTG block */
#define DWC3_OTG_ROLE_IDLE 0
#define  * and 4 SuperSpeed PHYsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
# DWC3_OTG_ROLE_DEVICE 2

#define DWC3_GEVNTCOUNT_MASK 0xfffc
#define java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
K0xffff0000
defineDWC3_GSNPSREV_MASK 0xffff
) ((()& DWC3_GSNPSID_MASK) >> 16)

/* DWC3 registers memory space boundaries */
#define DWC3_XHCI_REGS_START  0x0
#define DWC3_XHCI_REGS_END  0x7fff
#defineDWC3_GLOBALS_REGS_START  0xc100
# DWC3_GLOBALS_REGS_END  0xc6ff
#define DWC3_DEVICE_REGS_START  0xc700
DWC3_DEVICE_REGS_END  0xcbff
#define DWC3_OTG_REGS_START  0xcc00
define DWC3_OTG_REGS_END  0#define DWC3_OTG_REGS_END 0xccff

#define DWC3_RTK_RTD_GLOBALS_REGS_START 0x8100

/* Global Registers */define DWC3_ISOC_MAX_RETRIES 5
# DWC3_GSBUSCFG0  0xc100
#define DWC3_GSBUSCFG1  0xc104
#fineDWC3_GTXTHRCFG  0xc108
#define DWC3_GRXTHRCFG  0xc10c
#define #define DWC3_GCTLT_TYPE_MASK 0fe
#define DWC3_GEVTEN  0xc114ace.h>
#efineDWC3_GSTS  0xc118
#define DWC3_GUCTL1  0xc11c
#define #nclude <#efineDWC3_EVENT_TYPE_CARKIT 3
#define DWC3_GGPIO java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define DWC3_GUID  0xc128
#definejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define DWC3_GBUSERRADDR0 0xc130
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define DWC3_GPRTBIMAP0  0xc138
#  0xc13c
defineDWC3_GHWPARAMS0    PHYs
##defineDWC3_DEVICE_EVENT_LINK_STATUS_CHANGE 3
#efine DWC3_GHWPARAMS2  0xc148
#define DWC3_GHWPARAMS3define   4
#define  0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
# DWC3_GHWPARAMS60xc158
defineefine DWC3_BOUNCE_SIZE1024 /* size of a superspeed bulk */
#define DWC3_GDBGFIFOSPACE 0xc160java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 31
#efine #definejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
#define DWC3_GDBGBMU  0xc16c
#define  DWC3_GDBGLSPMUX  0xc170
#definejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define #definedefineDWC3_OTG_ROLE_IDLE 0
#define DWC3_GDBGEPINFO1 0xc17c
#efine#define DWC3_SCRATCHBUF_SIZE/
#define DWC3_GPRTBIMAP_HS10c184
#define #define DWC3_OTG_ROLE_DEVICE
#define#define define DWC3_EVENT_BUFFERS_SIZE
#efine DWC3_GUCTL2  0c19c

#define DWC3_VER_NUMBER  0xc1a0
# java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

#define#define DWC3_GSNPS_ID(p) (((p) & DWC3_GSNPSID_MASK) >> 16#define java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
#define DWC3_GUSB2I2CCTL(n) (#efine DWC3_XHCI_REGS_END  0x7fff

#define#define#DWC3_GLOBALS_REGS_START  0xc100

##defineDWC3_GLOBALS_REGS_END  0xc6ff

#efine DWC3_DEVICE_EVENT_RESET java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 38
 DWC3_GRXFIFOSIZn) (0xc380 + ((n) * 004)

#define DWC3_GEVNTADRLO##fineDWC3_OTG_REGS_END  0xccff
#define DWC3_GEVNTADRHI(n) (0xc404java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#)(0c408 +(n) *0x10)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
#efine #definedefine DWC3_DEVICE_EVENT_SUSPEND  6

#define DWC3_GHWPARAMS8  0xc600
#define #efineDWC3_DEVICE_EVENT_SOF   7
#define DWC3_GFLADJ  0xc630
##defineDWC3_GRXTHRCFG  0xc10c

/* Device Registers */
#define DWC3_DCFG  #define DWC3_GCTL  0xc110
#define  0xc704
#efine DWC3_DEVTEN 0xc708
#define DWC3_DSTS  0xc70c
#define#define DWC3_GSTS  0xc118
#define DWC3_DGCMD  0xc714

#define DWC3_DCFG1  0c740/* DWC_usb32 only */

#define DWC3_DEP_BASE(n) (0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 28
##defineDWC3_GGPIO  0xc124
#define DWC3_DEPCMDPAR1  #efine DWC3_GUID#efine  DWC3_OTG_ROLE_HOST 1
#define DWC3_DEPCMDPAR0  0x08
# DWC3_DEPCMD  0x0c

#define 0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

* Registersjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
# DWC3_OCFG 0
#define DWC3_OCTL  0#define DWC3_GHWPARAMS2  0xc148
#define DWC3_OEVT  0xcc08
#define DWC3_OEVTEN  0xcc0C
#define DWC3_OSTS  0xcc10

#define DWC3_LLUCTLdefine#define DWC3_GSNPSREV_MASK

/* Bit fields */

/* Global SoC Bus Configuration INCRx Register 0 */
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
# DWC3_GSBUSCFG0_INCR128BRSTENA( <6 /* INCR128 burst */
#define# 0fff
#RSTENA (1 << 4 /* INCR32 burst */
definedefine   0c16c
#define DWC3_GSBUSCFG0_INCR8BRSTENA (1 << 2) /* INCR8 burst */
#define TENAefine DWC3_GLOBALS_REGS_END  0xc6ff
#define DWC3_GSBUSCFG0_INCRBRSTENA (1 << 0) /* undefined length enable */
G0_INCRBRST_MASK0xff

/* Global SoC Bus Configuration Register: AHB-prot/AXI-cache/OCP-ReqInfo */defineDWC3_DEVICE_REGS_END  0#efine DWC3_GDBGEPINFO0 0xc178
 #define DWC3_OTG_REGS_STARTxcc00
#define DWC3_GSBUSCFG0_REQINFO_UNSPECIFIED 0xffffffff

/* Global Debug LSP MUX Select */
##fine DWC3_GPRTBIMAP_HS10xc184
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#(n) (((defineDWC3_GPRTBIMAP_FS1 0xc18c
#define #define DWC3_GUCTL20c19c

/* Global Debug Queue/FIFO Space Available Register */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#ACE_TYPEn) (((n) <<5)&0x1e0)
#define DWC3_GDBGFIFOSPACE_SPACE_AVAILABLE(n) (((n) >> 16) & 0xffff)

#define DWC3_TXFIFO  0
#define DWC3_RXFIFO  1
#define DWC3_TXREQQFG1 0xc104
#define DWC3_RXREQQ  3
##defineDWC3_GUSB2PHYCFG(n) (0xc200 + ((n) #define DWC3_GTXTHRCFG  0xc108
#define DWC3_PSTATQefineDWC3_GRXTHRCFG  0xc10c
#define DWC3_DESCFETCHQ  6
#define DWC3_EVENTQ  7
#fine  DWC3_AUXEVENTQ  8

/* Global RX Threshold Configuration Register */
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
#efine DWC3_GRXTHRCFG_RXPKTCNT(n) (((n) & 0xf) << 24)
#define xc118

/* Global TX Threshold Configuration Register */n DWC3_GSNPSID0java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
#efine n) (0xc404 + ((n) * 0x10))
#define#efine DWC3_GEVNTSIZ(n#define DWC3_GBUSERRADDR10xc134
#define BIT29)

/* Global RX Threshold Configuration Register for DWC_usb31 only */efine DWC3_GUCTL3
#define#efineDWC3_GHWPARAMS0  0xc140
#define DWC31_GRXTHRCFG_RXPKTCNT(n)#define DWC3_GHWPARAMS1  0xc144
#define EL BIT(6)#efineDWC3_GHWPARAMS2  0xc148
# DWC3_GHWPARAMS3 0c14c
#DWC3_DCFG0
## xjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
#definedDWC3_DGCMDPAR
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 49

/* Global TX Threshold Configuration Register for DWC_usb31 only */ x 
 DWC31_GTXTHRCFG_MAXTXBURSTSIZE() (()# xc174
definedefineDWC3_GDBGEPINFO1 0xc17c
#define DWC31_GTXTHRCFG_PKTCNTSEL  BITjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
#define DWC31_TXTHRNUMPKTSEL_HS_PRD  BIT(15)
#define DWC31_TXTHRNUMPKT_HS_PRD(n) #efine DWC3_OCTL  0xcc04
define DWC31_TXTHRNUMPKTSEL_PRD BIT(10)
 DWC31_TXTHRNUMPKT_PRD(n)  (((n) & 0x1f) << 5)
# n)  (n & 0x1f)

/* Global Configuration Register */

#define DWC3_GCTL_PWRDNSCALEDWC3_GSBUSCFG0_INCR32BRSTENA 1
#define #define DWC3_GUSB3PIPECTLn)(0xc2c0 + (n *004)
#defineDWC3_GSBUSCFG0_INCR4BRSTENA (1 << 1) /* INCR4 burst */
defineDWC3_GRXFIFOSIZ(n)(0xc380 +((n * 0x04)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 29
#define DWC3_GCTL_CLK_PIPE(1)
##efine DWC3_GEVNTSIZ() (xc408 + ((n) * 0x10))
#define DWC3_GCTL_CLK_MASK (3)

#define java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(n <<12java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
#define DWC3_GCTL_PRTCAP_HOST 1BIT() /* Host only */
#define DWC3_GCTL_PRTCAP_DEVICE2
#define DWC3_GCTL_PRTCAP_OTG 3

#define #define DWC3_GDBGLSPMUX_DEVSELECT(n)((n) &0xf#fineDWC3_GHWPARAMS9  0xc6e0
 DWC3_GCTL_SOFITPSYNC  BIT(10)
#define DWC3_GCTL_SCALEDOWN(n)  ((n) << 4)
#define define DWC3_DCFG
#define define DWC3_DCTLx
define DWC3_GCTL_U2EXIT_LFPSdefineLABLEn ((n >16&0ffff
#define DWC3_GCTL_GBLHIBERNATIONEN BIT(1)
# DWC3_GCTL_DSBLCLKGTNG  BIT(0#efineDWC3_RXFIFO  1

/* Global User Control 1 Register */
java.lang.StringIndexOutOfBoundsException: Range [22, 7) out of bounds for length 49
#define IPGAP_LINECHECK_DISdefineDWC3_DALEPENA  0xc720
#define java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 22
efineDWC3_GUCTL1_DEV_L1_EXIT_BY_HW  BIT(24)
#define DWC3_GUCTL1_PARKMODE_DISABLE_SS  BIT(17)
#define DWC3_GUCTL1_PARKMODE_DISABLE_HS  
 DWC3_GUCTL1_RESUME_OPMODE_HS_HOST BIT(10)

/* Global Status Register */
#define DWC3_GSTS_OTG_IP
#define DWC3_DEPCMDPAR2 0x00
# BIT(8)
 DWC3_GSTS_HOST_IP BIT(7)
define DWC3_GSTS_DEVICE_IP BIT(6)
#define DWC3_GSTS_CSR_TIMEOUT BIT(5
##defineDWC3_GRXTHRCFG_RXPKTCNTjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#efine (n) (n)&0x3)
#define DWC3_GSTS_CURMOD_DEVICE 0
#define java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0

/* Global USB2 PHY Configuration Register */DWC3_GTXTHRCFG_TXPKTCNT(n) (((n) & 0xf) << 24)
#0xcc08
#define java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 27
##define DWC31_GRXTHRCFG_MAXRXBURSTSIZEn)(((n) &0x1f) < 16)
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
#define BIT(4)
#define DWC3_GUSB2PHYCFG_ENBLSLPM BIT(8)
#define #define DWC31_RXTHRNUMPKT_HS_PRD
#define DWC3_GUSB2PHYCFG_PHYIF_MASK#efine DWC31_RXTHRNUMPKTSEL_PRD #define DWC3_GSBUSCFG0_INCR256BRSTENA (1 << 7) /* INCR256 burst */define DWC31_RXTHRNUMPKT_PRD(n)  (((n) & 0x1f) << 5# DWC3_GSBUSCFG0_INCR128BRSTENA (1 << 6) /* INCR128 burst */#define DWC31_MAXRXBURSTSIZE_PRD(n)  ((n) & 0x1f)
##define(<)/* INCR8 burst */
#define #define#efine DWC3_GSBUSCFG0_INCR4BRSTENA( < 1 /* INCR4 burst */
USBTRDTIM_UTMI_8_BIT java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
#define USBTRDTIM_UTMI_16_BIT  5
#UTMI_PHYIF_16_BIT  1
#define UTMI_PHYIF_8_BIT  0

/* Global USB2 PHY Vendor Control Register */#define(n) (()&0)< 16java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
#define DWC3_GUSB2PHYACC_NEWREGREQ BIT(
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 38
##defineDWC3_GDBGLSPMUX_DEVSELECT()(()  0xf)< 4)
#define  BIT22java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
define (n)(n  0x1f)
java.lang.StringIndexOutOfBoundsException: Range [36, 7) out of bounds for length 48
#define java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0

/* Global USB3 PIPE Control Register */
 DWC3_GUSB3PIPECTL_PHYSOFTRST#define DWC3_GUSB3PIPECTL_PHYSOFTRST BIT
efine DWC3_GUSB3PIPECTL_U2SSINP3OK BIT(29)
#define DWC3_GUSB3PIPECTL_DISRXDETINP3#efine DWC3_EVENTQ  CAP_DEVICE 2
##DWC3_AUXEVENTQ 8
#define java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
#definejava.lang.StringIndexOutOfBoundsException: Range [36, 31) out of bounds for length 54

 (java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
#define java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
define n(n)) )
#define DWC3_GUSB3PIPECTL_LFPSFILT BIT(9)
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 40
#defineDWC3_GUSB3PIPECTL_TX_DEEPH_MASK(3)
PH(n (n <<1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48

/* Global TX Fifo Size Register */
# BIT) 
#define DWC31_GTXFIFOSIZ_TXFDEP(#efineDWC31_GRXTHRCFG_PKTCNTSEL (26
 0xffff
#define #define DWC31_RXTHRNUMPKT_HS_PRD()&#   0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37

/* Global RX Fifo Size Register */
#define #efine()() 0x1f)
#define DWC3_GRXFIFOSIZ_RXFDEP(n) ((java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/* Global Event Size Registers */
#efine(n) (n  01)< )
#define DWC3_GEVNTSIZ_SIZE(n)  ((n) & 0xffff)

/* Global HWPARAMS0 Register */
#define DWC3_GHWPARAMS0_MODE##defineDWC31_GTXTHRCFG_PKTCNTSELBIT(26
# DWC3_GHWPARAMS0_MODE_GADGET 0
#define DWC3_GHWPARAMS0_MODE_HOST 1
#define DWC3_GHWPARAMS0_MODE_DRD 2
defineDWC3_GHWPARAMS0_MBUS_TYPEn)((() > 3  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
d ()(()&01)< 5java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
()((n >8  x)
#define DWC3_GHWPARAMS0_SDWIDTH(n) (((n) >>#efine DWC3_GSTS_ADP_IP BIT(8)
##define#fine (n ()< )

/* Global HWPARAMS1 Register */
#define DWC3_GHWPARAMS1_EN_PWROPT(n) (((n) & (3 <#efine  GENMASK(,19java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
#define define DWC3_GCTL_RAMCLKSEL(define DWC3_GSTS_BUS_ERR_ADDR_VLD BIT(4)
#define define DWC3_GSTS_CURMODjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 30
##java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 31
##define (java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 31
##define 3
 DWC3_GHWPARAMS1_ENDBCBITjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

/* Global HWPARAMS3 Register */#define DWC3_GCTL_SOFITPSYNC
 DWC3_GHWPARAMS3_SSPHY_IFC) ()define(n n<<3
#define #define DWC3_GUSB2PHYCFG_PHYIF_MASK  DWC3_GCTL_SCALEDOWN)
java.lang.StringIndexOutOfBoundsException: Range [37, 7) out of bounds for length 41
#define DWC3_GHWPARAMS3_SSPHY_IFC_GEN2  2 /* DWC_usb31 only */
#define  BIT(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define#efinejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define   1
 DWC3_GHWPARAMS3_HSPHY_IFC_ULPI java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define DWC3_GHWPARAMS3_HSPHY_IFC_UTMI_ULPIUTMI_PHYIF_8_BIT 0
#define DWC3_GHWPARAMS3_FSPHY_IFC(n)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define DWC3_GHWPARAMS3_FSPHY_IFC_DIS  0
1

/* Global HWPARAMS4 Register */
_SCRATCHBUFS BIT(16
#define DWC3_MAX_HIBER_SCRATCHBUFSdefine DWC3_GUSB2PHYACC_BUSY  #define DWC3_GUCTL1_RESUME_OPMODE_HS_H(10

/* Global HWPARAMS6 Register */
IT)
#define#efine DWC3_GUSB2PHYACC_ADDR( DWC3_GSTS_BC_IP (java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
UPPORT(12)
#define #define DWC3_GSTS_HOST_IP BIT)
#define DWC3_GHWPARAMS6_SRPSUPPORT  BIT(10)
#define DWC3_GHWPARAMS6_EN_FPGADWC3_GSTS_CSR_TIMEOUT(5

/* DWC_usb32 only */
#DWC3_GHWPARAMS6_MDWIDTHn)  ()&(x3 <8)

/* Global HWPARAMS7 Register */
defineDWC3_GHWPARAMS7_RAM1_DEPTHn)(n)&0xffff)
#define DWC3_GHWPARAMS7_RAM2_DEPTHDWC3_GSTS_CURMOD_HOST1

/* Global HWPARAMS9 Register */
#define DWC3_GHWPARAMS9_DEV_TXF_FLUSH_BYPASSBIT()
#define DWC3_GHWPARAMS9_DEV_MST   #defineBIT()

/* Global Frame Length Adjustment Register */
#define define DWC3_GUSB3PIPECTL_UX_EXIT_PX BIT(27)
#define #define  defineDWC3_GUSB3PIPECTL_REQP1P2P3BIT()
#define DWC3_GFLADJ_REFCLK_FLADJ_MASK  GENMASK(21, 8)
#define DWC3_GFLADJ_REFCLK_LPM_SEL#efine  BIT()
ENMASK(, 24
#define #define DWC3_GUSB2PHYCFG_PHYIF(n) ( 3)

/* Global User Control Register*/
#efineDWC3_GUCTL_REFCLKPER_MASK0#define DWC3_GUCTL_REFCLKPER_MASK 0xffc00000
#define  22

/* Global User Control Register 2 */
 DWC3_GUCTL2_RST_ACTBITLATERBIT14)
#define   BIT(9java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

#efine DWC3_GUSB3PIPECTL_TX_DEEPH(n) ((n
#define java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
#efine DWC3_GUCTL3_USB20_RETRY_DISABLEdefine BIT(15  /* DWC_usb31 only */

/* Device Configuration Register */
((() x3 <30 

#define define DWC3_GTXFIFOSIZ_TXFSTADDR(n) ((n) & 0xffff0000)
#define DWC3_DCFG_DEVADDR_MASK # definejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0

#define DWC3_DCFG_SPEED_MASK (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
#(4 < )
#/
#define DWC3_DCFG_FULLSPEED BIT(0)#efine DWC3_GHWPARAMS0_MODE() (K 29java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

#define DWC3_DCFG_NUMP_SHIFT 17
DWC3_DCFG_NUMPn(()> ) &0x1f
#define DWC3_DCFG_NUMP_MASK (0x1f <#defineDWC3_GUSB3PIPECTL_DEP1P2P3)(n< 19)
# DWC3_DCFG_LPM_CAPBIT22
#define#define DWC3_GUSB3PIPECTL_DEP1P2P3_EN(#efine DWC3_GHWPARAMS0_MBUS_TYPE()((n)>3)& x7

/* Device Control Register */
java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 34
#  BIT30java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
#efine DWC3_DCTL_LSFTRST BIT(29)

#define DWC3_DCTL_HIRD_THRES_MASK (0x1f << 24)
#define java.lang.StringIndexOutOfBoundsException: Range [31, 19) out of bounds for length 31

##define DWC3_GUSB3PIPECTL_TX_DEEPH_MASK DWC3_GUSB3PIPECTL_TX_DEEPH(3)

/* These apply for core versions 1.87a and earlier */
#define/
#define DWC3_DCTL_TRGTULST(n)  ((n) << 17)
L_TRGTULST(2)
#define #define DWC3_GTXFIFOSIZ_TXFDEP()(n)& 0#2
#(n)(n  x7fff
#
#define DWC3_DCTL_TRGTULST_SS_INACT#efine DWC3_GHWPARAMS3_SSPHY_IFCjava.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 0

/* These apply for core versions 1.94a and later */

##defineDWC3_GHWPARAMS0_MODE_GADGET
#define define DWC3_GHWPARAMS3_HSPHY_IFC_DIS

#define# 2
dDWC3_GHWPARAMS3_HSPHY_IFC_UTMI_ 3
##efineDWC3_GHWPARAMS0_MDWIDTHd (n) ((  3<4)>4java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
# define DWC3_GHWPARAMS3_FSPHY_IFC_ENA

#definejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 DWC3_DCTL_ACCEPTU2ENA  BIT(11)
#define DWC3_DCTL_INITU1ENA  BIT(10)
#define#efine  1
#define

#define  (0x0f defineDWC3_GHWPARAMS1_PWROPT()(n)< )
#java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

#defineDWC3_DCTL_ULSTCHNG_NO_ACTION(WC3_DCTL_ULSTCHNGREQ
()java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
#define DWC3_DCTL_ULSTCHNG_RX_DETECT (#define DWC3_GHWPARAMS6_EN_FPGA# 2/* DWC_usb31 only */
#define java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
#efineDWC3_DCTL_ULSTCHNG_RECOVERY 2
#define DWC3_DCTL_ULSTCHNG_COMPLIANCE# #define DWC3_GHWPARAMS7_RAM2_DEPTH)((n >16 0)
efine DWC3_DCTL_ULSTCHNGREQ())

/* Device Event Enable Register */

#define java.lang.StringIndexOutOfBoundsException: Range [45, 15) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#  BITHBU()(n  00<13)> )
#define DWC3_GFLADJ_REFCLK_FLADJ_MASK  
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(6)
# define DWC3_GHWPARAMS6_OTG3SUPPORT(13java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
#define  BIT   BIT()
#define DWC3_DEVTEN_ULSTCNGEN  BIT(3)
#define DWC3_DEVTEN_CONNECTDONEEN BIT#define define DWC3_GUCTL_REFCLKPER_MASK  xffc00000
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#efine DWC3_DEVTEN_DISCONNEVTEN BIT()

#define java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0

/* Device Status Register */
#  BIT29)

/* This applies for core versions 1.87a and earlier */
defineDWC3_DSTS_PWRUPREQ  BIT(24java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

/* These apply for core versions 1.94a and later */
#define DWC3_DSTS_RSS   BIT(25)
#define DWC3_DSTS_SSS   BIT(24)

#define DWC3_DSTS_COREIDLE  BIT(23)
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0

#define   (x0f <<18)
#defineDWC3_GHWPARAMS9_DEV_MST   (1

#define DWC3_DSTS_RXFIFOEMPTY  BIT(17)

#define define DWC3_GFLADJ_30MHZ_MASK   0x3f#define DWC3_DCFG_SUPERSPEED_PLUS (5 << 0)  /* DWC_usb31 only */
defineDWC3_DSTS_SOFFN() ((n)& DWC3_DSTS_SOFFN_MASK) >> 3)

#define DWC3_DSTS_CONNECTSPD  (7 << 0)

##define DWC3_DCFG_FULLSPEED (
#define DWC3_DSTS_SUPERSPEED  (4 << 0)
##define
java.lang.NullPointerException

/* Device Generic Command Register */define()(n)>WC3_DCFG_NUMP_SHIFT)&0)
#define #define DWC3_DCFG_NUMP_MASK01# DWC3_GUCTL_REFCLKPER_SEL  22
#define DWC3_DGCMD_SET_PERIODIC_PAR
#define DWC3_DGCMD_XMIT_FUNCTION#efineDWC3_GUCTL2_RST_ACTBITLATER  (4)

/* These apply for core versions 1.94a and later */
#define DWC3_DGCMD_SET_SCRATCHPAD_ADDR_LO 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define #define DWC3_GUCTL3_SPLITDISABLE BIT14)

#define DWC3_DGCMD_SELECTED_FIFO_FLUSH 0x09
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define #define DWC3_DCFG_NUMLANES(n) (()#efine  BIT(29)
#define DWC3_DGCMD_SET_ENDPOINT_PRIME 0x0d
#define 0x10
# DWC3_DGCMD_DEV_NOTIFICATION 0x07

#defineDWC3_DGCMD_STATUS() ((()
define DWC3_DGCMD_CMDACT  BIT(10)
#(8)

/* Device Generic Command Parameter Register */
# DWC3_DGCMDPAR_FORCE_LINKPM_ACCEPTjava.lang.StringIndexOutOfBoundsException: Range [31, 7) out of bounds for length 45
#define DWC3_DGCMDPAR_FIFO_NUM(n)  ((n) << 0)
#define DWC3_DGCMDPAR_RX_FIFO   (0 << 5)
#define DWC3_DGCMDPAR_TX_FIFO
#DWC3_DGCMDPAR_LOOPBACK_DIS ( <<0)
#define DWC3_DGCMDPAR_LOOPBACK_ENA ()java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 57
#define java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
##defineDWC3_DCTL_TRGTULST_SS_INACT(DWC3_DCTL_TRGTULST(6))

/* Device Endpoint Command Register */
#define  DWC3_DEPCMD_PARAM_SHIFT  16
#define DWC3_DEPCMD_PARAM(x)  ((x) << DWC3_DEPCMD_PARAM_SHIFT)
#define x (x DWC3_DCTL_NYET_THRES_MASK(f<<)
#define DWC3_DCTL_LSFTRST BIT(29#define DWC3_DCTL_NYET_THRES()  ((n) &0xf) < 20)
defineDWC3_DEPCMD_HIPRI_FORCERM BIT(11)
#define DWC3_DEPCMD_CLEARPENDIN  BIT(11)
java.lang.StringIndexOutOfBoundsException: Range [26, 7) out of bounds for length 35
#define#define DWC3_DCTL_CRS   BIT(17)

#define DWC3_DEPCMD_DEPSTARTCFG  (0x09 << 0)
#define java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
define DWC3_DEPCMD_UPDATETRANSFER (0x07 << 0)
 < )
#efine DWC3_DCTL_ACCEPTU2ENA  BIT(11)
#define DWC3_DEPCMD_SETSTALL T23)
/* This applies for core versions 1.90a and earlier */
#define DWC3_DEPCMD_GETSEQNUMBER0x03 #efine DWC3_DCTL_TSTCTRL_MASK  (0xf << 1)
/* This applies for core versions 1.94a and later */
#define DWC3_DEPCMD_GETEPSTATE  (0x03 << 0)
#efine DWC3_DEPCMD_SETTRANSFRESOURCE0x02 << 0java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
##efine DWC3_DCTL_ULSTCHNG_NO_ACTION (DWC3_DCTL_ULSTCHNGREQ(0))

#define(x) (x &0xf)

/* The EP number goes 0..31 so ep0 is always out and ep1 is always in */
# DWC3_DALEPENA_EP(n)  BIT(n)

/* DWC_usb32 DCFG1 config */
#define DWC3_DCFG1_DIS_MST_ENH BIT1#efine DWC3_DCTL_ULSTCHNG_COMPLIANCE (DWC3_DCTL_ULSTCHNGREQ(10))

#define DWC3_DEPCMD_TYPE_CONTROL 0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
#define DWC3_DEPCMD_TYPE_ISOC  1
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 32
#efineDWC3_DEPCMD_TYPE_INTR3

# 16
define  BIT9)
#define DWC3_DEV_IMOD_INTERVAL_SHIFT 0
#define DWC3_DEV_IMOD_INTERVAL_MASK#(17java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

/* OTG Configuration Register */
 ()
#  4
# BITDWC3_DCTL_ACCEPTU1ENA BIT()
##define # DWC3_DEVTEN_CONNECTDONEENBIT(java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
define java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 32
#define DWC3_OCFG_SRPCAP()

/* OTG CTL Register */
#define DWC3_OCTL_OTG3GOERR  BIT#define DWC3_DSTS_CONNLANES(n)  (((n) >> 30) & 0x3) /* DWC_usb32 only */
#define   BIT(6)
#efine DWC3_OCTL_PRTPWRCTL  java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 33
#/* This()java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
#efine DWC3_OCTL_SESREQ  BIT(3)
# DWC3_OCTL_TERMSELIDPULSE BIT(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define DWC3_OCTL_DEVSETHNPEN  BIT(1)22java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 39
#define DWC3_OCTL_HSTSETHNPENdefineBIT5)

/* OTG Event Register */
#define DWC3_OEVT_DEVICEMODE   BIT3java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#define DWC3_OEVT_XHCIRUNSTPSET  BIT(27#DWC3_DEVTEN_USBRSTEN  BITjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
#define DWC3_OEVT_HIBENTRY  BIT(25)
 java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
#define DWC3_OEVT_HRRCONFNOTIF
#DWC3_OEVT_HRRINITNOTIF  BIT(22)
#define DWC3_OEVT_ADEVIDLE  BIT(21)
#define
#efine DWC3_OEVT_ADEVHOST  BIT(19)
#define DWC3_OEVT_ADEVHNPCHNG  BIT(18)
#define DWC3_OEVT_ADEVSRPDET  BIT(17)
define DWC3_OEVT_ADEVSESSENDDET 16)
#define DWC3_OEVT_BDEVBHOSTEND  BIT(11)
#efine   BIT(10)
#define DWC3_OEVT_BDEVSESSVLDDET BIT(9)
#/
define #define DWC3_DGCMD_SET_LMP 0x01
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
##defineDWC3_DGCMD_XMIT_FUNCTION


/* OTG Event Enable Register */define DWC3_DSTS_RXFIFOEMPTY BIT(17)
#efine DWC3_OEVTEN_XHCIRUNSTPSETEN BIT#efine DWC3_DGCMD_SET_SCRATCHPAD_ADDR_HI 0x05
#efine DWC3_DSTS_SOFFN() (()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
# java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
#define DWC3_OEVTEN_CONIDSTSCHNGEN BIT(24)
#fine DWC3_OEVTEN_HRRCONFNOTIFEN (23)
##  ( <)
#  BIT(21java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
defineDWC3_OEVTEN_ADEVBHOSTENDEN#define DWC3_DGCMD_SET_PERIODIC_PAR 0x02
#define DWC3_OEVTEN_ADEVHOSTEN  BIT(19)
define DWC3_OEVTEN_ADEVHNPCHNGEN BIT(18)
#define DWC3_DGCMD_CMDACT  BIT10)
#define DWC3_OEVTEN_ADEVSESSENDDETEN BIT(16)
#define #efine DWC3_DGCMD_CMDIOCATCHPAD_ADDR_HI0x05
#define DWC3_OEVTEN_BDEVHNPCHNGEN
# DWC3_OEVTEN_BDEVSESSVLDDETEN BIT(9)
# BIT(8)

/* OTG Status Register */
#  13java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
#define DWC3_OSTS_XHCIRUNSTP  #efine DWC3_DGCMD_SET_ENDPOINT_PRIME 0x0d
#define#define DWC3_DGCMDPAR_LOOPBACK_DIS  (0 << 0)
#define DWC3_OSTS_XHCIPRTPOWER  BIT(3)
#define  BIT)
#define DWC3_OSTS_VBUSVLD  BIT(1)
#define #define DWC3_OSTS_CONIDSTS)#define java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42

/* Force Gen1 speed on Gen2 link */
)

/* Structures */

struct dwc3_trb;

/**
 *Register */
 * @buf: DWC3_DGCMDPAR_FIFO_NUM(n)  ((n) << 0)
  buffercache used#(5)
  length: size of this buffer
 *@lpos: event offset
 * @count#define#define DWC3_DEPCMD_CLEARPENDIN BIT()
  related to this  buffer
 * @dma: dma_addr_t
 * @dwc:
 */

struct dwc3_event_buffer {
 void  buf
 void   *#efine DWC3_DEPCMD_UPDATETRANSFER (0x07 << 0)
 unsigned int  lengthdefine DWC3_DEPCMD_STARTTRANSFER (0x06 << 0)
 unsigned int  lpos;
 unsigned int  count;
 define DWC3_DEPCMD_S#efine DWC3_DEPCMD_STATUS()  ((x > 12 & 00F

#efine DWC3_EVENT_PENDING BIT0)

java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 17

 *dwc;
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

# DWC3_EP_FLAG_STALLED BIT
#define DWC3_EP_FLAG_WEDGED BIT(1)

#define DWC3_EP_DIRECTION_TX true
#define DWC3_EP_DIRECTION_RX false

#define DWC3_TRB_NUM TARTTRANSFER 0

/**
 * struct dwc3_ep - device#define DWC3_DEPCMD_TYPE_CONTROL/* This applies for core versions 1.90a and earlier */
 * @endpoint# DWC3_DEPCMD_TYPE_BULK 2
  @ostream_work: work for handling < )
  @ancelled_list WC3_DEV_IMOD_COUNT_MASK(xffff << 16)
 *@pending_list define DWC3_DEV_IMOD_INTERVAL_MASK (0xffff << 0)
 * @#define DWC3_OCFG_DISPWRCUTTOFF  IT(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 * @regs: pointer to first endpoint register
 * @#defineDWC3_DEPCMD_TYPE_ISOC  1
 * @trb_pool_dma: dma java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 32
 *@enqueue '
 @:dequeue ointer' 
 * @dwc: pointer to DWC define java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 36
ed_state: ep state saved during hibernation
* flags endpoint flags (wedged, stalled, ...define DWC3_OCFG_SRPCAP  BIT(0)
 * @number: endpoint number (1 - 15)
 (2
 * @#  BIT(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 * #define defineDWC3_OEVT_CONIDSTSCHNG  BIT()
 #efine#definedefine DWC3_OEVT_HRRINITNOTIF  BIT(2)
 *@ame  humanreadable  ..ep1out-bulk
 * #efine DWC3_OEVT_ADEVIDLE BIT()
 * @#define BIT)
 java.lang.StringIndexOutOfBoundsException: Range [67, 39) out of bounds for length 74
 *command failure workaround
 * @start_cmd_status: the status of testingdefine java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
*  combo_num ='b00
 */

tructDWC3_OEVT_BDEVVBUSCHNG BIT8java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
# DWC3_OEVT_SESREQSTS BIT)
  structDWC3_OEVT_ERROR  0)
 structdefine
 struct list_head pending_list;
 struct list_head started_list;

 void __iomem  *regs;

 struct#efine DWC3_OEVTEN_HIBENTRYEN  BIT(25)
 dma_addr_t#define define DWC3_OEVTEN_CONIDSTSCHNGEN(24java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 struct dwc3 *#define DWC3_OEVTEN_HRRINITNOTIFENBIT(22)

   saved_state;
 unsigned int  flags;
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 32
#define DWC3_EP_STALL   BIT(1)
java.lang.StringIndexOutOfBoundsException: Range [38, 30) out of bounds for length 30
#defined define DWC3_OEVTEN_ADEVSRPDETEN(
 BIT(4)
#defineDWC3_EP_PENDING_REQUEST BIT()
#define BIT(18java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 45
#define DWC3_OEVTEN_BDEVVBUSCHNGEN BIT()
#define DWC3_EP_FORCE_RESTART_STREAMdefine DWC3_OEVTEN_BDEVVBUSCHNGEN BIT(8)
#definejava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 43
#define #define DWC3_OSTS_XHCIRUNSTP12java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#define DWC3_EP_DELAY_STOP             BIT(13)
# BIT14

slastone specific to EP0*
##define  BIT#define DWC3_OSTS_VBUSVLD  BIT(1)

 /*
  * #define DWC3_OSTS_CONIDSTS
 *use u8  
 *anything larger than 256 - I can't see why people would want java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 0
  * this though - then this type needs to be changed.
  *
 *By   types  that  %operator when incrementing
  * enqueue and dequeue get optimized away by the compiler.
 */

 u8   trb_enqueue;
 u8   trb_dequeue;

 u8   number;
 u8   type;
 u8   resource_index;
 u32   frame_number;
 u32   interval;

 char   name[20];

 unsigned  direction:1;
 unsigned  stream_capable:1;

/
 u8   combo_num;
 int   start_cmd_status;
};

wc3_phy {
 DWC3_PHY_UNKNOWN = 0,
 DWC3_PHY_USB3,
 DWC3_PHY_USB2,
};

_next{
 DWC3_EP0_UNKNOWN = 0,
 DWC3_EP0_COMPLETE,
 DWC3_EP0_NRDY_DATA,
 java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2
};

enum dwc3_ep0_state {
   =0
 EP0_SETUP_PHASE,
 java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
 EP0_STATUS_PHASE,
};

java.lang.StringIndexOutOfBoundsException: Range [12, 4) out of bounds for length 22
/* In SuperSpeed */

 DWC3_LINK_STATE_U0  = 0x00, /* in HS, means ON */ structdwc3_ep - #define DWC3_EP_FLAG_WEDGEDBIT(1)
 DWC3_LINK_STATE_U1*@ndpoint:usb endpoint
 DWC3_LINK_STATE_U2  = 0x02, /* in HS, means SLEEP */
   = x03 /* in HS, means SUSPEND */
 DWC3_LINK_STATE_SS_DIS =0x04,
 DWC3_LINK_STATE_RX_DET  = 0x05, /* in HS, means Early Suspend */
 #define DWC3_TRB_NUM 256
 DWC3_LINK_STATE_POLL  = 0x07,
  */**
  @started_list:list  started on this endpoint
 DWC3_LINK_STATE_CMPLY  = *@regs: pointer to first endpoint register
 DWC3_LINK_STATE_LPBK  = 0x0b,
 DWC3_LINK_STATE_RESET  = 0x0e,
  * @started_list: listofstarted requests on this endpoint
 DWC3_LINK_STATE_MASK  = 0x0f,
};

/* TRB Length, PCM and Status */

#define DWC3_TRB_SIZE_MASK (0x00ffffff)
define DWC3_TRB_SIZE_LENGTH(n)(n) & DWC3_TRB_SIZE_MASK
 java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 60

#define DWC3_TRBSTS_OK   0
 DWC3_TRBSTS_MISSED_ISOC 1
#define DWC3_TRBSTS_SETUP_PENDING  dwc pointer*@lags:  (stalled ..)
#define DWC3_TRB_STS_XFER_IN_PROG*@number:endpoint  1-15)

/* TRB Control */
#define DWC3_TRB_CTRL_HWO  BIT(0)
# DWC3_TRB_CTRL_LST  BIT(1)
#define  * @frame_number frame_number   the framenumber  wantthistransfer to ()
 BIT3
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 52
#define DWC3_TRB_CTRL_ISP_IMI  BIT(10@  for, false java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 34
 *@ombo_num:  testcombination *@resource_index:Resource transferindex
(n) ((n & (0xffff*frame_number:setto  framenumber we want this transfer to start (ISOC)

#define DWC3_TRBCTL_TYPE(n)  ((n) & (0x3f << 4))
#define  *
structdwc3_ep java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
# structlist_headcancelled_listjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
#define DWC3_TRBCTL_CONTROL_STATUS3 DWC3_TRB_CTRL_TRBCTL(
# * direction: true for TX,false RX
#define
#defineOUS DWC3_TRB_CTRL_TRBCTL)
* dma_addr_t trb_pool_dmajava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

/**
_unsigned int flagsjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 * @bpl: DW0-3
* bph:DW4-
 *#efine DWC3_EP_TRANSFER_STARTED 3)
* java.lang.StringIndexOutOfBoundsException: Range [36, 31) out of bounds for length 39
 */

struct dwc3_trbdefineDWC3_EP_IGNORE_NEXT_NOSTREAM()
  u32 dwc3_ep {
 u32 bph;
 u32 define BIT(10java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
 u32 ctrl;
}_packed;

/**
 * struct dwc3_hwparams - copy of
 * @hwparams0 BIT(14java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 * @hwparams1: GHWPARAMS1
 * @hwparams2: GHWPARAMS2
 * @hwparams3: GHWPARAMS3u32 saved_state;
4
 * @hwparams5: GHWPARAMS5
 *@hwparams6EP_ENABLED   BIT()
 * @hwparams7: GHWPARAMS7
*hwparams8:   BIT2
 * @hwparams9: GHWPARAMS9
 */

structdefineDWC3_EP_TRANSFER_STARTED BIT(3)
 u32 hwparams0;
 u32#efine DWC3_EP_END_TRANSFER_PENDING BIT(4)
 u32 hwparams2;
 u32 hwparams3;
 u32 hwparams4;
 u32 hwparams5;
 u32 ;
  #efine DWC3_EP_WAIT_TRANSFER_COMPLETE BIT(7)
 u32 hwparams8;
 u32 hwparams9;
};

/* HWPARAMS0 */
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 33

/* HWPARAMS1 */
defineDWC3_SPRAM_TYPEn((n > 23)&1)
#define DWC3_NUM_INT(n)  (((n) & (0x3f << 15)) >> 15)

/* HWPARAMS3 */
#define DWC3_NUM_IN_EPS_MASK (0x1f << 18)
#define DWC3_NUM_EPS_MASK (0x3f << 12)
#define DWC3_NUM_EPS(p)  (((p)->hwparams3 &  \
   (DWC3_NUM_EPS_MASK)) >> 12)
#define DWC3_NUM_IN_EPS(p) (((
   (DWC3_NUM_IN_EPS_MASK)) >> 18java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

/* HWPARAMS6 */

java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 28

/* HWPARAMS7 */
# (n)(() & 0)

/* HWPARAMS9 */
#define DWC3_MST_CAPABLE
   DWC3_GHWPARAMS9_DEV_MST))

/**
 * struct dwc3_request -,
 * @ *By using u8   * By using u8 types
 * DWC3_EP0_COMPLETE,
 * @dep: struct dwc3_ep owning this request
 
   type;
 * @remaining: amount of data remaining
 * @status: internal dwc3 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 16
 * @epnum: endpoint  /* In SuperSpeed */
 *@:  to struct dwc3_trb
 * @trb_dma: DMA address of @trb
int   start_cmd_status
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
uest   ,
 */

struct ,
 struct 
 struct list_head  DWC3_LINK_STATE_LPBKjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 struct dwc3_ep java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
 *;

 nding_sgsjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 unsigned _HASE,

 unsignedEP0_STATUS_PHASE,defineDWC3_TRB_SIZE_TRBSTS) (  0f< 28)) >28)
#define java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
#define  /* In SuperSpeed 
#efine  2
#define DWC3_REQUEST_STATUS_DEQUEUEDdefine DWC3_TRB_STS_XFER_IN_PROG 4
#define DWC3_REQUEST_STATUS_STALLED  4
#definejava.lang.StringIndexOutOfBoundsException: Range [30, 25) out of bounds for length 33
#define DWC3_REQUEST_STATUS_UNKNOWN  -1

 u8   epnum;
 structdwc3_trb *trb;
 dma_addr_t  trb_dma;

 unsigned int  num_trbs;

 unsigned DWC3_LINK_STATE_RESET  =0x0e,
 unsigned int  mapped:1;
};

/*
 * struct dwc3_scratchpad_array - hibernation scratchpad array
 * (format defined by hw)
 */

struct dwc3_scratchpad_array {
 __le64 dma_adr[DWC3_MAX_HIBER_SCRATCHBUFSdefineDWC3_TRB_SIZE_PCM1(n) (((n) & 0x03) << 24)
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

/**
 * struct dwc3 - #efine DWC3_TRBSTS_MISSED_ISOC  1
 * @drd_work: workqueue used for java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 35
 *@ep0_trb:trb  is used for the ctrl_req
 * @#define DWC3_TRB_CTRL_CHN BIT(()
 * @setup_buf: used #define DWC3_TRB_CTRL_CSP  BIT(3)
 * @ep0_trb_addr: dma address of @ep0_trb
 *@ounce_addr: dma address of @bounce
d while handling  USBrequests
 * @ep0_in_setup: one control transfer is completed and enter setup phase
 * @lock: for synchronizing
 * @mutex: for mode switching
 * @dev: pointer #define DWC3_TRBCTL()
 tothe -apable device
 * @#defineDWC3_TRBCTL_ISOCHRONOUS_FIRST DWC3_TRB_CTRL_TRBCTL(6)
 xhci_resources:  resources for our xhci child
 * @ev_buf: struct dwc3_event_buffer
 * @eps: endpoint array
 * @gadget: device side representation of the peripheral controller
 * @gadget_driver: pointer to the gadget driver
 * @bus_clk: clock for accessing the registers
 * @ref_clk: reference clock
: clock used when the SSphy  in  power S3) state
 * @utmi_clk: clock used for   struct dwc3_hwparams  copy HWPARAMS registers
 * @pipe_clk: clock used for define DWC3_TRB_CTRL_GET_SID_SOFN(n) (()&(0xffff <)>14java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
 * @reset: reset*# )
 @regs:base  for our 
 *;
 * @fladj: frame length
 :  clock period configuration
 * @irq_gadget: peripheral controller' u32 *struct - transfer request block (hw format)
*otg_irq  number for  IRQs
  c:urrent java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 73
 * @desired_otg_role:java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 * @otg_restart_host: flag that OTG controller needs to # DWC3_NUM_EPSp (( /
 * @u1u2: only/**
*@maximum_speed:maximum   (mainly for testing purposes)
 * max_ssp_rate: SuperSpeed Plus maximum signaling rate and lane count
*@adget_max_speed: maximum gadgetspeed requested
 * @gadget_ssp_rate: Gadget of  transferrequest
 *   rate and lane count.
* @p: controller'sID
 * @revision: controller's version of an IP
 * @version_type: VERSIONTYPE register contents, a sub release of a revision
 *@dr_mode:requested mode of operation
 * @current_dr_role: current role of operation when in dual-role mode
 * @desired_dr_role: desired role of operation when in dual-java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 25
con 
 * @edev_nb: extcon notifier
 * @hsphy_mode: UTMI phy mode, one of following:
  -USBPHY_INTERFACE_MODE_UTMI
*  -USBPHY_INTERFACE_MODE_UTMIW
 * @role_sw:  e dwc3_trb
 
 *   usb role is java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 15
  to powersupply interface.
d  direction  OUTdirection flag
 *usb3_phy  to java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
 * @usb2_generic_phy: pointer to array of USB2 PHYs
 * @usb3_generic_phy: pointer to array of USB3 PHYs
 * @num_usb2_ports: java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
 *:structscatterlist tart_sg;
 * @phys_ready:  DWC3_RAM0_DEPTH((()&0)>16
 * @ulpi: pointer to ulpi interface
* ulpi_ready: to    
 *@ #efine 5
 * @u2pel: parameter*@equest usb_requesttobe
 * @u1sel: parameter from Set SEL request.
 * @u1pel: parameter int*@to sgwhichshouldqueuedjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
 * n ofendpoints
 * @ep0_next_event: hold the next expected event
 * @ep0state: state of endpoint zero
 * @link_state: link state
 * @speed: device speed (super, high, full, low)
 * @hwparams: copy of hwparams registers
 * @regset: debugfs pointer to_le64  * epnum:endpoint number to which this request refers
 * @dbg_lsp_select: current debug lsp mux register selection
 *@est_mode: true  we're entering a USB test mode
 * @test_mode_nr:test feature 
  @:  
 * @* @ep0_trb_addr dma ep0_trb
* @rx_thr_num_pkt:USB  hasbeendma-mapped
@rx_max_burst: max  receiveburst  @ep0_in_setup:   completed and enter setup 
 *@: USB   
 * unsigned int  remaining;
 * @rx_thr_num_pkt_prd: periodic * @gadget: device side representation
: java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 57
: periodic ESS transmit  count
#defineDWC3_REQUEST_STATUS_STALLED java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
 * @* @regs_size: address size
 * @
 * @num_hc_interrupters: number structdwc3_trb  *trb;
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  connected:true
 * @*@:desiredrole     mapped:;
 * @delayed_status: true  *@ximum_speed:   mainly fortesting purposes)
 * @ep0_bounced: true when we used bounce buffer
* ep0_expect_in:true  weexpect  INtransfer
 * @sysdev_is_parent: true when   dr_mode:requested   of 
  has_lpm_erratum:true when was  with  Erratum.Note that
 's  way  software to detectthis  runtime.
 * @is_utmi_l1_suspend: the core asserts output java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 31
 * 0 - utmi_sleep_n
 * 1 - utmi_l1_suspend_n
 the FPGA board
*@pending_events:true when we  @ounce: address of bounce buffer
*@o_fifo_resize:true  txfifo resizing is enabled for dwc3 endpoints
/Stop bit  is set
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  @three_stage_setup if we a  phase setup
 * @dis_start_transfer_quirk: set *@peed:device speed (uper,high,full,low)
*  neededfor  l LPM responsethreshold
 * @usb3_lpm_capable: set if hadrware supports   @rx_max_burst:max USB receiveburst size
 * @usb2_lpm_disable: set to disable   tx_thr_num_pkt_prd:periodic ESS transmit packet count
*@usb2_gadget_lpm_disable: set to disable usb2 lpm  num_hc_interrupters:number of  controller interrupters
*@isable_scramble_quirk: set  we enablethe disablescramble quirk
 * *@eps:endpoint array
 *   has_lpm_erratum:true  * @gadget: device side represof  peripheral controller
 * @req_p1p2p3_quirk: set java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
 * @del_p1p2p3_quirk: set if we enable delay p1p2p3 quirk
*@el_phy_power_chg_quirk:set  we enable delay phy power change quirk
:  * :true  theresa SetupPacketinFIFO.Workaround
 * @rx_detect_poll_quirk:     needed for DWC_usb31 version 1.70a-ea06 and below
  dis_u3_susphy_quirk if  usb3 suspend 
 * @: set   disable usb2  phy
 * @dis_enblslpm_quirk: set  USB3 PHY communication
                       disabling the suspend   rbase for our registers
 *@is_u1_entry_quirk  if  entering  U1 state needs to be disabled.
 needs to   ref_clk_per:period 
Rx.P3
*@sync_callbacks: if set,indicate  async callbacks will used.
 *
 * @dis_u2_freeclk_exists_quirk : set if we * @dis_del_phy_power_chg_quirk: set if we disablephy power
 *   in GUSB2PHYCFG,  resume_hs_terminations:Set if enable   fixingcrc
 *   provide a free-running PHY clock.
 * @: set if we disable delay phy power
   * instances parkmode.
 * @ set if we disable u2mac linestate
 *   check during HS transmit.
 * @resume_hs_terminations: Set if we enable quirk for  *@tx_de_emphasis: Tx -emphasis value
 *   generation after resume from suspend.
 *@ulpi_ext_vbus_drv: Set to confiure the upli chip to drives CPEN pin
 *   VBUS with an external supply.
*@parkmode_disable_ss_quirk set if we  todisable all SuperSpeed
 *   instances in park mode. *  beforeax_speed:maximum gadget speed requested
 @arkmode_disable_hs_quirk:set if  needtodisable all HishSpeed
 *   instances in park  * address.
t 
 *                         *@:modeof 
 Tx de-emphasis 
 * @tx_de_emphasis: Tx de-emphasis value
 * 0 - -6dB de-emphasis
 * 1 --3.5B de*
 *   dwc3_trb  ep0_trb;
 * 3 - Reserved
 * @dis_metastability_quirk:   phy mode ;
 * @
 *: set if the device  do system wakeup.
*@akeup_configured: set  the is  struct   dev;
  @java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
 * @susphy_state: state of DWC3_GUSB2PHYCFG_SUSPHY  * @struct  gadget;
 *    before PM ;
 * @imod_interval:
 *   increments or 0 to disable.
 *  struct   *usb2_generic_phy[DWC3_USB2_MAX_PORTS]java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 * @last_fifo_depth: last fifo depth 
 *      .
 * @num_ep_resized: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 *      java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
 *: root debugfs directory for this device to put its filesin
 * @gsbuscfg0_reqinfo usb_role_switch  *role_swjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 *         DATWRREQINFO
 *         glue  u32 current_otg_roljava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 *  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 24
 *    function wakeup 
 *    represents interface_id.
 */

struct java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
 struct work_structdrd_work
 struct dwc3_trb ep0_trb
*;
 u8   *setup_bufISION_185A 0x5533185a
 dma_addr_t  ep0_trb_addr;
 dma_addr_t  bounce_addr;
 struct dwc3_request ep0_usb_req;
 struct completion ep0_in_setup;

 /* device lock */
   lock;

 /* mode switching lock */
 struct d current debuglsp  register selection

 java.lang.StringIndexOutOfBoundsException: Range [14, 7) out of bounds for length 21
 struct device  *sysdev;

 struct platform_device *xhci;
 struct resource  xhci_resources[DWC3_XHCI_RESOURCES_NUM];

 struct dwc3_event_buffer *ev_buf;
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 struct usb_gadget *gadget;
 java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 41

 struct clk  *bus_clk;
 struct clk  *ref_clk;
 struct define DWC31_REVISION_190A 0x3139302a
 struct clk* t maxtransmit  
 clk *pipe_clkjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23

 struct reset_control *reset;

 struct usb_phy  *usb2_phy;
 struct usb_phy  *usb3_phy;

 struct phy  *usb2_generic_phy[DWC3_USB2_MAX_PORTS];
 struct phy  *usb3_generic_phy[DWC3_USB3_MAX_PORTSdefineDWC31_VERSIONTYPE_EA04  0x65613034

 u8   num_usb2_ports;
 u8   num_usb3_ports;

 bool   phys_ready;

 struct ulpi  *ulpi;
 bool   ulpi_ready;

 void __iomem  *regs;
 size_t   regs_size;

 enum
  current_dr_role
 u32  desired_dr_role
 struct extcon_dev *edev;
 struct notifier_block edev_nbstruct dwc3_hwparams
 enum usb_phy_interface hsphy_mode;
 struct usb_role_switch *role_sw;
 enum u8 test_mode



 java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 13
 u32 
 u32   irq_gadget;
 u32   otg_irq;
 u32   current_otg_role;
 u32   desired_otg_role;

 u32   u1u2;
 u32   maximum_speed
 u32 gadget_max_speed;
 enum usb_ssp_rate max_ssp_rate;
 enum usb_ssp_rate gadget_ssp_rate;

 u32   ip;

define 05533
#define DWC31_IP  0x3331
#*0-

 u32   revision;

define x
#define DWC3_REVISION_173A 0x5533173a
#define DWC3_REVISION_175A 0x5533175a
#define DWC3_REVISION_180A 0x5533180a
#define DWC3_REVISION_183A 0 :
#unsignedhas_lpm_erratum:;
#define  unsignedis_utmi_l1_suspend:;
#define DWC3_REVISION_188A 0x5533188a
#define DWC3_REVISION_190A 0x5533190a
#define DWC3_REVISION_194A 0x5533194a
 DWC3_REVISION_200A xa
#define DWC3_REVISION_202A 0x5533202a
#define DWC3_REVISION_210A 0x5533210a
#define DWC3_REVISION_220A 0x5533220a
#define DWC3_REVISION_230A 0x5533230a
#define DWC3_REVISION_240A 0x5533240a
#define  *:when Setupin .
#define DWC3_REVISION_260A 0x5533260a
#define DWC3_REVISION_270A 0x5533270a
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#define DWC3_REVISION_290A not for version.a-andjava.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
#define unsigneddis_u2_susphy_quirk:1
#define DWC3_REVISION_310A 0x5533310a
#define DWC3_REVISION_320A 0x5533320a
#define DWC3_REVISION_330A 0x5533330a

#  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 34
#define DWC31_REVISION_110A 0x3131302a
#define DWC31_REVISION_120A 0x3132302a
#define DWC31_REVISION_160A 0x3136302a
#define DWC31_REVISION_170A 0x3137302a
java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 38
#unsigned 1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
define DWC31_REVISION_200A 0x3230302a

#define DWC32_REVISION_ANY 0x0
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0

 u32   version_type;

#define DWC31_VERSIONTYPE_ANY  0x0
#define DWC31_VERSIONTYPE_EA01  0x65613031
#define DWC31_VERSIONTYPE_EA02  0x65613032
#define DWC31_VERSIONTYPE_EA03  0x65613033
#define DWC31_VERSIONTYPE_EA04 * @del_phy_power_chg_quirk: set if we enable delay phy power change quirk
#define DWC31_VERSIONTYPE_EA05  0x65613035
TYPE_EA06

 enum unsigned set weto java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 74
enumdwc3_ep0_state ep0state;
 java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0

 u16   u2sel;
 u16   u2pel;
 u8   u1sel;
 u8   u1pel;

 u8   speed;

 u8   num_eps;

 struct dwc3_hwparams hwparams;
 struct debugfs_regset32 *regset;

 u32   dbg_lsp_select;

 u8  java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 u8   test_mode_nr;
 u8  lpm_nyet_threshold;
 u8   hird_threshold;
 u8   rx_thr_num_pkt;
 u8   rx_max_burst;
 u8   tx_thr_num_pkt;
u8   tx_max_burst;
 u8   rx_thr_num_pkt_prd;
 u8   rx_max_burst_prd;
 u8   tx_thr_num_pkt_prd;
 u8   tx_max_burst_prd;
 u8   tx_fifo_resize_max_num;
 col
 u16   num_hc_interrupters;

 const char  *hsphy_interface;

 * *   free-runningPHYclock.
 unsigned  softconnect:1;
 unsigned   * @dis_del_phy_power_chg_qu: set if  disablejava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 35
 unsigned  ep0_bounced:1;
 unsigned ep0_expect_in:1;
 unsigned  sysdev_is_parent:1;
 unsigned  has_lpm_erratum:1;
 unsigned  is_utmi_l1_suspend:1;
 unsigned  is_fpga:1;
 unsigned  pending_events:1;
 unsigned  * @one_bit: indicates thi endpointjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 59
 unsigned  pullups_connected:1;
 * generationafterresume.
  @lpi_ext_vbus_drv: Set toconfiure the upli chip to drives CPEN pin
   :;
 unsigned  usb3_lpm_capable:1;
 unsigned  usb2_lpm_disable:1;
 unsigned  usb2_gadget_lpm_disable:1;

 unsigned disable_scramble_quirk1;
 unsigned  u2exit_lfps_quirk:1;
 unsigned  u2ss_inp3_quirk:1;
 unsigned  req_p1p2p3_quirk *   instances in park mode.
 unsigned                del_p1p2p3_quirk:1;
 RxTxFifoEvt(-UnderrunOUT->)
 unsigned  lfps_filter_quirk:1;
 unsigned  rx_detect_poll_quirk:1;
 unsigned  dis_u3_susphy_quirk:1;
 unsigned  dis_u2_susphy_quirk:1;
 unsigned  dis_enblslpm_quirk:;
 unsigned  dis_u1_entry_quirk:1;
 unsigned  dis_u2_entry_quirk:1;
 unsigned  dis_rxdet_inp3_quirk:1;
 unsigned  dis_u2_freeclk_exists_quirk:1;
 unsigned  dis_del_phy_power_chg_quirk:1;
 unsigned  dis_tx_ipgap_linecheck_quirk:1;
 unsigned  resume_hs_terminations1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 unsigned  ulpi_ext_vbus_drv:1;
 unsigned:1;
 unsigned  parkmode_disable_hs_quirk:1;
 unsigned  gfladj_refclk_lpm_sel:1;

unsigned 1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 unsigned  tx_de_emphasis:2;

 unsigned  dis_metastability_quirk:1;

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 :;
 unsigned  sys_wakeup
 unsigned  wakeup_configured:1;
 unsigned  2 -No-
    

 u16   imod_interval;

 int   max_cfg_eps;
 int   last_fifo_depth;
 int   num_ep_resized;
 dentry  *debug_root;
 u32   gsbuscfg0_reqinfo;
 u32 wakeup_pending_funcs;
# DEPEVT_STATUS_LST(3)/

#define INCRX_BURST_MODE 0
#define /* Stream event

#define work_to_dwc(w)  (container_of(#define DEPEVT_STREAMEVT_NOTFOUND 2

/* -------------------------------------------------------------------------- */

struct dwc3_event_type {
 
 u32 type:7;
 u32/* Control-only Status */
} __packed;

#define DWC3_DEPEVT_XFERCOMPLETE 0x01
#define DWC3_DEPEVT_XFERINPROGRESS 0x02
#define DWC3_DEPEVT_XFERNOTREADY 0x03
#define DWC3_DEPEVT_RXTXFIFOEVT  0x04
#efine DWC3_DEPEVT_STREAMEVT 0
#define DWC3_DEPEVT_EPCMDCMPLT  0x07

/**
 * struct dwc3_event_depevt - Device Endpoint u32 parameters:16;
 * @one_bit: indicates this is #define DEPEVT_PARAMETER_CMD(n) (((n) & (0xf << 8 * @:root java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 75
 * @endpoint_number: number of the endpoint
 * @endpoint_event: The event we have:
 * 0x00 - Reserved
 * 0x01 - XferComplete
 * 0x02 -   wakeup_pending_funcs:Indicates whether any interface has requested for
 * 0x03 - XferNotReady
 * 0x04 - RxTxFifoEvt  *  represents java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 * 0x05 - java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 * 0 struct work_struct 
 * 0x07 - EPCmdCmplt
 *@reserved11_10: Reserved,dont use.
 * @status:  dma_addr_t bounce_addr
 * more information.
 * @parameters: Parameters of the current event. Refer to databook for
 * more information.
 */

struct dwc3_event_depevt {
 u32 one_bit:1;
 u32 endpoint_number:5;
 u32 endpoint_event:4;
 u32 reserved11_10
  status:4java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14

/* Within XferNotReady */
#define DEPEVT_STATUS_TRANSFER_ACTIVE BIT(3)

/* Within XferComplete or XferInProgress */

java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
#define DEPEVT_STATUS_SHORT BIT(1)
#define DEPEVT_STATUS_IOC BIT(2)
 /* XferComplete */
truct usb_phy *sb3_phy;

/* Stream event only */
#efine DEPEVT_STREAMEVT_FOUND  1
#define DEPEVT_STREAMEVT_NOTFOUND 2

/* Stream event parameter */
#defineDEPEVT_STREAM_PRIME   /
#define DEPEVT_STREAM_NOSTREAM  0x0

/* Control-only Status */
#define DEPEVT_STATUS_CONTROL_DATA 1
# DEPEVT_STATUS_CONTROL_STATUS 2
#define DEPEVT_STATUS_CONTROL_PHASE(nenumusb_dr_mode dr_mode;

/* In response to Start Transfer */
 1
#define DEPEVT_TRANSFER_BUS_EXPIRY 2

 u32 parameters:16;

/* For Command Complete Events */
#define DEPEVT_PARAMETER_CMD(n) (((n) & (0 @evtEvent
} __packed;

/**
 * struct dwc3_event_devt - java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 3
 indicates this isanon-u32 irq_gadget;
 * device_event:indicates ' u32  ;
 * @type: indicates the type of  struct dwc3_event_devt devt;
 *0-DisconnEvt
 * 1 - USBRst
 * 2 - ConnectDone
 - ULStChng
 * 4 - WkUpEvt

*6- Suspend (EOPF on
 * 7 - SOF
 * 8- Reserved
 * 9 - ErrticErr
#efine java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 37
 *d Features to  used  DriverData
 * 12 - VndrDevTstRcved
, not 
* @vent_info: Information about this event
 *@: , used
 */

dwc3_event_devt {
 u32 one_bit:1voiddwc3_set_modes java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 u32 device_event:7;
# DWC3_IP_IS()    java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 u32 reserved15_12:4;
 u32 define DWC3_VER_Iip v)   \
 u32 reserved31_25:7;#efine DWC31_REVISION_ANY =ip#_REVISION_#verjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 __;

/**
 * struct dwc3_event_gevt - Other Core Events
 *@one_bit# 0x3230302a
*@:indicatesit's (0define DWC32_REVISION_100A03130302a
 * @phy_port_number:  dwc-revision <= _ip##_REVISION_##_to))
 * @reserved31_12: defineDWC31_VERSIONTYPE_EA030x65613033
 */

struct dwc3_event_gevt {
 u32 one_bit:1;
 u32 device_event:7;
 u32 phy_port_number:4;
 u32reserved31_12:20;
 _

/**
nion dwc3_event - representation of   bits.
 *   inlineu32 dwc3_mdwidth(struct dwc3 *dwc)
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * @depevt: Device Endpoint Event
* @evt: Device 
 *@: Global Event
 */

bool (truct * u8 hird_thresholdjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 u32  raw
 structvoidu8  tx_thr_num_pktjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 struct dwc3_event_depevt depevt;
 struct dwc3_event_devt devt;
 struct dwc3_event_gevt  gevt;
};

/**
 * struct dwc3_gadget_ep_cmd_params - java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 50
 * parameters
 * @param2: third parameter
 *java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 29
 p:first parameter
 */

struct do_fifo_resize1java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 u32 param2;
 u32 param1;
 u32 param0;
};

/*
   Features tobe  as  
 */


  0
#define   1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
#definejava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 53

/* prototypes */
java.lang.StringIndexOutOfBoundsException: Range [27, 4) out of bounds for length 69
voiddis_rxdet_inp3_quirkenum )
u32 dwc3_core_fifo_space(struct dwc3_ep *dep

3IP_IS_ip)      \
 (dwc-ip =_#_)

define(_unsigned ulpi_ext_vbus_drv1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
((ip & dwc-revision=_ip#_#ver)

#definemd param
 ( java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 34

#unsigned  java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 29
 (_p &    java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 >  dwc->revision
  (!(_ip##_voidstruct *wc  ignore_idstatus
    < _#_EVISION_#to)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

#define struct dentry *debug_root
 (DWC3_VER_IS(_ip, _er)&&    \
  dwc->version_type >= _ip## inline( dwc3 *)
  (!(_ip##_VERSIONTYPE_##_java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 3
   dwc->java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0

/**
 *  void*,bool java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 *  u32 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 3
 *
 * Return MDWIDTH configuration value##if !CONFIG_USB_DWC3_HOSTjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 */

static#define   xjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
{
 u32 mdwidth;

}
 if (DWC3_IP_IS(DWC32))
(dwc-hwparams.);

 return mdwidth;
}

  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 37

int dwc3_event_buffers_setup(struct dwc3 *java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 24
oid dwc3_event_buffers_cleanup dwc3 *)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

int dwc3_core_soft_reset(java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 13
void dwc3_enable_susphy(struct dwc3 *dwc, bool enable);static inlinevoid ( dwc3*)

#if IS_ENABLED(CONFIG_USB_DWC3_HOST) || #endif
int dwc3_host_init(struct dwc3 *dwc);
void dwc3_host_exit(struct dwc3 *dwc);
#else
static inline int dwc3_host_init(struct dwc3 *dwc)
{ return 0; }
static inline void dwc3_host_exit(struct dwc3 *dwc)
{ }
#endif

#if IS_ENABLED(CONFIG_USB_DWC3_GADGET)  ofthe current .Refer todatabook for
int dwc3_gadget_init(struct dwc3 *dwc);
void dwc3_gadget_exit(struct dwc3 *dwc);
int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode);
java.lang.StringIndexOutOfBoundsException: Range [23, 3) out of bounds for length 49
int dwc3_gadget_set_link_state(struct dwc3 *dwc, enumstatus4;
int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd,
  struct java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd,
  u32 param);
void dwc3_gadget_clear_tx_fifos(struct dwc3 *dwc);
void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status);
#else
static inline int dwc3_gadget_init(struct dwc3 *dwc)
{ return 0; }
static inline void dwc3_gadget_exit(struct dwc3 *dwc)
{ }
static inline int dwc3_gadget_set_test_mode(structdefine  1
{ return 0; }
static inline
{ return 0; }
static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc,
  enum dwc3_link_state state)
{ return 0; }

static inline int dwc3_send_gadget_ep_cmd(struct #define DEPEVT_STATUS_CONTROL_STATUS 2
  struct dwc3_gadget_ep_cmd_paramsjava.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
 return 0;}
static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc,
  int cmd, u32 u32 :16
{ return 0; }
static inline void #define DEPEVT_PARAMETER_CMDn (n) 0xf< 8) > )
{ }
#endif

#if IS_ENABLED(CONFIG_USB_DWC3_DUAL_ROLE)
int dwc3_drd_init(struct dwc3 *dwc);
void dwc3_drd_exit(struct dwc3 *dwc);
void dwc3_otg_init(struct dwc3 *dwc);
void dwc3_otg_exit(struct dwc3 *dwc);
void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus);
void dwc3_otg_host_initates it' a device event. Should  as 0x00
#else
static inline int dwc3_drd_init(struct dwc3 *dwc)
{ return 0; }
static inline void dwc3_drd_exit(struct dwc3 *dwc)
{ }
static inline void dwc3_otg_init(struct dwc3 *dwc)
{ }
static inline void java.lang.StringIndexOutOfBoundsException: Range [50, 23) out of bounds for length 50
{ }
static inline void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus)
{ }
static inline void dwc3_otg_host_init(struct dwc3 *dwc)
{ }
#endif

/* power management interface */
i!IS_ENABLED(CONFIG_USB_DWC3_HOST)
int dwc3_gadget_suspend(struct dwc3 *dwc);
int dwc3_gadget_resume(struct dwc3 *dwc);
#else
static inline int dwc3_gadget_suspend(struct dwc3 *dwc)
{
 return 0;
}

static inline int java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 11
{
 return 0;
}

#endif /* !IS_ENABLED(CONFIG_USB_DWC3_HOST) */

#if IS_ENABLED(CONFIG_USB_DWC3_ULPI)
int dwc3_ulpi_init(struct dwc3 *dwc);
void dwc3_ulpi_exit(struct dwc3 *dwc);
#else
staticinline int dwc3_ulpi_init( dwc3 *)
{ return 0; }
static inline void dwc3_ulpi_exit(struct dwc3 *dwc)
{ }
#endif

#endif /* __DRIVERS_USB_DWC3_CORE_H */

Messung V0.5 in Prozent
C=95 H=94 G=94

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.42Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.