Home
last modified time | relevance | path

Searched refs:afu_cookie (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/scsi/cxlflash/
Dbackend.h30 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);
Dcxl_hw.c74 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()
Docxl_hw.c470 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()
Dcommon.h131 void *afu_cookie; member
Dmain.c983 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()
Dsuperpipe.c1410 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()