Lines Matching +full:0 +full:xe4000000
45 #define SISUSB_VERSION 0
46 #define SISUSB_REVISION 0
59 #define SISUSB_IBUF_SIZE 0x01000
60 #define SISUSB_OBUF_SIZE 0x10000 /* fixed */
86 } while(0)
107 int isopen; /* !=0 if open */
108 int present; /* !=0 if device is present on the bus */
109 int ready; /* !=0 if device is ready for userland */
140 #define SISUSB_EP_GFX_IN 0x0e /* gfx std packet out(0e)/in(8e) */
141 #define SISUSB_EP_GFX_OUT 0x0e
143 #define SISUSB_EP_GFX_BULK_OUT 0x01 /* gfx mem bulk out/in */
144 #define SISUSB_EP_GFX_BULK_IN 0x02 /* ? 2 is "OUT" ? */
146 #define SISUSB_EP_GFX_LBULK_OUT 0x03 /* gfx large mem bulk out */
148 #define SISUSB_EP_UNKNOWN_04 0x04 /* ? 4 is "OUT" ? - unused */
150 #define SISUSB_EP_BRIDGE_IN 0x0d /* Net2280 out(0d)/in(8d) */
151 #define SISUSB_EP_BRIDGE_OUT 0x0d
153 #define SISUSB_TYPE_MEM 0
162 #define CLEARPACKET(packet) memset(packet, 0, 10)
166 #define SISUSB_PCI_MEMBASE 0xd0000000
167 #define SISUSB_PCI_MMIOBASE 0xe4000000
168 #define SISUSB_PCI_IOPORTBASE 0x0000d000
170 #define SISUSB_PCI_PSEUDO_MEMBASE 0x10000000
171 #define SISUSB_PCI_PSEUDO_MMIOBASE 0x20000000
172 #define SISUSB_PCI_PSEUDO_IOPORTBASE 0x0000d000
173 #define SISUSB_PCI_PSEUDO_PCIBASE 0x00010000
176 #define SISUSB_PCI_PCONFSIZE 0x5c
180 #define AROFFSET 0x40
181 #define ARROFFSET 0x41
182 #define GROFFSET 0x4e
183 #define SROFFSET 0x44
184 #define CROFFSET 0x54
185 #define MISCROFFSET 0x4c
186 #define MISCWOFFSET 0x42
187 #define INPUTSTATOFFSET 0x5A
188 #define PART1OFFSET 0x04
189 #define PART2OFFSET 0x10
190 #define PART3OFFSET 0x12
191 #define PART4OFFSET 0x14
192 #define PART5OFFSET 0x16
193 #define CAPTUREOFFSET 0x00
194 #define VIDEOOFFSET 0x02
195 #define COLREGOFFSET 0x48
196 #define PELMASKOFFSET 0x46
197 #define VGAENABLE 0x43
229 #define SISUSB_ID 0x53495355 /* Identify myself with 'SISU' */
244 __u32 sisusb_fbdevactive; /* != 0 if framebuffer device active */
246 __u32 sisusb_conactive; /* != 0 if console driver active */
260 #define SUCMD_GET 0x01 /* for all: data0 = index, data3 = port */
261 #define SUCMD_SET 0x02 /* data1 = value */
262 #define SUCMD_SETOR 0x03 /* data1 = or */
263 #define SUCMD_SETAND 0x04 /* data1 = and */
264 #define SUCMD_SETANDOR 0x05 /* data1 = and, data2 = or */
265 #define SUCMD_SETMASK 0x06 /* data1 = data, data2 = mask */
267 #define SUCMD_CLRSCR 0x07 /* data0:1:2 = length, data3 = address */
269 #define SUCMD_HANDLETEXTMODE 0x08 /* Reset/destroy text mode */
271 #define SUCMD_SETMODE 0x09 /* Set a display mode (data3 = SiS mode) */
272 #define SUCMD_SETVESAMODE 0x0a /* Set a display mode (data3 = VESA mode) */
274 #define SISUSB_COMMAND _IOWR(0xF3,0x3D,struct sisusb_command)
275 #define SISUSB_GET_CONFIG_SIZE _IOR(0xF3,0x3E,__u32)
276 #define SISUSB_GET_CONFIG _IOR(0xF3,0x3F,struct sisusb_info)