Searched refs:pg_start (Results 1 – 3 of 3) sorted by relevance
/arch/alpha/kernel/ |
D | core_titan.c | 581 long pg_start; member 599 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup() 601 if (aper->pg_start < 0) { in titan_agp_setup() 608 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup() 621 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 625 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 626 status = iommu_release(aper->arena, aper->pg_start, in titan_agp_cleanup() 679 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_bind_memory() argument 682 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_bind_memory() 687 titan_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_unbind_memory() argument [all …]
|
D | core_marvel.c | 895 long pg_start; member 912 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup() 915 if (aper->pg_start < 0) { in marvel_agp_setup() 922 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup() 935 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup() 939 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup() 940 status = iommu_release(aper->arena, aper->pg_start, in marvel_agp_cleanup() 1015 marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_bind_memory() argument 1018 return iommu_bind(aper->arena, aper->pg_start + pg_start, in marvel_agp_bind_memory() 1023 marvel_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_unbind_memory() argument [all …]
|
D | pci_iommu.c | 879 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument 889 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release() 893 iommu_arena_free(arena, pg_start, pg_count); in iommu_release() 898 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument 911 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind() 918 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind() 927 iommu_unbind(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_unbind() argument 934 p = arena->ptes + pg_start; in iommu_unbind()
|