Lines Matching refs:logical
103 va->logical = in vmlfb_alloc_vram_area()
105 } while (va->logical == 0 && max_order > min_order); in vmlfb_alloc_vram_area()
107 if (!va->logical) in vmlfb_alloc_vram_area()
110 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area()
121 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area()
122 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area()
130 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area()
148 if (va->logical) { in vmlfb_free_vram_area()
154 set_pages_wb(virt_to_page(va->logical), in vmlfb_free_vram_area()
162 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area()
170 free_pages(va->logical, va->order); in vmlfb_free_vram_area()
172 va->logical = 0; in vmlfb_free_vram_area()
223 vinfo->vram_logical = (void __iomem *) va->logical; in vmlfb_alloc_vram()
243 (void __iomem *)va->logical; in vmlfb_alloc_vram()