Searched refs:pt_size (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/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_lmtt.c | 486 u64 pt_size; in xe_lmtt_estimate_pt_size() local 492 pt_size = PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) * in xe_lmtt_estimate_pt_size() 496 pt_size *= lmtt->ops->lmtt_pte_index(size, level) + 1; in xe_lmtt_estimate_pt_size() 497 pt_size += PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) * in xe_lmtt_estimate_pt_size() 501 return pt_size; in xe_lmtt_estimate_pt_size()
|
| /linux-6.15/drivers/media/pci/saa7164/ |
| H A D | saa7164-buffer.c | 65 buf->pt_cpu, (long long)buf->pt_dma, buf->pt_size); in saa7164_buffer_display() 103 buf->pt_size = (SAA7164_PT_ENTRIES * sizeof(u64)) + 0x1000; in saa7164_buffer_alloc() 111 buf->pt_cpu = dma_alloc_coherent(&port->dev->pci->dev, buf->pt_size, in saa7164_buffer_alloc() 119 memset(buf->pt_cpu, 0xff, buf->pt_size); in saa7164_buffer_alloc() 126 buf->pt_cpu, (long)buf->pt_dma, buf->pt_size); in saa7164_buffer_alloc() 165 dma_free_coherent(&dev->pci->dev, buf->pt_size, buf->pt_cpu, in saa7164_buffer_dealloc()
|
| H A D | saa7164.h | 312 u32 pt_size; /* PCI allocation size in bytes */ member
|
| /linux-6.15/drivers/gpu/drm/v3d/ |
| H A D | v3d_gem.c | 246 u32 pt_size = 4096 * 1024; in v3d_gem_init() local 276 drm_mm_init(&v3d->mm, 1, pt_size / sizeof(u32) - 1); in v3d_gem_init() 278 v3d->pt = dma_alloc_wc(v3d->drm.dev, pt_size, in v3d_gem_init() 296 dma_free_coherent(v3d->drm.dev, pt_size, (void *)v3d->pt, in v3d_gem_init()
|
| /linux-6.15/drivers/gpu/drm/imagination/ |
| H A D | pvr_vm_mips.c | 32 u32 pt_size = 1 << ROGUE_MIPSFW_LOG2_PAGETABLE_SIZE_4K(pvr_dev); in pvr_vm_mips_init() local 40 if (pt_size > ROGUE_MIPSFW_MAX_NUM_PAGETABLE_PAGES * SZ_4K) in pvr_vm_mips_init() 66 mips_data->pt = vmap(mips_data->pt_pages, pt_size >> PAGE_SHIFT, VM_MAP, in pvr_vm_mips_init()
|
| /linux-6.15/block/partitions/ |
| H A D | efi.c | 339 u64 lastlba, pt_size; in is_gpt_valid() local 422 pt_size = (u64)le32_to_cpu((*gpt)->num_partition_entries) * in is_gpt_valid() 424 if (pt_size > KMALLOC_MAX_SIZE) { in is_gpt_valid() 426 (unsigned long long)pt_size, KMALLOC_MAX_SIZE); in is_gpt_valid() 434 crc = efi_crc32((const unsigned char *) (*ptes), pt_size); in is_gpt_valid()
|
| /linux-6.15/tools/testing/selftests/kvm/arm64/ |
| H A D | page_fault_test.c | 582 uint64_t 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-6.15/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_mob.c | 461 unsigned long pt_size = num_data_pages * VMW_PPN_SIZE; in vmw_mob_build_pt() local 462 unsigned long num_pt_pages = DIV_ROUND_UP(pt_size, PAGE_SIZE); in vmw_mob_build_pt()
|