Lines Matching +full:0 +full:xf3
45 #define SISUSB_VERSION 0
46 #define SISUSB_REVISION 0
60 #define SISUSB_IBUF_SIZE 0x01000
61 #define SISUSB_OBUF_SIZE 0x10000 /* fixed */
87 } while(0)
108 int isopen; /* !=0 if open */
109 int present; /* !=0 if device is present on the bus */
110 int ready; /* !=0 if device is ready for userland */
161 #define SISUSB_EP_GFX_IN 0x0e /* gfx std packet out(0e)/in(8e) */
162 #define SISUSB_EP_GFX_OUT 0x0e
164 #define SISUSB_EP_GFX_BULK_OUT 0x01 /* gfx mem bulk out/in */
165 #define SISUSB_EP_GFX_BULK_IN 0x02 /* ? 2 is "OUT" ? */
167 #define SISUSB_EP_GFX_LBULK_OUT 0x03 /* gfx large mem bulk out */
169 #define SISUSB_EP_UNKNOWN_04 0x04 /* ? 4 is "OUT" ? - unused */
171 #define SISUSB_EP_BRIDGE_IN 0x0d /* Net2280 out(0d)/in(8d) */
172 #define SISUSB_EP_BRIDGE_OUT 0x0d
174 #define SISUSB_TYPE_MEM 0
183 #define CLEARPACKET(packet) memset(packet, 0, 10)
187 #define SISUSB_PCI_MEMBASE 0xd0000000
188 #define SISUSB_PCI_MMIOBASE 0xe4000000
189 #define SISUSB_PCI_IOPORTBASE 0x0000d000
191 #define SISUSB_PCI_PSEUDO_MEMBASE 0x10000000
192 #define SISUSB_PCI_PSEUDO_MMIOBASE 0x20000000
193 #define SISUSB_PCI_PSEUDO_IOPORTBASE 0x0000d000
194 #define SISUSB_PCI_PSEUDO_PCIBASE 0x00010000
197 #define SISUSB_PCI_PCONFSIZE 0x5c
201 #define AROFFSET 0x40
202 #define ARROFFSET 0x41
203 #define GROFFSET 0x4e
204 #define SROFFSET 0x44
205 #define CROFFSET 0x54
206 #define MISCROFFSET 0x4c
207 #define MISCWOFFSET 0x42
208 #define INPUTSTATOFFSET 0x5A
209 #define PART1OFFSET 0x04
210 #define PART2OFFSET 0x10
211 #define PART3OFFSET 0x12
212 #define PART4OFFSET 0x14
213 #define PART5OFFSET 0x16
214 #define CAPTUREOFFSET 0x00
215 #define VIDEOOFFSET 0x02
216 #define COLREGOFFSET 0x48
217 #define PELMASKOFFSET 0x46
218 #define VGAENABLE 0x43
250 #define SISUSB_ID 0x53495355 /* Identify myself with 'SISU' */
265 __u32 sisusb_fbdevactive; /* != 0 if framebuffer device active */
267 __u32 sisusb_conactive; /* != 0 if console driver active */
281 #define SUCMD_GET 0x01 /* for all: data0 = index, data3 = port */
282 #define SUCMD_SET 0x02 /* data1 = value */
283 #define SUCMD_SETOR 0x03 /* data1 = or */
284 #define SUCMD_SETAND 0x04 /* data1 = and */
285 #define SUCMD_SETANDOR 0x05 /* data1 = and, data2 = or */
286 #define SUCMD_SETMASK 0x06 /* data1 = data, data2 = mask */
288 #define SUCMD_CLRSCR 0x07 /* data0:1:2 = length, data3 = address */
290 #define SUCMD_HANDLETEXTMODE 0x08 /* Reset/destroy text mode */
292 #define SUCMD_SETMODE 0x09 /* Set a display mode (data3 = SiS mode) */
293 #define SUCMD_SETVESAMODE 0x0a /* Set a display mode (data3 = VESA mode) */
295 #define SISUSB_COMMAND _IOWR(0xF3,0x3D,struct sisusb_command)
296 #define SISUSB_GET_CONFIG_SIZE _IOR(0xF3,0x3E,__u32)
297 #define SISUSB_GET_CONFIG _IOR(0xF3,0x3F,struct sisusb_info)