Home
last modified time | relevance | path

Searched refs:pg_count (Results 1 – 3 of 3) sorted by relevance

/arch/alpha/kernel/
Dpci_iommu.c844 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument
856 p = iommu_arena_find_pages(NULL, arena, pg_count, align_mask); in iommu_reserve()
865 for (i = 0; i < pg_count; ++i) in iommu_reserve()
868 arena->next_entry = p + pg_count; in iommu_reserve()
875 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument
885 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release()
889 iommu_arena_free(arena, pg_start, pg_count); in iommu_release()
894 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument
907 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind()
914 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind()
[all …]
Dcore_titan.c582 long pg_count; member
598 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup()
599 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
600 aper->pg_count - 1); in titan_agp_setup()
609 agp->aperture.size = aper->pg_count * 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()
627 aper->pg_count); in titan_agp_cleanup()
Dcore_marvel.c896 long pg_count; member
911 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup()
912 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
913 aper->pg_count - 1); in marvel_agp_setup()
923 agp->aperture.size = aper->pg_count * 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()
941 aper->pg_count); in marvel_agp_cleanup()