Lines Matching refs:IO_SEGMENT_SHIFT
96 #define IO_SEGMENT_SHIFT 28 macro
97 #define IO_PAGENO_BITS(shift) (IO_SEGMENT_SHIFT - (shift))
305 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
327 start_seg = base >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
328 segments = size >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
361 gap_base = gap_base >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
362 gap_size = gap_size >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
853 segment = addr >> IO_SEGMENT_SHIFT; in insert_16M_pte()
934 fbase = ALIGN(fbase, 1 << IO_SEGMENT_SHIFT); in cell_iommu_fixed_mapping_init()
954 if ((hbase != ALIGN(hbase, 1 << IO_SEGMENT_SHIFT)) || in cell_iommu_fixed_mapping_init()
955 (hend != ALIGN(hend, 1 << IO_SEGMENT_SHIFT))) { in cell_iommu_fixed_mapping_init()