Lines Matching refs:pat_index
912 u16 pat_index, unsigned int flags) in xe_vma_create() argument
963 vma->pat_index = pat_index; in xe_vma_create()
1198 static u64 pde_encode_pat_index(u16 pat_index) in pde_encode_pat_index() argument
1202 if (pat_index & BIT(0)) in pde_encode_pat_index()
1205 if (pat_index & BIT(1)) in pde_encode_pat_index()
1211 static u64 pte_encode_pat_index(u16 pat_index, u32 pt_level) in pte_encode_pat_index() argument
1215 if (pat_index & BIT(0)) in pte_encode_pat_index()
1218 if (pat_index & BIT(1)) in pte_encode_pat_index()
1221 if (pat_index & BIT(2)) { in pte_encode_pat_index()
1228 if (pat_index & BIT(3)) in pte_encode_pat_index()
1231 if (pat_index & (BIT(4))) in pte_encode_pat_index()
1250 const u16 pat_index) in xelp_pde_encode_bo() argument
1256 pde |= pde_encode_pat_index(pat_index); in xelp_pde_encode_bo()
1262 u16 pat_index, u32 pt_level) in xelp_pte_encode_bo() argument
1268 pte |= pte_encode_pat_index(pat_index, pt_level); in xelp_pte_encode_bo()
1278 u16 pat_index, u32 pt_level) in xelp_pte_encode_vma() argument
1285 pte |= pte_encode_pat_index(pat_index, pt_level); in xelp_pte_encode_vma()
1295 u16 pat_index, in xelp_pte_encode_addr() argument
1305 pte |= pte_encode_pat_index(pat_index, pt_level); in xelp_pte_encode_addr()
1910 u32 prefetch_region, u16 pat_index) in vm_bind_ioctl_ops_create() argument
1971 op->map.pat_index = pat_index; in vm_bind_ioctl_ops_create()
1983 u16 pat_index, unsigned int flags) in new_vma() argument
2012 op->va.range - 1, pat_index, flags); in new_vma()
2162 vma = new_vma(vm, &op->base.map, op->map.pat_index, in vm_bind_ioctl_ops_parse()
2193 old->pat_index, flags); in vm_bind_ioctl_ops_parse()
2232 old->pat_index, flags); in vm_bind_ioctl_ops_parse()
2760 u16 pat_index = (*bind_ops)[i].pat_index; in vm_bind_ioctl_check_args() local
2763 if (XE_IOCTL_DBG(xe, pat_index >= xe->pat.n_entries)) { in vm_bind_ioctl_check_args()
2768 pat_index = array_index_nospec(pat_index, xe->pat.n_entries); in vm_bind_ioctl_check_args()
2769 (*bind_ops)[i].pat_index = pat_index; in vm_bind_ioctl_check_args()
2770 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in vm_bind_ioctl_check_args()
2867 u16 pat_index) in xe_vm_bind_ioctl_validate_bo() argument
2895 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in xe_vm_bind_ioctl_validate_bo()
2996 u16 pat_index = bind_ops[i].pat_index; in xe_vm_bind_ioctl() local
3009 obj_offset, pat_index); in xe_vm_bind_ioctl()
3055 u16 pat_index = bind_ops[i].pat_index; in xe_vm_bind_ioctl() local
3059 prefetch_region, pat_index); in xe_vm_bind_ioctl()