Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/misc/ocxl/
Dcore.c6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get()
11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put()
16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu()
56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag()
84 struct ocxl_fn *fn = afu->fn; in reclaim_afu_actag()
94 struct ocxl_fn *fn = afu->fn; in assign_afu_pasid()
123 struct ocxl_fn *fn = afu->fn; in reclaim_afu_pasid()
131 static int reserve_fn_bar(struct ocxl_fn *fn, int bar) in reserve_fn_bar()
148 static void release_fn_bar(struct ocxl_fn *fn, int bar) in release_fn_bar()
263 static int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) in init_afu()
[all …]
Docxl_internal.h16 struct ocxl_fn { struct
39 struct ocxl_fn *fn; argument
108 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size);
109 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size);
110 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size);
111 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size);
Dpasid.c81 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_pasid_afu_alloc()
91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free()
96 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_actag_afu_alloc()
104 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_actag_afu_free()
Dpci.c21 struct ocxl_fn *fn; in ocxl_probe()
46 struct ocxl_fn *fn; in ocxl_remove()
Dsysfs.c59 struct ocxl_fn *fn = afu->fn; in reload_on_reset_show()
74 struct ocxl_fn *fn = afu->fn; in reload_on_reset_store()
Dfile.c515 struct ocxl_fn *fn = afu->fn; in ocxl_file_register_afu()
/linux-5.19.10/include/misc/
Docxl.h59 struct ocxl_fn;
70 struct ocxl_fn *ocxl_function_open(struct pci_dev *dev);
78 struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn);
89 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx);
110 const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn);
120 void ocxl_function_close(struct ocxl_fn *fn);