Searched refs:pt_size (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pt_walk.h | 108 u64 pt_size = 1ull << walk->shifts[level]; in xe_pt_covers() local 110 return end - addr == pt_size && IS_ALIGNED(addr, pt_size); in xe_pt_covers() 128 u64 pt_size = 1ull << walk->shifts[level]; in xe_pt_num_entries() local 130 return (round_up(end, pt_size) - round_down(addr, pt_size)) >> in xe_pt_num_entries()
|
| H A D | xe_pt.c | 1698 u64 pt_size = 1ULL << walk->shifts[xe_child->level]; in xe_pt_stage_unbind_entry() 1699 bool edge_pt = (i == 0 && !IS_ALIGNED(addr, pt_size)) || in xe_pt_stage_unbind_entry() 1700 (i == count - 1 && !IS_ALIGNED(next, pt_size)); in xe_pt_stage_unbind_entry() 1697 u64 pt_size = 1ULL << walk->shifts[xe_child->level]; xe_pt_stage_unbind_entry() local
|
| /linux/drivers/media/pci/saa7164/ |
| H A D | saa7164-buffer.c | 83 buf->pt_size = (SAA7164_PT_ENTRIES * sizeof(u64)) + 0x1000; in saa7164_buffer_alloc() 91 buf->pt_cpu = dma_alloc_coherent(&port->dev->pci->dev, buf->pt_size, in saa7164_buffer_alloc() 99 memset(buf->pt_cpu, 0xff, buf->pt_size); in saa7164_buffer_alloc() 106 buf->pt_cpu, (long)buf->pt_dma, buf->pt_size); in saa7164_buffer_alloc() 145 dma_free_coherent(&dev->pci->dev, buf->pt_size, buf->pt_cpu, in saa7164_buffer_dealloc()
|
| /linux/drivers/gpu/drm/v3d/ |
| H A D | v3d_gem.c | 292 u32 pt_size = 4096 * 1024; in v3d_gem_init() local 327 drm_mm_init(&v3d->mm, 1, pt_size / sizeof(u32) - 1); in v3d_gem_init() 329 v3d->pt = dma_alloc_wc(v3d->drm.dev, pt_size, in v3d_gem_init() 348 dma_free_coherent(v3d->drm.dev, pt_size, (void *)v3d->pt, v3d->pt_paddr); in v3d_gem_init()
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | page_fault_test.c | 582 u64 pt_size, data_size, data_gpa; in setup_memslots() local 590 pt_size = 26 * guest_page_size; in setup_memslots() 593 pt_size = align_up(pt_size, backing_src_pagesz); in setup_memslots() 603 vm_userspace_mem_region_add(vm, p->src_type, data_gpa - pt_size, in setup_memslots() 604 PAGE_TABLE_MEMSLOT, pt_size / guest_page_size, in setup_memslots()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_mob.c | 460 unsigned long pt_size = num_data_pages * VMW_PPN_SIZE; in vmw_mob_build_pt() local 461 unsigned long num_pt_pages = DIV_ROUND_UP(pt_size, PAGE_SIZE); in vmw_mob_build_pt()
|