Home
last modified time | relevance | path

Searched refs:dummy_page (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/staging/media/ipu3/
Dipu3-mmu.c54 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()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_device.c783 if (rdev->dummy_page.page) in radeon_dummy_page_init()
785 rdev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in radeon_dummy_page_init()
786 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_init()
788 rdev->dummy_page.addr = dma_map_page(&rdev->pdev->dev, rdev->dummy_page.page, in radeon_dummy_page_init()
790 if (dma_mapping_error(&rdev->pdev->dev, rdev->dummy_page.addr)) { in radeon_dummy_page_init()
792 __free_page(rdev->dummy_page.page); in radeon_dummy_page_init()
793 rdev->dummy_page.page = NULL; in radeon_dummy_page_init()
796 rdev->dummy_page.entry = radeon_gart_get_page_entry(rdev->dummy_page.addr, in radeon_dummy_page_init()
810 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_fini()
812 dma_unmap_page(&rdev->pdev->dev, rdev->dummy_page.addr, PAGE_SIZE, in radeon_dummy_page_fini()
[all …]
Dradeon_gart.c257 rdev->gart.pages_entry[t] = rdev->dummy_page.entry; in radeon_gart_unbind()
260 rdev->dummy_page.entry); in radeon_gart_unbind()
302 rdev->dummy_page.page; in radeon_gart_bind()
363 rdev->gart.pages_entry[i] = rdev->dummy_page.entry; in radeon_gart_init()
Dni.c1296 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
1320 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
Drv770.c932 (u32)(rdev->dummy_page.addr >> 12)); in rv770_pcie_gart_enable()
Dsi.c4319 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
4347 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
6000 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in si_irq_init()
Dr600.c1174 (u32)(rdev->dummy_page.addr >> 12)); in r600_pcie_gart_enable()
3697 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in r600_irq_init()
Dcik.c5454 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
5478 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
6958 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in cik_irq_init()
Dradeon.h2384 struct radeon_dummy_page dummy_page; member
Devergreen.c2446 (u32)(rdev->dummy_page.addr >> 12)); in evergreen_pcie_gart_enable()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dmmu.c173 pd->dummy_page = alloc_page(GFP_DMA32); in psb_mmu_alloc_pd()
174 if (!pd->dummy_page) in psb_mmu_alloc_pd()
180 pd->invalid_pte = psb_mmu_mask_pte(page_to_pfn(pd->dummy_page), in psb_mmu_alloc_pd()
199 clear_page(kmap(pd->dummy_page)); in psb_mmu_alloc_pd()
200 kunmap(pd->dummy_page); in psb_mmu_alloc_pd()
213 __free_page(pd->dummy_page); in psb_mmu_alloc_pd()
253 __free_page(pd->dummy_page); in psb_mmu_free_pagedir()
Dmmu.h49 struct page *dummy_page; member
/linux-6.6.21/arch/sparc/kernel/
Diommu.c127 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()
/linux-6.6.21/sound/drivers/
Ddummy.c597 static void *dummy_page[2]; variable
604 if (dummy_page[i]) { in free_fake_buffer()
605 free_page((unsigned long)dummy_page[i]); in free_fake_buffer()
606 dummy_page[i] = NULL; in free_fake_buffer()
618 dummy_page[i] = (void *)get_zeroed_page(GFP_KERNEL); in alloc_fake_buffer()
619 if (!dummy_page[i]) { in alloc_fake_buffer()
644 return virt_to_page(dummy_page[substream->stream]); /* the same page */ in dummy_pcm_page()
/linux-6.6.21/arch/sparc/include/asm/
Diommu_64.h68 unsigned long dummy_page; member
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c76 struct page *dummy_page = ttm_glob.dummy_read_page; in amdgpu_gart_dummy_page_init() local
80 adev->dummy_page_addr = dma_map_page(&adev->pdev->dev, dummy_page, 0, in amdgpu_gart_dummy_page_init()
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_dmm_priv.h158 struct page *dummy_page; member
Domap_dmm_tiler.c756 if (omap_dmm->dummy_page) in omap_dmm_remove()
757 __free_page(omap_dmm->dummy_page); in omap_dmm_remove()
861 omap_dmm->dummy_page = alloc_page(GFP_KERNEL | __GFP_DMA32); in omap_dmm_probe()
862 if (!omap_dmm->dummy_page) { in omap_dmm_probe()
873 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page); in omap_dmm_probe()
/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_bo_vm.c286 struct page *dummy_page = (struct page *)res; in ttm_bo_release_dummy_page() local
288 __free_page(dummy_page); in ttm_bo_release_dummy_page()
/linux-6.6.21/net/tls/
Dtls_device.c55 static struct page *dummy_page; variable
334 dummy_tag_frag.page = dummy_page; in tls_device_record_close()
1432 dummy_page = alloc_page(GFP_KERNEL); in tls_device_init()
1433 if (!dummy_page) in tls_device_init()
1451 put_page(dummy_page); in tls_device_init()
1460 put_page(dummy_page); in tls_device_cleanup()
/linux-6.6.21/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c120 if (cio2->dummy_page) { in cio2_fbpt_exit_dummy()
121 dma_free_coherent(dev, PAGE_SIZE, cio2->dummy_page, in cio2_fbpt_exit_dummy()
123 cio2->dummy_page = NULL; in cio2_fbpt_exit_dummy()
132 cio2->dummy_page = dma_alloc_coherent(dev, PAGE_SIZE, in cio2_fbpt_init_dummy()
138 if (!cio2->dummy_page || !cio2->dummy_lop) { in cio2_fbpt_init_dummy()
Dipu3-cio2.h395 void *dummy_page; member