Lines Matching +full:3 +full:br

6  * frame buffer driver for Linux kernels >= 2.4.14 and >=2.6.3
40 #define BR(x) (0x8200 | (x) << 2) macro
54 #define A3D_FUNCTION 0x00000008 /* 3D command ? */
131 /* BR(16) (0x8240):
134 bit 30 3D engine: 1 is idle,
143 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \
144 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \
145 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \
152 MMIO_OUT32(ivideo->mmio_vbase, BR(0), base);\
157 MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\
162 MMIO_OUT32(ivideo->mmio_vbase, BR(2), (x)<<16 | (y) );\
167 MMIO_OUT32(ivideo->mmio_vbase, BR(4), base);\
172 MMIO_OUT32(ivideo->mmio_vbase, BR(3), (x)<<16 | (y) );\
177 MMIO_OUT32(ivideo->mmio_vbase, BR(5), (y)<<16 | (x) );\
182 MMIO_OUT16(ivideo->mmio_vbase, BR(1)+2, bpp);\
187 MMIO_OUT32(ivideo->mmio_vbase, BR(6), (h)<<16 | (w) );\
192 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\
197 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\
202 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\
207 MMIO_OUT32(ivideo->mmio_vbase, BR(10), color);\
228 MMIO_OUT32(ivideo->mmio_vbase, BR(11), p0);\
229 MMIO_OUT32(ivideo->mmio_vbase, BR(12), p1);\
234 MMIO_OUT32(ivideo->mmio_vbase, BR(13), ((left) & 0xFFFF) | (top)<<16 );\
239 MMIO_OUT32(ivideo->mmio_vbase, BR(14), ((right) & 0xFFFF) | (bottom)<<16 );\
251 MMIO_OUT32(ivideo->mmio_vbase, BR(15), ivideo->CommandReg); \
252 MMIO_OUT32(ivideo->mmio_vbase, BR(16), 0);\
259 bit 30 = 1: Hardware Queue (=HW CQ, 2D queue, 3D queue) empty
261 bit 28 = 1: 3D engine is idle
264 bit 25 = 1: 3D queue empty
266 bits 23:16: 2D counter 3