Home
last modified time | relevance | path

Searched refs:pgprot (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/android/ion/
Dion_heap.c34 pgprot_t pgprot; in ion_heap_map_kernel() local
44 pgprot = PAGE_KERNEL; in ion_heap_map_kernel()
46 pgprot = pgprot_writecombine(PAGE_KERNEL); in ion_heap_map_kernel()
56 vaddr = vmap(pages, npages, VM_MAP, pgprot); in ion_heap_map_kernel()
106 static int ion_heap_clear_pages(struct page **pages, int num, pgprot_t pgprot) in ion_heap_clear_pages() argument
108 void *addr = vm_map_ram(pages, num, -1, pgprot); in ion_heap_clear_pages()
119 pgprot_t pgprot) in ion_heap_sglist_zero() argument
129 ret = ion_heap_clear_pages(pages, p, pgprot); in ion_heap_sglist_zero()
136 ret = ion_heap_clear_pages(pages, p, pgprot); in ion_heap_sglist_zero()
144 pgprot_t pgprot; in ion_heap_buffer_zero() local
[all …]
Dion_test.c50 pgprot_t pgprot = pgprot_writecombine(PAGE_KERNEL); in ion_handle_test_dma() local
68 void *vaddr = vmap(&page, 1, VM_MAP, pgprot); in ion_handle_test_dma()
Dion_priv.h238 int ion_heap_pages_zero(struct page *page, size_t size, pgprot_t pgprot);
/drivers/gpu/drm/
Ddrm_info.c234 unsigned int pgprot; in drm_vma_info() local
259 pgprot = pgprot_val(vma->vm_page_prot); in drm_vma_info()
261 pgprot & _PAGE_PRESENT ? 'p' : '-', in drm_vma_info()
262 pgprot & _PAGE_RW ? 'w' : 'r', in drm_vma_info()
263 pgprot & _PAGE_USER ? 'u' : 's', in drm_vma_info()
264 pgprot & _PAGE_PWT ? 't' : 'b', in drm_vma_info()
265 pgprot & _PAGE_PCD ? 'u' : 'c', in drm_vma_info()
266 pgprot & _PAGE_ACCESSED ? 'a' : '-', in drm_vma_info()
267 pgprot & _PAGE_DIRTY ? 'd' : '-', in drm_vma_info()
268 pgprot & _PAGE_PSE ? 'm' : 'k', in drm_vma_info()
[all …]
/drivers/iommu/
Dmsm_iommu.c373 unsigned int pgprot; in msm_iommu_map() local
408 pgprot = sh ? FL_SHARED : 0; in msm_iommu_map()
409 pgprot |= tex & 0x01 ? FL_BUFFERABLE : 0; in msm_iommu_map()
410 pgprot |= tex & 0x02 ? FL_CACHEABLE : 0; in msm_iommu_map()
411 pgprot |= tex & 0x04 ? FL_TEX0 : 0; in msm_iommu_map()
413 pgprot = sh ? SL_SHARED : 0; in msm_iommu_map()
414 pgprot |= tex & 0x01 ? SL_BUFFERABLE : 0; in msm_iommu_map()
415 pgprot |= tex & 0x02 ? SL_CACHEABLE : 0; in msm_iommu_map()
416 pgprot |= tex & 0x04 ? SL_TEX0 : 0; in msm_iommu_map()
427 FL_SHARED | FL_NG | pgprot; in msm_iommu_map()
[all …]
/drivers/video/omap/
Dlcdc.c618 pgprot_t pgprot; in mmap_kern() local
632 pgprot = pgprot_writecombine(pgprot_kernel); in mmap_kern()
635 lcdc.vram_size, pgprot) < 0) { in mmap_kern()