Lines Matching defs:base
403 u32 bpp, base, dacspeed24, mem, freq;
582 base = (yoffset * vxres + (xoffset & ~7)) >> 2;
597 base *= 2;
604 base &= 0xFFFFFFFE; /* ...ignore the last bit. */
605 base *= 3;
612 base *= 4;
616 par->crtc[VGA_CRTC_START_LO] = base & 0x000000FF;
617 par->crtc[VGA_CRTC_START_HI] = (base & 0x0000FF00) >> 8;
619 ((base & 0x003F0000) >> 16) | EXT_START_ADDR_ENABLE;
620 par->ext_start_addr_hi = (base & 0x3FC00000) >> 22;
908 u32 base = (var->yoffset * info->var.xres_virtual
911 dev_dbg(info->device, "pan_display: xoffset: %i yoffset: %i base: %i\n",
912 var->xoffset, var->yoffset, base);
919 base *= 2;
926 base &= 0xFFFFFFFE; /* ...ignore the last bit. */
927 base *= 3;
930 base *= 4;
934 par->crtc[VGA_CRTC_START_LO] = base & 0x000000FF;
935 par->crtc[VGA_CRTC_START_HI] = (base & 0x0000FF00) >> 8;
936 par->ext_start_addr_hi = (base & 0x3FC00000) >> 22;
938 ((base & 0x003F0000) >> 16) | EXT_START_ADDR_ENABLE;
940 i740outreg(par, VGA_CRT_IC, VGA_CRTC_START_LO, base & 0x000000FF);
942 (base & 0x0000FF00) >> 8);
944 (base & 0x3FC00000) >> 22);
946 ((base & 0x003F0000) >> 16) | EXT_START_ADDR_ENABLE);
1042 dev_err(info->device, "error remapping base\n");