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/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 …]
Dipmmu-vmsa.c561 u64 pgprot = ARM_VMSA_PTE_XN | ARM_VMSA_PTE_nG | ARM_VMSA_PTE_AF in ipmmu_page_prot() local
566 pgprot |= ARM_VMSA_PTE_AP_RDONLY; in ipmmu_page_prot()
569 pgprot |= IMMAIR_ATTR_IDX_WBRWA << ARM_VMSA_PTE_ATTRINDX_SHIFT; in ipmmu_page_prot()
572 pgprot &= ~ARM_VMSA_PTE_XN; in ipmmu_page_prot()
575 pgprot &= ~ARM_VMSA_PTE_PAGE; in ipmmu_page_prot()
577 return pgprot; in ipmmu_page_prot()
/drivers/gpu/drm/
Ddrm_vm.c689 unsigned int pgprot; in drm_vma_info() local
717 pgprot = pgprot_val(vma->vm_page_prot); in drm_vma_info()
719 pgprot & _PAGE_PRESENT ? 'p' : '-', in drm_vma_info()
720 pgprot & _PAGE_RW ? 'w' : 'r', in drm_vma_info()
721 pgprot & _PAGE_USER ? 'u' : 's', in drm_vma_info()
722 pgprot & _PAGE_PWT ? 't' : 'b', in drm_vma_info()
723 pgprot & _PAGE_PCD ? 'u' : 'c', in drm_vma_info()
724 pgprot & _PAGE_ACCESSED ? 'a' : '-', in drm_vma_info()
725 pgprot & _PAGE_DIRTY ? 'd' : '-', in drm_vma_info()
726 pgprot & _PAGE_PSE ? 'm' : 'k', in drm_vma_info()
[all …]