Go to the documentation of this file.
16 #define KS8695_MEM_OFFSET (0xF0000 + 0x4000)
17 #define KS8695_MEM_VA (KS8695_IO_VA + KS8695_MEM_OFFSET)
18 #define KS8695_MEM_PA (KS8695_IO_PA + KS8695_MEM_OFFSET)
24 #define KS8695_EXTACON0 (0x00)
25 #define KS8695_EXTACON1 (0x04)
26 #define KS8695_EXTACON2 (0x08)
27 #define KS8695_ROMCON0 (0x10)
28 #define KS8695_ROMCON1 (0x14)
29 #define KS8695_ERGCON (0x20)
30 #define KS8695_SDCON0 (0x30)
31 #define KS8695_SDCON1 (0x34)
32 #define KS8695_SDGCON (0x38)
33 #define KS8695_SDBCON (0x3c)
34 #define KS8695_REFTIM (0x40)
38 #define EXTACON_EBNPTR (0x3ff << 22)
39 #define EXTACON_EBBPTR (0x3ff << 12)
40 #define EXTACON_EBTACT (7 << 9)
41 #define EXTACON_EBTCOH (7 << 6)
42 #define EXTACON_EBTACS (7 << 3)
43 #define EXTACON_EBTCOS (7 << 0)
46 #define ROMCON_RBNPTR (0x3ff << 22)
47 #define ROMCON_RBBPTR (0x3ff << 12)
48 #define ROMCON_RBTACC (7 << 4)
49 #define ROMCON_RBTPA (3 << 2)
50 #define ROMCON_PMC (3 << 0)
51 #define PMC_NORMAL (0 << 0)
52 #define PMC_4WORD (1 << 0)
53 #define PMC_8WORD (2 << 0)
54 #define PMC_16WORD (3 << 0)
57 #define ERGCON_TMULT (3 << 28)
58 #define ERGCON_DSX2 (3 << 20)
59 #define ERGCON_DSX1 (3 << 18)
60 #define ERGCON_DSX0 (3 << 16)
61 #define ERGCON_DSR1 (3 << 2)
62 #define ERGCON_DSR0 (3 << 0)
65 #define SDCON_DBNPTR (0x3ff << 22)
66 #define SDCON_DBBPTR (0x3ff << 12)
67 #define SDCON_DBCAB (3 << 8)
68 #define SDCON_DBBNUM (1 << 3)
69 #define SDCON_DBDBW (3 << 1)
72 #define SDGCON_SDTRC (3 << 2)
73 #define SDGCON_SDCAS (3 << 0)
76 #define SDBCON_SDESTA (1 << 31)
77 #define SDBCON_RBUFBDIS (1 << 24)
78 #define SDBCON_WFIFOEN (1 << 23)
79 #define SDBCON_RBUFEN (1 << 22)
80 #define SDBCON_FLUSHWFIFO (1 << 21)
81 #define SDBCON_RBUFINV (1 << 20)
82 #define SDBCON_SDINI (3 << 16)
83 #define SDBCON_SDMODE (0x3fff << 0)
86 #define REFTIM_REFTIM (0xffff << 0)