Searched refs:ocxl_afu (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/include/misc/ |
D | ocxl.h | 58 struct ocxl_afu; 89 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx); 95 void ocxl_afu_get(struct ocxl_afu *afu); 101 void ocxl_afu_put(struct ocxl_afu *afu); 130 int ocxl_context_alloc(struct ocxl_context **context, struct ocxl_afu *afu, 212 struct ocxl_afu_config *ocxl_afu_config(struct ocxl_afu *afu); 219 void ocxl_afu_set_private(struct ocxl_afu *afu, void *private); 228 void *ocxl_afu_get_private(struct ocxl_afu *afu); 240 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, 252 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, [all …]
|
/Linux-v6.6/drivers/misc/ocxl/ |
D | core.c | 16 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 …]
|
D | ocxl_internal.h | 31 struct ocxl_afu *afu; 37 struct ocxl_afu { struct 71 struct ocxl_afu *afu; argument 100 int ocxl_create_cdev(struct ocxl_afu *afu); 101 void ocxl_destroy_cdev(struct ocxl_afu *afu); 102 int ocxl_file_register_afu(struct ocxl_afu *afu); 103 void ocxl_file_unregister_afu(struct ocxl_afu *afu); 145 void ocxl_context_detach_all(struct ocxl_afu *afu);
|
D | sysfs.c | 6 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()
|
D | mmio.c | 7 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()
|
D | pci.c | 20 struct ocxl_afu *afu, *tmp; in ocxl_probe() 47 struct ocxl_afu *afu; in ocxl_remove()
|
D | context.c | 7 int ocxl_context_alloc(struct ocxl_context **context, struct ocxl_afu *afu, in ocxl_context_alloc() 260 void ocxl_context_detach_all(struct ocxl_afu *afu) in ocxl_context_detach_all()
|
D | file.c | 512 int ocxl_file_register_afu(struct ocxl_afu *afu) in ocxl_file_register_afu() 574 void ocxl_file_unregister_afu(struct ocxl_afu *afu) in ocxl_file_unregister_afu()
|