Searched refs:afu_cookie (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/scsi/cxlflash/ |
D | backend.h | 30 void * (*get_context)(struct pci_dev *dev, void *afu_cookie); 31 void * (*dev_context_init)(struct pci_dev *dev, void *afu_cookie); 33 void (*perst_reloads_same_image)(void *afu_cookie, bool image); 39 void (*destroy_afu)(void *afu_cookie);
|
D | cxl_hw.c | 74 static void *cxlflash_get_context(struct pci_dev *dev, void *afu_cookie) in cxlflash_get_context() argument 79 static void *cxlflash_dev_context_init(struct pci_dev *dev, void *afu_cookie) in cxlflash_dev_context_init() argument 89 static void cxlflash_perst_reloads_same_image(void *afu_cookie, bool image) in cxlflash_perst_reloads_same_image() argument 91 cxl_perst_reloads_same_image(afu_cookie, image); in cxlflash_perst_reloads_same_image()
|
D | ocxl_hw.c | 470 static void *ocxlflash_get_context(struct pci_dev *pdev, void *afu_cookie) in ocxlflash_get_context() argument 472 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_get_context() 484 static void *ocxlflash_dev_context_init(struct pci_dev *pdev, void *afu_cookie) in ocxlflash_dev_context_init() argument 486 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_dev_context_init() 565 static void ocxlflash_perst_reloads_same_image(void *afu_cookie, bool image) in ocxlflash_perst_reloads_same_image() argument 567 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_perst_reloads_same_image() 702 static void ocxlflash_destroy_afu(void *afu_cookie) in ocxlflash_destroy_afu() argument 704 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_destroy_afu()
|
D | common.h | 131 void *afu_cookie; member
|
D | main.c | 983 cfg->ops->destroy_afu(cfg->afu_cookie); in cxlflash_remove() 1995 ctx = cfg->ops->get_context(cfg->dev, cfg->afu_cookie); in init_mc() 1998 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in init_mc() 2100 cfg->ops->perst_reloads_same_image(cfg->afu_cookie, true); in init_afu() 3722 cfg->afu_cookie = cfg->ops->create_afu(pdev); in cxlflash_probe() 3723 if (unlikely(!cfg->afu_cookie)) { in cxlflash_probe()
|
D | superpipe.c | 1410 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in cxlflash_disk_attach() 1544 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in recover_context()
|