Lines Matching refs:regions

243 	} regions;  member
408 return RD32(p->regions.v_regs, off); in pm2_RD()
413 WR32(p->regions.v_regs, off, v); in pm2_WR()
924 p->regions.p_fb=p->regions.fb_base; in pm2fb_conf()
925 if (!request_mem_region(p->regions.p_fb, p->regions.fb_size, in pm2fb_conf()
930 p->regions.v_fb=MMAP(p->regions.p_fb, p->regions.fb_size); in pm2fb_conf()
933 p->regions.p_regs=p->regions.rg_base; in pm2fb_conf()
935 p->regions.p_regs=p->regions.rg_base+PM2_REGS_SIZE; in pm2fb_conf()
937 if (!request_mem_region(p->regions.p_regs, PM2_REGS_SIZE, "pm2fb")) { in pm2fb_conf()
939 UNMAP(p->regions.v_fb, p->regions.fb_size); in pm2fb_conf()
942 p->regions.v_regs=MMAP(p->regions.p_regs, PM2_REGS_SIZE); in pm2fb_conf()
999 p->regions.fb_base=CVPPC_FB_APERTURE_ONE; in cvppc_detect()
1000 p->regions.fb_size=CVPPC_FB_SIZE; in cvppc_detect()
1001 p->regions.rg_base=CVPPC_REGS_REGION; in cvppc_detect()
1072 p->regions.rg_base= pci->dev->resource[0].start; in pm2pci_detect()
1073 p->regions.fb_base= pci->dev->resource[1].start; in pm2pci_detect()
1111 p->regions.rg_base = __pa(pci_resource_start(pci->dev, 0)); in pm2pci_detect()
1112 p->regions.fb_base = __pa(pci_resource_start(pci->dev, 1)); in pm2pci_detect()
1115 p->regions.rg_base = pci_resource_start(pci->dev, 0); in pm2pci_detect()
1116 p->regions.fb_base = pci_resource_start(pci->dev, 1); in pm2pci_detect()
1120 p->regions.rg_base += PM2_REGS_SIZE; in pm2pci_detect()
1122 if ((m=MMAP(p->regions.rg_base, PM2_REGS_SIZE))) { in pm2pci_detect()
1128 p->regions.fb_size=0x200000; in pm2pci_detect()
1131 p->regions.fb_size=0x400000; in pm2pci_detect()
1134 p->regions.fb_size=0x600000; in pm2pci_detect()
1137 p->regions.fb_size=0x800000; in pm2pci_detect()
1470 fix->smem_start=i->regions.p_fb; in pm2fb_encode_fix()
1471 fix->smem_len=i->regions.fb_size; in pm2fb_encode_fix()
1472 fix->mmio_start=i->regions.p_regs; in pm2fb_encode_fix()
1560 if (p.width*p.height*p.depth/8>i->regions.fb_size) { in pm2fb_decode_var()
1694 i->current_par.height=i->regions.fb_size/ in set_user_mode()
1812 disp->screen_base = i->regions.v_fb; in pm2fb_set_disp()
2059 UNMAP(i->regions.v_fb, i->regions.fb_size); in pm2fb_cleanup()
2060 release_mem_region(i->regions.p_fb, i->regions.fb_size); in pm2fb_cleanup()
2062 UNMAP(i->regions.v_regs, PM2_REGS_SIZE); in pm2fb_cleanup()
2063 release_mem_region(i->regions.p_regs, PM2_REGS_SIZE); in pm2fb_cleanup()
2104 (u32 )(fb_info.regions.fb_size>>10)); in pm2fb_init()