/kernel/linux/linux-5.10/drivers/staging/media/ipu3/ |
D | ipu3-mmu.c | 54 void *dummy_page; member 447 mmu->dummy_page = (void *)__get_free_page(GFP_KERNEL); in imgu_mmu_init() 448 if (!mmu->dummy_page) in imgu_mmu_init() 450 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_page)); in imgu_mmu_init() 491 free_page((unsigned long)mmu->dummy_page); in imgu_mmu_init() 514 free_page((unsigned long)mmu->dummy_page); in imgu_mmu_exit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 782 if (rdev->dummy_page.page) in radeon_dummy_page_init() 784 rdev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in radeon_dummy_page_init() 785 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_init() 787 rdev->dummy_page.addr = pci_map_page(rdev->pdev, rdev->dummy_page.page, in radeon_dummy_page_init() 789 if (pci_dma_mapping_error(rdev->pdev, rdev->dummy_page.addr)) { in radeon_dummy_page_init() 791 __free_page(rdev->dummy_page.page); in radeon_dummy_page_init() 792 rdev->dummy_page.page = NULL; in radeon_dummy_page_init() 795 rdev->dummy_page.entry = radeon_gart_get_page_entry(rdev->dummy_page.addr, in radeon_dummy_page_init() 809 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_fini() 811 pci_unmap_page(rdev->pdev, rdev->dummy_page.addr, in radeon_dummy_page_fini() [all …]
|
D | radeon_gart.c | 259 rdev->gart.pages_entry[t] = rdev->dummy_page.entry; in radeon_gart_unbind() 262 rdev->dummy_page.entry); in radeon_gart_unbind() 365 rdev->gart.pages_entry[i] = rdev->dummy_page.entry; in radeon_gart_init()
|
D | ni.c | 1309 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable() 1333 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
|
D | rv770.c | 935 (u32)(rdev->dummy_page.addr >> 12)); in rv770_pcie_gart_enable()
|
D | si.c | 4320 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable() 4348 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable() 6001 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in si_irq_init()
|
D | r600.c | 1175 (u32)(rdev->dummy_page.addr >> 12)); in r600_pcie_gart_enable() 3700 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in r600_irq_init()
|
D | cik.c | 5464 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable() 5488 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable() 6969 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in cik_irq_init()
|
D | radeon.h | 2393 struct radeon_dummy_page dummy_page; member
|
D | evergreen.c | 2444 (u32)(rdev->dummy_page.addr >> 12)); in evergreen_pcie_gart_enable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | mmu.c | 181 pd->dummy_page = alloc_page(GFP_DMA32); in psb_mmu_alloc_pd() 182 if (!pd->dummy_page) in psb_mmu_alloc_pd() 188 pd->invalid_pte = psb_mmu_mask_pte(page_to_pfn(pd->dummy_page), in psb_mmu_alloc_pd() 207 clear_page(kmap(pd->dummy_page)); in psb_mmu_alloc_pd() 208 kunmap(pd->dummy_page); in psb_mmu_alloc_pd() 221 __free_page(pd->dummy_page); in psb_mmu_alloc_pd() 261 __free_page(pd->dummy_page); in psb_mmu_free_pagedir()
|
D | mmu.h | 49 struct page *dummy_page; member
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | iommu_64.h | 68 unsigned long dummy_page; member
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | iommu.c | 127 iommu->dummy_page = (unsigned long) page_address(page); in iommu_table_init() 128 memset((void *)iommu->dummy_page, 0, PAGE_SIZE); in iommu_table_init() 129 iommu->dummy_page_pa = (unsigned long) __pa(iommu->dummy_page); in iommu_table_init() 146 free_page(iommu->dummy_page); in iommu_table_init() 147 iommu->dummy_page = 0UL; in iommu_table_init()
|
/kernel/linux/linux-5.10/sound/drivers/ |
D | dummy.c | 590 static void *dummy_page[2]; variable 597 if (dummy_page[i]) { in free_fake_buffer() 598 free_page((unsigned long)dummy_page[i]); in free_fake_buffer() 599 dummy_page[i] = NULL; in free_fake_buffer() 611 dummy_page[i] = (void *)get_zeroed_page(GFP_KERNEL); in alloc_fake_buffer() 612 if (!dummy_page[i]) { in alloc_fake_buffer() 644 return virt_to_page(dummy_page[substream->stream]); /* the same page */ in dummy_pcm_page()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gart.c | 74 struct page *dummy_page = ttm_bo_glob.dummy_read_page; in amdgpu_gart_dummy_page_init() local 78 adev->dummy_page_addr = pci_map_page(adev->pdev, dummy_page, 0, in amdgpu_gart_dummy_page_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_priv.h | 166 struct page *dummy_page; member
|
D | omap_dmm_tiler.c | 763 if (omap_dmm->dummy_page) in omap_dmm_remove() 764 __free_page(omap_dmm->dummy_page); in omap_dmm_remove() 872 omap_dmm->dummy_page = alloc_page(GFP_KERNEL | __GFP_DMA32); in omap_dmm_probe() 873 if (!omap_dmm->dummy_page) { in omap_dmm_probe() 884 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page); in omap_dmm_probe()
|
/kernel/linux/linux-5.10/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 104 if (cio2->dummy_page) { in cio2_fbpt_exit_dummy() 106 cio2->dummy_page, cio2->dummy_page_bus_addr); in cio2_fbpt_exit_dummy() 107 cio2->dummy_page = NULL; in cio2_fbpt_exit_dummy() 115 cio2->dummy_page = dma_alloc_coherent(&cio2->pci_dev->dev, PAGE_SIZE, in cio2_fbpt_init_dummy() 121 if (!cio2->dummy_page || !cio2->dummy_lop) { in cio2_fbpt_init_dummy()
|
D | ipu3-cio2.h | 375 void *dummy_page; member
|
/kernel/linux/linux-5.10/mm/ |
D | memcontrol.c | 6914 struct page *dummy_page; member 6938 memcg_check_events(ug->memcg, ug->dummy_page); in uncharge_batch() 6981 ug->dummy_page = page; in uncharge_page()
|