Searched refs:ptab (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/cell/
H A Diommu.c129 unsigned long *ptab; member in struct:cbe_iommu
336 n_pte_pages, start_seg, *ptab; cell_iommu_alloc_ptab() local
351 ptab = page_address(page); cell_iommu_alloc_ptab()
352 memset(ptab, 0, ptab_size); cell_iommu_alloc_ptab()
357 pr_debug("%s: iommu[%d]: stab at %p, ptab at %p, n_pte_pages: %lu\n", cell_iommu_alloc_ptab()
358 __func__, iommu->nid, iommu->stab, ptab, cell_iommu_alloc_ptab()
381 iommu->stab[i] = reg | (__pa(ptab) + (n_pte_pages << 12) * cell_iommu_alloc_ptab()
386 return ptab; cell_iommu_alloc_ptab()
433 iommu->ptab = cell_iommu_alloc_ptab(iommu, base, size, 0, 0, cell_iommu_setup_hardware()
494 window->table.it_base = (unsigned long)iommu->ptab; cell_iommu_setup_window()
991 static void insert_16M_pte(unsigned long addr, unsigned long *ptab, insert_16M_pte() argument
998 ptab = ptab + (segment * (1 << 12) / sizeof(unsigned long)); insert_16M_pte()
1000 pr_debug("iommu: addr %lx ptab %p segment %lx offset %lx\n", insert_16M_pte()
1001 addr, ptab, segment, offset); insert_16M_pte()
1003 ptab[offset] = base_pte | (__pa(addr) & CBE_IOPTE_RPN_Mask); insert_16M_pte()
1010 unsigned long base_pte, uaddr, ioaddr, *ptab; cell_iommu_setup_fixed_ptab() local
1012 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); cell_iommu_setup_fixed_ptab()
1036 insert_16M_pte(uaddr, ptab, base_pte); cell_iommu_setup_fixed_ptab()
1134 iommu->ptab = cell_iommu_alloc_ptab(iommu, dbase, dsize, 0, 0, cell_iommu_fixed_mapping_init()

Completed in 48 milliseconds