Lines Matching refs:dbase

297 				unsigned long dbase, unsigned long dsize,  in cell_iommu_setup_stab()  argument
303 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
877 struct device_node *np, unsigned long dbase, unsigned long dsize, in cell_iommu_setup_fixed_ptab() argument
882 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); in cell_iommu_setup_fixed_ptab()
901 if (ioaddr >= dbase && ioaddr < (dbase + dsize)) { in cell_iommu_setup_fixed_ptab()
914 unsigned long dbase, dsize, fbase, fsize, hbase, hend; in cell_iommu_fixed_mapping_init() local
943 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
944 fbase = max(fbase, dbase + dsize); in cell_iommu_fixed_mapping_init()
975 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
977 if (hbase < dbase || (hend > (dbase + dsize))) { in cell_iommu_fixed_mapping_init()
993 cell_iommu_get_window(np, &dbase, &dsize); in cell_iommu_fixed_mapping_init()
995 dbase = hbase; in cell_iommu_fixed_mapping_init()
1000 "fixed window 0x%lx-0x%lx\n", iommu->nid, dbase, in cell_iommu_fixed_mapping_init()
1001 dbase + dsize, fbase, fbase + fsize); in cell_iommu_fixed_mapping_init()
1003 cell_iommu_setup_stab(iommu, dbase, dsize, fbase, fsize); in cell_iommu_fixed_mapping_init()
1004 iommu->ptab = cell_iommu_alloc_ptab(iommu, dbase, dsize, 0, 0, in cell_iommu_fixed_mapping_init()
1006 cell_iommu_setup_fixed_ptab(iommu, np, dbase, dsize, in cell_iommu_fixed_mapping_init()
1009 cell_iommu_setup_window(iommu, np, dbase, dsize, 0); in cell_iommu_fixed_mapping_init()