Lines Matching refs:encode
773 u64 (*encode)(const dma_addr_t, const enum i915_cache_level)) in __set_pd_entry()
780 write_dma_entry(px_base(pd), idx, encode(to->daddr, I915_CACHE_LLC)); in __set_pd_entry()
793 write_dma_entry(px_base(pd), idx, scratch->encode); in clear_pd_entry()
1007 vm->scratch[0].encode, in __gen8_ppgtt_clear()
1075 fill_px(pt, vm->scratch[lvl].encode); in __gen8_ppgtt_alloc()
1087 fill_px(pt, vm->scratch[lvl].encode); in __gen8_ppgtt_alloc()
1229 gen8_pte_t encode = pte_encode; in gen8_ppgtt_insert_huge() local
1240 encode |= GEN8_PDE_PS_2M; in gen8_ppgtt_insert_huge()
1263 vaddr[index++] = encode | iter->dma; in gen8_ppgtt_insert_huge()
1319 encode = vma->vm->scratch[0].encode; in gen8_ppgtt_insert_huge()
1323 memset64(vaddr + i, encode, 15); in gen8_ppgtt_insert_huge()
1384 vm->scratch[0].encode = in gen8_init_scratch()
1392 fill_px(&vm->scratch[i], vm->scratch[i - 1].encode); in gen8_init_scratch()
1393 vm->scratch[i].encode = in gen8_init_scratch()
1421 fill_px(pde, vm->scratch[1].encode); in gen8_preallocate_top_level_pdp()
1463 fill_page_dma(px_base(pd), vm->scratch[vm->top].encode, count); in gen8_alloc_top_pd()
1608 const gen6_pte_t scratch_pte = vm->scratch[0].encode; in gen6_ppgtt_clear_range()
1712 fill32_px(pt, vm->scratch[0].encode); in gen6_alloc_va_range()
1758 vm->scratch[0].encode = in gen6_ppgtt_init_scratch()
1767 fill32_px(&vm->scratch[1], vm->scratch[0].encode); in gen6_ppgtt_init_scratch()
2267 const gen8_pte_t scratch_pte = vm->scratch[0].encode; in gen8_ggtt_clear_range()
2392 scratch_pte = vm->scratch[0].encode; in gen6_ggtt_clear_range()
2869 ggtt->vm.scratch[0].encode = in ggtt_probe_common()