Lines Matching refs:xe_pt

8 #include "xe_pt.h"
29 struct xe_pt pt;
49 static struct xe_pt_dir *as_xe_pt_dir(struct xe_pt *pt)
54 static struct xe_pt *
57 return container_of(pt_dir->staging[index], struct xe_pt, base);
78 static void xe_pt_free(struct xe_pt *pt)
92 * Allocate and initialize a single struct xe_pt metadata structure. Also
98 * Return: A valid struct xe_pt pointer on success, Pointer error code on
101 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile,
104 struct xe_pt *pt;
160 struct xe_pt *pt)
202 void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred)
232 void xe_pt_clear(struct xe_device *xe, struct xe_pt *pt)
270 struct xe_pt *parent;
335 xe_pt_new_shared(struct xe_walk_update *wupd, struct xe_pt *parent,
383 xe_pt_insert_entry(struct xe_pt_stage_bind_walk *xe_walk, struct xe_pt *parent,
384 pgoff_t offset, struct xe_pt *xe_child, u64 pte)
522 struct xe_pt *xe_parent = container_of(parent, typeof(*xe_parent), base);
524 struct xe_pt *xe_child;
716 struct xe_pt *pt = vm->pt_root[tile->id];
855 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base);
907 struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id];
950 struct xe_pt *pt = vm->pt_root[tile->id];
990 struct xe_pt *pt = entries[i].pt;
1048 struct xe_pt *pt = entries[i].pt;
1056 struct xe_pt *oldpte = entries[i].pt_entries[j].pt;
1075 struct xe_pt *pt = entries[i].pt;
1087 struct xe_pt *newpte = xe_pt_entry_staging(pt_dir, j_);
1088 struct xe_pt *oldpte = entries[i].pt_entries[j].pt;
1105 struct xe_pt *pt = entries[i].pt;
1117 struct xe_pt *newpte = entries[i].pt_entries[j].pt;
1118 struct xe_pt *oldpte = NULL;
1166 struct xe_pt *xe_pt = entry->pt;
1167 u64 page_size = 1ull << xe_pt_shift(xe_pt->level);
1176 i, xe_pt->level, entry->ofs, entry->qwords,
1177 xe_pt_addr(xe_pt) + start, xe_pt_addr(xe_pt) + end, 0);
1609 const struct xe_pt *child,
1641 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base);
1660 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base);
1729 struct xe_pt *pt = vm->pt_root[tile->id];
1768 struct xe_pt *pt = entry->pt;
1794 struct xe_pt *pt = entry->pt;