Lines Matching refs:logical
90 va->logical = in vmlfb_alloc_vram_area()
92 } while (va->logical == 0 && max_order > min_order); in vmlfb_alloc_vram_area()
94 if (!va->logical) in vmlfb_alloc_vram_area()
97 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area()
108 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area()
109 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area()
117 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area()
135 if (va->logical) { in vmlfb_free_vram_area()
141 set_pages_wb(virt_to_page(va->logical), in vmlfb_free_vram_area()
149 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area()
157 free_pages(va->logical, va->order); in vmlfb_free_vram_area()
159 va->logical = 0; in vmlfb_free_vram_area()
210 vinfo->vram_logical = (void __iomem *) va->logical; in vmlfb_alloc_vram()
230 (void __iomem *)va->logical; in vmlfb_alloc_vram()