Lines Matching refs:ocxl_fn

6 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()
299 static struct ocxl_fn *alloc_function(void) in alloc_function()
301 struct ocxl_fn *fn; in alloc_function()
303 fn = kzalloc(sizeof(struct ocxl_fn), GFP_KERNEL); in alloc_function()
314 static void free_function(struct ocxl_fn *fn) in free_function()
323 struct ocxl_fn *fn = container_of(dev, struct ocxl_fn, dev); in free_function_dev()
328 static int set_function_device(struct ocxl_fn *fn, struct pci_dev *dev) in set_function_device()
335 static int assign_function_actag(struct ocxl_fn *fn) in assign_function_actag()
356 static int set_function_pasid(struct ocxl_fn *fn) in set_function_pasid()
382 static int configure_function(struct ocxl_fn *fn, struct pci_dev *dev) in configure_function()
441 static void deconfigure_function(struct ocxl_fn *fn) in deconfigure_function()
449 static struct ocxl_fn *init_function(struct pci_dev *dev) in init_function()
451 struct ocxl_fn *fn; in init_function()
475 struct ocxl_fn *ocxl_function_open(struct pci_dev *dev) in ocxl_function_open()
479 struct ocxl_fn *fn; in ocxl_function_open()
510 struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn) in ocxl_function_afu_list()
516 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx) in ocxl_function_fetch_afu()
529 const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn) in ocxl_function_config()
535 void ocxl_function_close(struct ocxl_fn *fn) in ocxl_function_close()