Add more DWC OTG register definitions.
Submitted by: Nick Hudson
This commit is contained in:
parent
478df1d534
commit
f83fab0234
@ -451,10 +451,21 @@
|
||||
#define DIEPTXFN_INEPNTXFSTADDR_SHIFT 0
|
||||
#define DIEPTXFN_INEPNTXFSTADDR_MASK 0x0000ffff
|
||||
|
||||
#define HCFG_MODECHANGERDY (1<<31)
|
||||
#define HCFG_PERSCHEDENABLE (1<<26)
|
||||
#define HCFG_FLENTRIES_SHIFT 24
|
||||
#define HCFG_FLENTRIES_MASK 0x03000000
|
||||
#define HCFG_FLENTRIES_8 (0)
|
||||
#define HCFG_FLENTRIES_16 (1)
|
||||
#define HCFG_FLENTRIES_32 (2)
|
||||
#define HCFG_FLENTRIES_64 (3)
|
||||
#define HCFG_MULTISEGDMA (1<<23)
|
||||
#define HCFG_32KHZSUSPEND (1<<7)
|
||||
#define HCFG_FSLSSUPP (1<<2)
|
||||
#define HCFG_FSLSPCLKSEL_SHIFT 0
|
||||
#define HCFG_FSLSPCLKSEL_MASK 0x00000003
|
||||
|
||||
#define HFIR_RELOADCTRL (1<<16)
|
||||
#define HFIR_FRINT_SHIFT 0
|
||||
#define HFIR_FRINT_MASK 0x0000ffff
|
||||
|
||||
@ -463,8 +474,15 @@
|
||||
#define HFNUM_FRNUM_SHIFT 0
|
||||
#define HFNUM_FRNUM_MASK 0x0000ffff
|
||||
|
||||
#define HPTXSTS_PTXQTOP_SHIFT 24
|
||||
#define HPTXSTS_PTXQTOP_MASK 0xff000000
|
||||
#define HPTXSTS_ODD (1<<31)
|
||||
#define HPTXSTS_CHAN_SHIFT 27
|
||||
#define HPTXSTS_CHAN_MASK 0x78000000
|
||||
#define HPTXSTS_TOKEN_SHIFT 25
|
||||
#define HPTXSTS_TOKEN_MASK 0x06000000
|
||||
#define HPTXSTS_TOKEN_ZL 0
|
||||
#define HPTXSTS_TOKEN_PING 1
|
||||
#define HPTXSTS_TOKEN_DISABLE 2
|
||||
#define HPTXSTS_TERMINATE (1<<24)
|
||||
#define HPTXSTS_PTXQSPCAVAIL_SHIFT 16
|
||||
#define HPTXSTS_PTXQSPCAVAIL_MASK 0x00ff0000
|
||||
#define HPTXSTS_PTXFSPCAVAIL_SHIFT 0
|
||||
@ -517,7 +535,7 @@
|
||||
#define HCCHAR_MPS_MASK 0x000007ff
|
||||
|
||||
#define HCSPLT_SPLTENA (1<<31)
|
||||
#define HCSPLT_COMPSPLT (1<<16)
|
||||
#define HCSPLT_COMPSPLT (1<<16)
|
||||
#define HCSPLT_XACTPOS_SHIFT 14
|
||||
#define HCSPLT_XACTPOS_MASK 0x0000c000
|
||||
#define HCSPLT_HUBADDR_SHIFT 7
|
||||
|
Loading…
x
Reference in New Issue
Block a user