/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A 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);
|
H A 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()
|
H A D | ocxl_hw.c | 463 * @afu_cookie: Hardware AFU associated with the host. 467 static void *ocxlflash_get_context(struct pci_dev *pdev, void *afu_cookie) in ocxlflash_get_context() argument 469 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_get_context() 477 * @afu_cookie: Hardware AFU associated with the host. 481 static void *ocxlflash_dev_context_init(struct pci_dev *pdev, void *afu_cookie) in ocxlflash_dev_context_init() argument 483 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_dev_context_init() 559 * @afu_cookie: Hardware AFU associated with the host. 562 static void ocxlflash_perst_reloads_same_image(void *afu_cookie, bool image) in ocxlflash_perst_reloads_same_image() argument 564 struct ocxl_hw_afu *afu = afu_cookie; in ocxlflash_perst_reloads_same_image() 697 * @afu_cookie 699 ocxlflash_destroy_afu(void *afu_cookie) ocxlflash_destroy_afu() argument [all...] |
H A D | common.h | 131 void *afu_cookie; member
|
H A D | main.c | 983 cfg->ops->destroy_afu(cfg->afu_cookie); in cxlflash_remove() 2018 ctx = cfg->ops->get_context(cfg->dev, cfg->afu_cookie); in init_mc() 2021 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in init_mc() 2123 cfg->ops->perst_reloads_same_image(cfg->afu_cookie, true); in init_afu() 3741 cfg->afu_cookie = cfg->ops->create_afu(pdev); in cxlflash_probe() 3742 if (unlikely(!cfg->afu_cookie)) { in cxlflash_probe()
|
H A D | superpipe.c | 1411 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in cxlflash_disk_attach() 1545 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in recover_context()
|
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A 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);
|
H A 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()
|
H A D | ocxl_hw.c | 466 * @afu_cookie: Hardware AFU associated with the host. 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() 480 * @afu_cookie: Hardware AFU associated with the host. 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() 562 * @afu_cookie: Hardware AFU associated with the host. 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() 700 * @afu_cookie 702 ocxlflash_destroy_afu(void *afu_cookie) ocxlflash_destroy_afu() argument [all...] |
H A D | common.h | 131 void *afu_cookie; member
|
H A 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()
|
H A D | superpipe.c | 1412 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in cxlflash_disk_attach() 1546 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in recover_context()
|