Home
last modified time | relevance | path

Searched refs:LIMA_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/lima/
Dlima_vm.h10 #define LIMA_PAGE_SIZE 4096 macro
11 #define LIMA_PAGE_MASK (LIMA_PAGE_SIZE - 1)
12 #define LIMA_PAGE_ENT_NUM (LIMA_PAGE_SIZE / sizeof(u32))
Dlima_vm.c39 for (addr = start; addr <= end; addr += LIMA_PAGE_SIZE) { in lima_vm_unmap_range()
58 vm->dev->dev, LIMA_PAGE_SIZE << LIMA_VM_NUM_PT_PER_BT_SHIFT, in lima_vm_map_page()
67 pts += LIMA_PAGE_SIZE; in lima_vm_map_page()
212 vm->pd.cpu = dma_alloc_wc(dev->dev, LIMA_PAGE_SIZE, &vm->pd.dma, in lima_vm_create()
229 dma_free_wc(dev->dev, LIMA_PAGE_SIZE, vm->pd.cpu, vm->pd.dma); in lima_vm_create()
244 dma_free_wc(vm->dev->dev, LIMA_PAGE_SIZE << LIMA_VM_NUM_PT_PER_BT_SHIFT, in lima_vm_release()
249 dma_free_wc(vm->dev->dev, LIMA_PAGE_SIZE, vm->pd.cpu, vm->pd.dma); in lima_vm_release()
Dlima_device.c381 ldev->dev, LIMA_PAGE_SIZE, in lima_device_init()
429 dma_free_wc(ldev->dev, LIMA_PAGE_SIZE, in lima_device_init()
458 dma_free_wc(ldev->dev, LIMA_PAGE_SIZE, in lima_device_fini()