Searched refs:arena (Results 1 – 4 of 4) sorted by relevance
/arch/alpha/kernel/ |
D | pci_iommu.c | 62 struct pci_iommu_arena *arena; in iommu_arena_new_node() local 76 arena = alloc_bootmem_node(NODE_DATA(nid), sizeof(*arena)); in iommu_arena_new_node() 77 if (!NODE_DATA(nid) || !arena) { in iommu_arena_new_node() 81 arena = alloc_bootmem(sizeof(*arena)); in iommu_arena_new_node() 84 arena->ptes = __alloc_bootmem_node(NODE_DATA(nid), mem_size, align, 0); in iommu_arena_new_node() 85 if (!NODE_DATA(nid) || !arena->ptes) { in iommu_arena_new_node() 89 arena->ptes = __alloc_bootmem(mem_size, align, 0); in iommu_arena_new_node() 94 arena = alloc_bootmem(sizeof(*arena)); in iommu_arena_new_node() 95 arena->ptes = __alloc_bootmem(mem_size, align, 0); in iommu_arena_new_node() 99 spin_lock_init(&arena->lock); in iommu_arena_new_node() [all …]
|
D | core_titan.c | 580 struct pci_iommu_arena *arena; member 597 aper->arena = agp->hose->sg_pci; in titan_agp_setup() 599 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, 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() 682 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_bind_memory() 690 return iommu_unbind(aper->arena, aper->pg_start + pg_start, in titan_agp_unbind_memory() 698 unsigned long baddr = addr - aper->arena->dma_base; in titan_agp_translate() [all …]
|
D | core_marvel.c | 894 struct pci_iommu_arena *arena; member 910 aper->arena = agp->hose->sg_pci; in marvel_agp_setup() 912 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, 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() 1018 return iommu_bind(aper->arena, aper->pg_start + pg_start, in marvel_agp_bind_memory() 1026 return iommu_unbind(aper->arena, aper->pg_start + pg_start, in marvel_agp_unbind_memory() 1034 unsigned long baddr = addr - aper->arena->dma_base; in marvel_agp_translate() [all …]
|
D | core_cia.c | 352 struct pci_iommu_arena *arena = pci_isa_hose->sg_isa; in verify_tb_operation() local 371 addr0 = arena->dma_base; in verify_tb_operation() 445 cia_pci_tbi(arena->hose, 0, -1); in verify_tb_operation() 460 arena->ptes[4] = pte0; in verify_tb_operation() 484 arena->ptes[5] = pte0; in verify_tb_operation() 497 arena->align_entry = 4; in verify_tb_operation() 520 arena->ptes[4] = 0; in verify_tb_operation() 521 arena->ptes[5] = 0; in verify_tb_operation() 535 alpha_mv.mv_pci_tbi(arena->hose, 0, -1); in verify_tb_operation()
|