Lines Matching refs:logical
89 va->logical = in vmlfb_alloc_vram_area()
91 } while (va->logical == 0 && max_order > min_order); in vmlfb_alloc_vram_area()
93 if (!va->logical) in vmlfb_alloc_vram_area()
96 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area()
107 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area()
108 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area()
116 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area()
134 if (va->logical) { in vmlfb_free_vram_area()
140 set_pages_wb(virt_to_page(va->logical), in vmlfb_free_vram_area()
148 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area()
156 free_pages(va->logical, va->order); in vmlfb_free_vram_area()
158 va->logical = 0; in vmlfb_free_vram_area()
209 vinfo->vram_logical = (void __iomem *) va->logical; in vmlfb_alloc_vram()
229 (void __iomem *)va->logical; in vmlfb_alloc_vram()