Lines Matching refs:dsize
299 unsigned long dbase, unsigned long dsize, in cell_iommu_setup_stab() argument
305 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
864 struct device_node *np, unsigned long dbase, unsigned long dsize, in cell_iommu_setup_fixed_ptab() argument
869 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); in cell_iommu_setup_fixed_ptab()
888 if (ioaddr >= dbase && ioaddr < (dbase + dsize)) { in cell_iommu_setup_fixed_ptab()
901 unsigned long dbase, dsize, fbase, fsize, hbase, hend; in cell_iommu_fixed_mapping_init() local
930 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
931 fbase = max(fbase, dbase + dsize); in cell_iommu_fixed_mapping_init()
962 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
964 if (hbase < dbase || (hend > (dbase + dsize))) { in cell_iommu_fixed_mapping_init()
981 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
984 dsize = htab_size_bytes; in cell_iommu_fixed_mapping_init()
989 dbase + dsize, fbase, fbase + fsize); in cell_iommu_fixed_mapping_init()
991 cell_iommu_setup_stab(iommu, dbase, dsize, fbase, fsize); in cell_iommu_fixed_mapping_init()
992 iommu->ptab = cell_iommu_alloc_ptab(iommu, dbase, dsize, 0, 0, in cell_iommu_fixed_mapping_init()
994 cell_iommu_setup_fixed_ptab(iommu, np, dbase, dsize, in cell_iommu_fixed_mapping_init()
997 cell_iommu_setup_window(iommu, np, dbase, dsize, 0); in cell_iommu_fixed_mapping_init()