Lines Matching refs:ptab
116 unsigned long *ptab; member
323 n_pte_pages, start_seg, *ptab; in cell_iommu_alloc_ptab() local
338 ptab = page_address(page); in cell_iommu_alloc_ptab()
339 memset(ptab, 0, ptab_size); in cell_iommu_alloc_ptab()
345 __func__, iommu->nid, iommu->stab, ptab, in cell_iommu_alloc_ptab()
368 iommu->stab[i] = reg | (__pa(ptab) + (n_pte_pages << 12) * in cell_iommu_alloc_ptab()
373 return ptab; in cell_iommu_alloc_ptab()
420 iommu->ptab = cell_iommu_alloc_ptab(iommu, base, size, 0, 0, in cell_iommu_setup_hardware()
481 window->table.it_base = (unsigned long)iommu->ptab; in cell_iommu_setup_window()
860 static void insert_16M_pte(unsigned long addr, unsigned long *ptab, in insert_16M_pte() argument
867 ptab = ptab + (segment * (1 << 12) / sizeof(unsigned long)); in insert_16M_pte()
870 addr, ptab, segment, offset); in insert_16M_pte()
872 ptab[offset] = base_pte | (__pa(addr) & CBE_IOPTE_RPN_Mask); in insert_16M_pte()
879 unsigned long base_pte, uaddr, ioaddr, *ptab; in cell_iommu_setup_fixed_ptab() local
881 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); in cell_iommu_setup_fixed_ptab()
905 insert_16M_pte(uaddr, ptab, base_pte); in cell_iommu_setup_fixed_ptab()
1004 iommu->ptab = cell_iommu_alloc_ptab(iommu, dbase, dsize, 0, 0, in cell_iommu_fixed_mapping_init()