Home
last modified time | relevance | path

Searched refs:ocxl_afu (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/ocxl/
Dcore.c16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu()
18 struct ocxl_afu *afu; in alloc_afu()
20 afu = kzalloc(sizeof(struct ocxl_afu), GFP_KERNEL); in alloc_afu()
35 struct ocxl_afu *afu = container_of(kref, struct ocxl_afu, kref); in free_afu()
42 void ocxl_afu_get(struct ocxl_afu *afu) in ocxl_afu_get()
48 void ocxl_afu_put(struct ocxl_afu *afu) in ocxl_afu_put()
54 static int assign_afu_actag(struct ocxl_afu *afu) in assign_afu_actag()
82 static void reclaim_afu_actag(struct ocxl_afu *afu) in reclaim_afu_actag()
92 static int assign_afu_pasid(struct ocxl_afu *afu) in assign_afu_pasid()
121 static void reclaim_afu_pasid(struct ocxl_afu *afu) in reclaim_afu_pasid()
[all …]
Docxl_internal.h31 struct ocxl_afu *afu;
37 struct ocxl_afu { struct
71 struct ocxl_afu *afu; argument
97 int ocxl_create_cdev(struct ocxl_afu *afu);
98 void ocxl_destroy_cdev(struct ocxl_afu *afu);
99 int ocxl_file_register_afu(struct ocxl_afu *afu);
100 void ocxl_file_unregister_afu(struct ocxl_afu *afu);
142 void ocxl_context_detach_all(struct ocxl_afu *afu);
Dsysfs.c6 static inline struct ocxl_afu *to_afu(struct device *device) in to_afu()
17 struct ocxl_afu *afu = to_afu(device); in global_mmio_size_show()
27 struct ocxl_afu *afu = to_afu(device); in pp_mmio_size_show()
37 struct ocxl_afu *afu = to_afu(device); in afu_version_show()
48 struct ocxl_afu *afu = to_afu(device); in contexts_show()
58 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_show()
73 struct ocxl_afu *afu = to_afu(device); in reload_on_reset_store()
100 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_read()
112 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault()
131 struct ocxl_afu *afu = to_afu(kobj_to_dev(kobj)); in global_mmio_mmap()
Dmmio.c7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32()
32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64()
57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32()
83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64()
109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32()
140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64()
171 int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear32()
203 int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear64()
Dpci.c20 struct ocxl_afu *afu, *tmp; in ocxl_probe()
47 struct ocxl_afu *afu; in ocxl_remove()
Dcontext.c7 int ocxl_context_alloc(struct ocxl_context **context, struct ocxl_afu *afu, in ocxl_context_alloc()
258 void ocxl_context_detach_all(struct ocxl_afu *afu) in ocxl_context_detach_all()
Dfile.c514 int ocxl_file_register_afu(struct ocxl_afu *afu) in ocxl_file_register_afu()
576 void ocxl_file_unregister_afu(struct ocxl_afu *afu) in ocxl_file_unregister_afu()