Lines Matching refs:region
65 unsigned char __iomem *region; member
192 cyber2000fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in cyber2000fb_copyarea() argument
199 cfb_copyarea(info, region); in cyber2000fb_copyarea()
204 cyber2000fb_writew(region->width - 1, CO_REG_PIXWIDTH, cfb); in cyber2000fb_copyarea()
205 cyber2000fb_writew(region->height - 1, CO_REG_PIXHEIGHT, cfb); in cyber2000fb_copyarea()
207 src = region->sx + region->sy * cfb->fb.var.xres_virtual; in cyber2000fb_copyarea()
208 dst = region->dx + region->dy * cfb->fb.var.xres_virtual; in cyber2000fb_copyarea()
210 if (region->sx < region->dx) { in cyber2000fb_copyarea()
211 src += region->width - 1; in cyber2000fb_copyarea()
212 dst += region->width - 1; in cyber2000fb_copyarea()
216 if (region->sy < region->dy) { in cyber2000fb_copyarea()
217 src += (region->height - 1) * cfb->fb.var.xres_virtual; in cyber2000fb_copyarea()
218 dst += (region->height - 1) * cfb->fb.var.xres_virtual; in cyber2000fb_copyarea()
1562 cfb->fb.screen_base = cfb->region; in cyberpro_common_probe()
1744 cfb->region = pci_ioremap_bar(dev, 0); in cyberpro_pci_probe()
1745 if (!cfb->region) { in cyberpro_pci_probe()
1750 cfb->regs = cfb->region + MMIO_OFFSET; in cyberpro_pci_probe()
1795 iounmap(cfb->region); in cyberpro_pci_probe()
1810 iounmap(cfb->region); in cyberpro_pci_remove()