Searched refs:pt_size (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/media/pci/saa7164/ |
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()
|
D | saa7164.h | 312 u32 pt_size; /* PCI allocation size in bytes */ member
|
/linux-5.19.10/block/partitions/ |
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-5.19.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_mob.c | 456 unsigned long pt_size = num_data_pages * VMW_PPN_SIZE; in vmw_mob_build_pt() local 457 unsigned long num_pt_pages = DIV_ROUND_UP(pt_size, PAGE_SIZE); in vmw_mob_build_pt()
|
/linux-5.19.10/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 1080 u32 pt_size = 4096 * 1024; in v3d_gem_init() local 1097 drm_mm_init(&v3d->mm, 1, pt_size / sizeof(u32) - 1); in v3d_gem_init() 1099 v3d->pt = dma_alloc_wc(v3d->drm.dev, pt_size, in v3d_gem_init()
|