Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 15:22:03 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240074 - head/sys/dev/usb/controller
Message-ID:  <201209031522.q83FM3sr003451@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon Sep  3 15:22:02 2012
New Revision: 240074
URL: http://svn.freebsd.org/changeset/base/240074

Log:
  Add more DWC OTG register definitions.
  
  Submitted by:	Nick Hudson

Modified:
  head/sys/dev/usb/controller/dwc_otgreg.h

Modified: head/sys/dev/usb/controller/dwc_otgreg.h
==============================================================================
--- head/sys/dev/usb/controller/dwc_otgreg.h	Mon Sep  3 14:29:28 2012	(r240073)
+++ head/sys/dev/usb/controller/dwc_otgreg.h	Mon Sep  3 15:22:02 2012	(r240074)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209031522.q83FM3sr003451>