Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sdmmc More register definitions.



details:   https://anonhg.NetBSD.org/src/rev/e756dc2b66ef
branches:  trunk
changeset: 1003858:e756dc2b66ef
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Thu Oct 03 10:53:34 2019 +0000

description:
More register definitions.

diffstat:

 sys/dev/sdmmc/if_bwfm_sdio.h |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r 461d779de581 -r e756dc2b66ef sys/dev/sdmmc/if_bwfm_sdio.h
--- a/sys/dev/sdmmc/if_bwfm_sdio.h      Thu Oct 03 10:34:30 2019 +0000
+++ b/sys/dev/sdmmc/if_bwfm_sdio.h      Thu Oct 03 10:53:34 2019 +0000
@@ -41,6 +41,11 @@
 #define BWFM_SDIO_FUNC1_SBADDRLOW              0x1000A
 #define BWFM_SDIO_FUNC1_SBADDRMID              0x1000B
 #define BWFM_SDIO_FUNC1_SBADDRHIGH             0x1000C
+#define BWFM_SDIO_FUNC1_FRAMECTRL              0x1000D
+#define  BWFM_SDIO_FUNC1_FRAMECTRL_RF_TERM             (1 << 0)
+#define  BWFM_SDIO_FUNC1_FRAMECTRL_WF_TERM             (1 << 1)
+#define  BWFM_SDIO_FUNC1_FRAMECTRL_CRC4WOOS            (1 << 2)
+#define  BWFM_SDIO_FUNC1_FRAMECTRL_ABORTALL            (1 << 3)
 #define BWFM_SDIO_FUNC1_CHIPCLKCSR             0x1000E
 #define  BWFM_SDIO_FUNC1_CHIPCLKCSR_FORCE_ALP                  0x01
 #define  BWFM_SDIO_FUNC1_CHIPCLKCSR_FORCE_HT                   0x02
@@ -65,6 +70,11 @@
                (BWFM_SDIO_FUNC1_CHIPCLKCSR_ALPAV(regval) && \
                 (alponly ? 1 : BWFM_SDIO_FUNC1_CHIPCLKCSR_HTAV(regval)))
 #define BWFM_SDIO_FUNC1_SDIOPULLUP             0x1000F
+#define BWFM_SDIO_FUNC1_WFRAMEBCLO             0x10019
+#define BWFM_SDIO_FUNC1_WFRAMEBCHI             0x1001A
+#define BWFM_SDIO_FUNC1_RFRAMEBCLO             0x1001B
+#define BWFM_SDIO_FUNC1_RFRAMEBCHI             0x1001C
+#define BWFM_SDIO_FUNC1_MESBUSYCTRL            0x1001D
 #define BWFM_SDIO_FUNC1_WAKEUPCTRL             0x1001E
 #define  BWFM_SDIO_FUNC1_WAKEUPCTRL_HTWAIT             (1 << 1)
 #define BWFM_SDIO_FUNC1_SLEEPCSR               0x1001F



Home | Main Index | Thread Index | Old Index