Searched refs:num_tce (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.10/arch/powerpc/platforms/pseries/ |
| D | iommu.c | 374 u64 tce_size, num_tce, dma_offset, next; in tce_clearrange_multi_pSeriesLP() local 381 num_tce = num_pfn << PAGE_SHIFT; in tce_clearrange_multi_pSeriesLP() 384 num_tce += next & (tce_size - 1); in tce_clearrange_multi_pSeriesLP() 388 num_tce |= tce_size - 1; in tce_clearrange_multi_pSeriesLP() 389 num_tce >>= tce_shift; in tce_clearrange_multi_pSeriesLP() 396 limit = min_t(long, num_tce, 512); in tce_clearrange_multi_pSeriesLP() 403 num_tce -= limit; in tce_clearrange_multi_pSeriesLP() 404 } while (num_tce > 0 && !rc); in tce_clearrange_multi_pSeriesLP() 413 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn; in tce_setrange_multi_pSeriesLP() local 450 num_tce = num_pfn << PAGE_SHIFT; in tce_setrange_multi_pSeriesLP() [all …]
|