Home
last modified time | relevance | path

Searched refs:arena (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/arch/alpha/kernel/
Dpci_iommu.c67 struct pci_iommu_arena *arena; in iommu_arena_new_node() local
82 (NULL == (arena = alloc_bootmem_node(NODE_DATA(nid), in iommu_arena_new_node()
83 sizeof(*arena))))) { in iommu_arena_new_node()
87 arena = alloc_bootmem(sizeof(*arena)); in iommu_arena_new_node()
91 (NULL == (arena->ptes = __alloc_bootmem_node(NODE_DATA(nid), in iommu_arena_new_node()
98 arena->ptes = __alloc_bootmem(mem_size, align, 0); in iommu_arena_new_node()
103 arena = alloc_bootmem(sizeof(*arena)); in iommu_arena_new_node()
104 arena->ptes = __alloc_bootmem(mem_size, align, 0); in iommu_arena_new_node()
108 spin_lock_init(&arena->lock); in iommu_arena_new_node()
109 arena->hose = hose; in iommu_arena_new_node()
[all …]
Dcore_titan.c611 struct pci_iommu_arena *arena; member
628 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
630 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
639 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup()
652 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
656 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
657 status = iommu_release(aper->arena, aper->pg_start, in titan_agp_cleanup()
713 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_bind_memory()
721 return iommu_unbind(aper->arena, aper->pg_start + pg_start, in titan_agp_unbind_memory()
729 unsigned long baddr = addr - aper->arena->dma_base; in titan_agp_translate()
[all …]
Dcore_marvel.c881 struct pci_iommu_arena *arena; member
897 aper->arena = agp->hose->sg_pci; in marvel_agp_setup()
899 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
909 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup()
922 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
926 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
927 status = iommu_release(aper->arena, aper->pg_start, in marvel_agp_cleanup()
1005 return iommu_bind(aper->arena, aper->pg_start + pg_start, in marvel_agp_bind_memory()
1013 return iommu_unbind(aper->arena, aper->pg_start + pg_start, in marvel_agp_unbind_memory()
1021 unsigned long baddr = addr - aper->arena->dma_base; in marvel_agp_translate()
[all …]
Dcore_cia.c398 struct pci_iommu_arena *arena = pci_isa_hose->sg_isa; in verify_tb_operation() local
417 addr0 = arena->dma_base; in verify_tb_operation()
491 cia_pci_tbi(arena->hose, 0, -1); in verify_tb_operation()
506 arena->ptes[4] = pte0; in verify_tb_operation()
530 arena->ptes[5] = pte0; in verify_tb_operation()
543 arena->align_entry = 4; in verify_tb_operation()
566 arena->ptes[4] = 0; in verify_tb_operation()
567 arena->ptes[5] = 0; in verify_tb_operation()
581 alpha_mv.mv_pci_tbi(arena->hose, 0, -1); in verify_tb_operation()