Home
last modified time | relevance | path

Searched refs:IO_SEGMENT_SHIFT (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/cell/
Diommu.c107 #define IO_SEGMENT_SHIFT 28 macro
108 #define IO_PAGENO_BITS(shift) (IO_SEGMENT_SHIFT - (shift))
316 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
338 start_seg = base >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
339 segments = size >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
372 gap_base = gap_base >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
373 gap_size = gap_size >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
977 segment = addr >> IO_SEGMENT_SHIFT; in insert_16M_pte()
1058 fbase = _ALIGN_UP(fbase, 1 << IO_SEGMENT_SHIFT); in cell_iommu_fixed_mapping_init()
1078 if ((hbase != _ALIGN_UP(hbase, 1 << IO_SEGMENT_SHIFT)) || in cell_iommu_fixed_mapping_init()
[all …]