Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_ggtt.c358 u32 n_ptes = min_t(u32, 511, num_entries); in gen8_ggtt_bind_ptes() local
372 cs = intel_ring_begin(rq, 2 * n_ptes + 2); in gen8_ggtt_bind_ptes()
380 *cs++ = MI_UPDATE_GTT | (2 * n_ptes); in gen8_ggtt_bind_ptes()
385 if (count == n_ptes) in gen8_ggtt_bind_ptes()
392 if (count < n_ptes) { in gen8_ggtt_bind_ptes()
394 n_ptes - count); in gen8_ggtt_bind_ptes()
395 cs += (n_ptes - count) * 2; in gen8_ggtt_bind_ptes()
398 memset64((u64 *)cs, pte, n_ptes); in gen8_ggtt_bind_ptes()
399 cs += n_ptes * 2; in gen8_ggtt_bind_ptes()
416 num_entries -= n_ptes; in gen8_ggtt_bind_ptes()
[all …]
/linux/arch/powerpc/platforms/cell/
H A Diommu.c132 long n_ptes) in invalidate_tce_cache() argument
140 while (n_ptes > 0) { in invalidate_tce_cache()
142 n = min(n_ptes, 1l << 11); in invalidate_tce_cache()
151 n_ptes -= n; in invalidate_tce_cache()