Lines Matching +full:0 +full:x4080

34 #define TC_NBLANK	0x4080
35 #define TC_WEN 0x4088
36 #define TC_REN 0x408c
37 #define TC_FBEN 0x4090
38 #define TC_PRR 0x40ea
41 #define RR_CLEAR 0x0
42 #define RR_COPY 0x3
43 #define RR_NOOP 0x5
44 #define RR_XOR 0x6
45 #define RR_INVERT 0xa
46 #define RR_COPYINVERTED 0xc
47 #define RR_SET 0xf
50 #define BUSY 0x4044
51 #define WMRR 0x40ef
52 #define SOURCE_X 0x40f2
53 #define SOURCE_Y 0x40f6
54 #define DEST_X 0x40fa
55 #define DEST_Y 0x40fe
56 #define WHEIGHT 0x4106
57 #define WWIDTH 0x4102
58 #define WMOVE 0x409c
90 * != 0 for invalid regno. in hpfb_setcolreg()
96 while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1); in hpfb_setcolreg()
98 out_be16(fb_regs + 0x60ba, 0xff); in hpfb_setcolreg()
100 out_be16(fb_regs + 0x60b2, _red); in hpfb_setcolreg()
101 out_be16(fb_regs + 0x60b4, _green); in hpfb_setcolreg()
102 out_be16(fb_regs + 0x60b6, _blue); in hpfb_setcolreg()
103 out_be16(fb_regs + 0x60b8, ~_regno); in hpfb_setcolreg()
104 out_be16(fb_regs + 0x60f0, 0xff); in hpfb_setcolreg()
108 while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1); in hpfb_setcolreg()
109 out_be16(fb_regs + 0x60b2, 0); in hpfb_setcolreg()
110 out_be16(fb_regs + 0x60b4, 0); in hpfb_setcolreg()
111 out_be16(fb_regs + 0x60b6, 0); in hpfb_setcolreg()
112 out_be16(fb_regs + 0x60b8, 0); in hpfb_setcolreg()
114 return 0; in hpfb_setcolreg()
117 /* 0 unblank, 1 blank, 2 no vsync, 3 no hsync, 4 off */
121 out_8(fb_regs + TC_NBLANK, (blank ? 0x00 : fb_bitmask)); in hpfb_blank()
123 return 0; in hpfb_blank()
128 if (rr >= 0) { in topcat_blit()
133 if (rr >= 0) { in topcat_blit()
155 clr = region->color & 0xff; in hpfb_fillrect()
184 return 0; in hpfb_sync()
200 #define HPFB_FBWMSB 0x05 /* Frame buffer width */
201 #define HPFB_FBWLSB 0x07
202 #define HPFB_FBHMSB 0x09 /* Frame buffer height */
203 #define HPFB_FBHLSB 0x0b
204 #define HPFB_DWMSB 0x0d /* Display width */
205 #define HPFB_DWLSB 0x0f
206 #define HPFB_DHMSB 0x11 /* Display height */
207 #define HPFB_DHLSB 0x13
208 #define HPFB_NUMPLANES 0x5b /* Number of colour planes */
209 #define HPFB_FBOMSB 0x5d /* Frame buffer offset */
210 #define HPFB_FBOLSB 0x5f
228 while (in_be16(fb_regs+0x4800) & 1) in hpfb_init_one()
230 out_be16(fb_regs+0x4800, 0); /* Catseye status */ in hpfb_init_one()
231 out_be16(fb_regs+0x4510, 0); /* VB */ in hpfb_init_one()
232 out_be16(fb_regs+0x4512, 0); /* TCNTRL */ in hpfb_init_one()
233 out_be16(fb_regs+0x4514, 0); /* ACNTRL */ in hpfb_init_one()
234 out_be16(fb_regs+0x4516, 0); /* PNCNTRL */ in hpfb_init_one()
235 out_be16(fb_regs+0x4206, 0x90); /* RUG Command/Status */ in hpfb_init_one()
236 out_be16(fb_regs+0x60a2, 0); /* Overlay Mask */ in hpfb_init_one()
237 out_be16(fb_regs+0x60bc, 0); /* Ram Select */ in hpfb_init_one()
255 printk(KERN_INFO "hpfb: framebuffer at 0x%lx, mapped to 0x%lx, size %dk\n", in hpfb_init_one()
264 out_8(fb_regs + TC_WEN, 0xff); in hpfb_init_one()
266 out_8(fb_regs + TC_FBEN, 0xff); in hpfb_init_one()
267 out_8(fb_start, 0xff); in hpfb_init_one()
269 out_8(fb_start, 0); in hpfb_init_one()
282 topcat_blit(0, 0, 0, 0, fb_width, fb_height, RR_CLEAR); in hpfb_init_one()
295 ret = fb_alloc_cmap(&fb_info.cmap, 1 << hpfb_defined.bits_per_pixel, 0); in hpfb_init_one()
296 if (ret < 0) in hpfb_init_one()
300 if (ret < 0) in hpfb_init_one()
305 return 0; in hpfb_init_one()
344 "(secondary id %02x)\n", d->scode, (d->id >> 8) & 0xff); in hpfb_dio_probe()
351 return 0; in hpfb_dio_probe()
370 { 0 }
387 * The internal variant sits at 0x560000; it has primary in hpfb_init()
394 #define INTFBVADDR 0xf0560000 in hpfb_init()
395 #define INTFBPADDR 0x560000 in hpfb_init()
417 return 0; in hpfb_init()