Searched refs:LIMA_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/lima/ |
D | lima_vm.h | 10 #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))
|
D | lima_vm.c | 39 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()
|
D | lima_device.c | 380 ldev->dev, LIMA_PAGE_SIZE, in lima_device_init() 428 dma_free_wc(ldev->dev, LIMA_PAGE_SIZE, in lima_device_init() 457 dma_free_wc(ldev->dev, LIMA_PAGE_SIZE, in lima_device_fini()
|