Searched refs:ocxl_afu (Results 1 – 5 of 5) sorted by relevance
15 #define to_ocxl_afu(d) container_of(d, struct ocxl_afu, dev)34 struct ocxl_afu { struct69 struct ocxl_afu *afu; argument96 extern struct ocxl_afu *ocxl_afu_get(struct ocxl_afu *afu);97 extern void ocxl_afu_put(struct ocxl_afu *afu);99 extern int ocxl_create_cdev(struct ocxl_afu *afu);100 extern void ocxl_destroy_cdev(struct ocxl_afu *afu);101 extern int ocxl_register_afu(struct ocxl_afu *afu);102 extern void ocxl_unregister_afu(struct ocxl_afu *afu);113 extern int ocxl_context_init(struct ocxl_context *ctx, struct ocxl_afu *afu,[all …]
31 struct ocxl_afu *ocxl_afu_get(struct ocxl_afu *afu) in ocxl_afu_get()36 void ocxl_afu_put(struct ocxl_afu *afu) in ocxl_afu_put()41 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu()43 struct ocxl_afu *afu; in alloc_afu()45 afu = kzalloc(sizeof(struct ocxl_afu), GFP_KERNEL); in alloc_afu()57 static void free_afu(struct ocxl_afu *afu) in free_afu()66 struct ocxl_afu *afu = to_ocxl_afu(dev); in free_afu_dev()72 static int set_afu_device(struct ocxl_afu *afu, const char *location) in set_afu_device()84 static int assign_afu_actag(struct ocxl_afu *afu, struct pci_dev *dev) in assign_afu_actag()111 static void reclaim_afu_actag(struct ocxl_afu *afu) in reclaim_afu_actag()[all …]
10 struct ocxl_afu *afu = to_ocxl_afu(device); in global_mmio_size_show()20 struct ocxl_afu *afu = to_ocxl_afu(device); in pp_mmio_size_show()30 struct ocxl_afu *afu = to_ocxl_afu(device); in afu_version_show()41 struct ocxl_afu *afu = to_ocxl_afu(device); in contexts_show()58 struct ocxl_afu *afu = to_ocxl_afu(kobj_to_dev(kobj)); in global_mmio_read()70 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault()89 struct ocxl_afu *afu = to_ocxl_afu(kobj_to_dev(kobj)); in global_mmio_mmap()102 int ocxl_sysfs_add_afu(struct ocxl_afu *afu) in ocxl_sysfs_add_afu()134 void ocxl_sysfs_remove_afu(struct ocxl_afu *afu) in ocxl_sysfs_remove_afu()
20 static struct ocxl_afu *find_and_get_afu(dev_t devno) in find_and_get_afu()22 struct ocxl_afu *afu; in find_and_get_afu()39 static int allocate_afu_minor(struct ocxl_afu *afu) in allocate_afu_minor()49 static void free_afu_minor(struct ocxl_afu *afu) in free_afu_minor()58 struct ocxl_afu *afu; in afu_open()472 int ocxl_create_cdev(struct ocxl_afu *afu) in ocxl_create_cdev()485 void ocxl_destroy_cdev(struct ocxl_afu *afu) in ocxl_destroy_cdev()490 int ocxl_register_afu(struct ocxl_afu *afu) in ocxl_register_afu()502 void ocxl_unregister_afu(struct ocxl_afu *afu) in ocxl_unregister_afu()
12 int ocxl_context_init(struct ocxl_context *ctx, struct ocxl_afu *afu, in ocxl_context_init()247 void ocxl_context_detach_all(struct ocxl_afu *afu) in ocxl_context_detach_all()