Searched refs:num_tce (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Diommu.c428 u64 tce_size, num_tce, dma_offset, next; tce_clearrange_multi_pSeriesLP() local
435 num_tce = num_pfn << PAGE_SHIFT; tce_clearrange_multi_pSeriesLP()
438 num_tce += next & (tce_size - 1); tce_clearrange_multi_pSeriesLP()
442 num_tce |= tce_size - 1; tce_clearrange_multi_pSeriesLP()
443 num_tce >>= tce_shift; tce_clearrange_multi_pSeriesLP()
450 limit = min_t(long, num_tce, 512); tce_clearrange_multi_pSeriesLP()
457 num_tce -= limit; tce_clearrange_multi_pSeriesLP()
458 } while (num_tce > 0 && !rc); tce_clearrange_multi_pSeriesLP()
467 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn; tce_setrange_multi_pSeriesLP() local
491 num_tce = num_pfn << PAGE_SHIFT; tce_setrange_multi_pSeriesLP()
494 num_tce += next & (tce_size - 1); tce_setrange_multi_pSeriesLP()
498 num_tce |= tce_size - 1; tce_setrange_multi_pSeriesLP()
499 num_tce >>= tce_shift; tce_setrange_multi_pSeriesLP()
507 limit = min_t(long, num_tce, 4096/TCE_ENTRY_SIZE); tce_setrange_multi_pSeriesLP()
520 num_tce -= limit; tce_setrange_multi_pSeriesLP()
521 } while (num_tce > 0 && !rc); tce_setrange_multi_pSeriesLP()

Completed in 92 milliseconds