fb_regs 31 drivers/video/fbdev/hpfb.c static unsigned long fb_regs; fb_regs 96 drivers/video/fbdev/hpfb.c while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1); fb_regs 98 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60ba, 0xff); fb_regs 100 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b2, _red); fb_regs 101 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b4, _green); fb_regs 102 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b6, _blue); fb_regs 103 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b8, ~_regno); fb_regs 104 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60f0, 0xff); fb_regs 108 drivers/video/fbdev/hpfb.c while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1); fb_regs 109 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b2, 0); fb_regs 110 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b4, 0); fb_regs 111 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b6, 0); fb_regs 112 drivers/video/fbdev/hpfb.c out_be16(fb_regs + 0x60b8, 0); fb_regs 121 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_NBLANK, (blank ? 0x00 : fb_bitmask)); fb_regs 129 drivers/video/fbdev/hpfb.c while (in_8(fb_regs + BUSY) & fb_bitmask) fb_regs 132 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_FBEN, fb_bitmask); fb_regs 134 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_WEN, fb_bitmask); fb_regs 135 drivers/video/fbdev/hpfb.c out_8(fb_regs + WMRR, rr); fb_regs 137 drivers/video/fbdev/hpfb.c out_be16(fb_regs + SOURCE_X, x0); fb_regs 138 drivers/video/fbdev/hpfb.c out_be16(fb_regs + SOURCE_Y, y0); fb_regs 139 drivers/video/fbdev/hpfb.c out_be16(fb_regs + DEST_X, x1); fb_regs 140 drivers/video/fbdev/hpfb.c out_be16(fb_regs + DEST_Y, y1); fb_regs 141 drivers/video/fbdev/hpfb.c out_be16(fb_regs + WWIDTH, w); fb_regs 142 drivers/video/fbdev/hpfb.c out_be16(fb_regs + WHEIGHT, h); fb_regs 143 drivers/video/fbdev/hpfb.c out_8(fb_regs + WMOVE, fb_bitmask); fb_regs 157 drivers/video/fbdev/hpfb.c while (in_8(fb_regs + BUSY) & fb_bitmask) fb_regs 161 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_WEN, fb_bitmask & clr); fb_regs 162 drivers/video/fbdev/hpfb.c out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_SET : RR_INVERT)); fb_regs 165 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_WEN, fb_bitmask & ~clr); fb_regs 166 drivers/video/fbdev/hpfb.c out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_CLEAR : RR_NOOP)); fb_regs 177 drivers/video/fbdev/hpfb.c while (in_8(fb_regs + BUSY) & fb_bitmask) fb_regs 180 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_WEN, fb_bitmask); fb_regs 181 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_PRR, RR_COPY); fb_regs 182 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_FBEN, fb_bitmask); fb_regs 215 drivers/video/fbdev/hpfb.c fb_regs = virt_base; fb_regs 216 drivers/video/fbdev/hpfb.c fboff = (in_8(fb_regs + HPFB_FBOMSB) << 8) | in_8(fb_regs + HPFB_FBOLSB); fb_regs 218 drivers/video/fbdev/hpfb.c fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16); fb_regs 224 drivers/video/fbdev/hpfb.c if (DIO_SECID(fb_regs) != DIO_ID2_TOPCAT) { fb_regs 226 drivers/video/fbdev/hpfb.c while (in_be16(fb_regs+0x4800) & 1) fb_regs 228 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x4800, 0); /* Catseye status */ fb_regs 229 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x4510, 0); /* VB */ fb_regs 230 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x4512, 0); /* TCNTRL */ fb_regs 231 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x4514, 0); /* ACNTRL */ fb_regs 232 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x4516, 0); /* PNCNTRL */ fb_regs 233 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x4206, 0x90); /* RUG Command/Status */ fb_regs 234 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x60a2, 0); /* Overlay Mask */ fb_regs 235 drivers/video/fbdev/hpfb.c out_be16(fb_regs+0x60bc, 0); /* Ram Select */ fb_regs 241 drivers/video/fbdev/hpfb.c fb_width = (in_8(fb_regs + HPFB_FBWMSB) << 8) | in_8(fb_regs + HPFB_FBWLSB); fb_regs 243 drivers/video/fbdev/hpfb.c fb_height = (in_8(fb_regs + HPFB_FBHMSB) << 8) | in_8(fb_regs + HPFB_FBHLSB); fb_regs 247 drivers/video/fbdev/hpfb.c hpfb_defined.xres = (in_8(fb_regs + HPFB_DWMSB) << 8) | in_8(fb_regs + HPFB_DWLSB); fb_regs 248 drivers/video/fbdev/hpfb.c hpfb_defined.yres = (in_8(fb_regs + HPFB_DHMSB) << 8) | in_8(fb_regs + HPFB_DHLSB); fb_regs 251 drivers/video/fbdev/hpfb.c hpfb_defined.bits_per_pixel = in_8(fb_regs + HPFB_NUMPLANES); fb_regs 262 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_WEN, 0xff); fb_regs 263 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_PRR, RR_COPY); fb_regs 264 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_FBEN, 0xff); fb_regs 272 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_WEN, fb_bitmask); fb_regs 273 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_PRR, RR_COPY); fb_regs 274 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_REN, fb_bitmask); fb_regs 275 drivers/video/fbdev/hpfb.c out_8(fb_regs + TC_FBEN, fb_bitmask); fb_regs 285 drivers/video/fbdev/hpfb.c if (DIO_SECID(fb_regs) == DIO_ID2_TOPCAT) fb_regs 356 drivers/video/fbdev/hpfb.c iounmap((void *)fb_regs);