ctx_cookie 19 drivers/scsi/cxlflash/backend.h void __iomem * (*psa_map)(void *ctx_cookie); ctx_cookie 21 drivers/scsi/cxlflash/backend.h int (*process_element)(void *ctx_cookie); ctx_cookie 22 drivers/scsi/cxlflash/backend.h int (*map_afu_irq)(void *ctx_cookie, int num, irq_handler_t handler, ctx_cookie 24 drivers/scsi/cxlflash/backend.h void (*unmap_afu_irq)(void *ctx_cookie, int num, void *cookie); ctx_cookie 25 drivers/scsi/cxlflash/backend.h u64 (*get_irq_objhndl)(void *ctx_cookie, int irq); ctx_cookie 26 drivers/scsi/cxlflash/backend.h int (*start_context)(void *ctx_cookie); ctx_cookie 27 drivers/scsi/cxlflash/backend.h int (*stop_context)(void *ctx_cookie); ctx_cookie 28 drivers/scsi/cxlflash/backend.h int (*afu_reset)(void *ctx_cookie); ctx_cookie 29 drivers/scsi/cxlflash/backend.h void (*set_master)(void *ctx_cookie); ctx_cookie 32 drivers/scsi/cxlflash/backend.h int (*release_context)(void *ctx_cookie); ctx_cookie 36 drivers/scsi/cxlflash/backend.h int (*allocate_afu_irqs)(void *ctx_cookie, int num); ctx_cookie 37 drivers/scsi/cxlflash/backend.h void (*free_afu_irqs)(void *ctx_cookie); ctx_cookie 40 drivers/scsi/cxlflash/backend.h struct file * (*get_fd)(void *ctx_cookie, struct file_operations *fops, ctx_cookie 43 drivers/scsi/cxlflash/backend.h int (*start_work)(void *ctx_cookie, u64 irqs); ctx_cookie 205 drivers/scsi/cxlflash/common.h void *ctx_cookie; ctx_cookie 22 drivers/scsi/cxlflash/cxl_hw.c static void __iomem *cxlflash_psa_map(void *ctx_cookie) ctx_cookie 24 drivers/scsi/cxlflash/cxl_hw.c return cxl_psa_map(ctx_cookie); ctx_cookie 32 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_process_element(void *ctx_cookie) ctx_cookie 34 drivers/scsi/cxlflash/cxl_hw.c return cxl_process_element(ctx_cookie); ctx_cookie 37 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_map_afu_irq(void *ctx_cookie, int num, ctx_cookie 40 drivers/scsi/cxlflash/cxl_hw.c return cxl_map_afu_irq(ctx_cookie, num, handler, cookie, name); ctx_cookie 43 drivers/scsi/cxlflash/cxl_hw.c static void cxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) ctx_cookie 45 drivers/scsi/cxlflash/cxl_hw.c cxl_unmap_afu_irq(ctx_cookie, num, cookie); ctx_cookie 48 drivers/scsi/cxlflash/cxl_hw.c static u64 cxlflash_get_irq_objhndl(void *ctx_cookie, int irq) ctx_cookie 54 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_start_context(void *ctx_cookie) ctx_cookie 56 drivers/scsi/cxlflash/cxl_hw.c return cxl_start_context(ctx_cookie, 0, NULL); ctx_cookie 59 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_stop_context(void *ctx_cookie) ctx_cookie 61 drivers/scsi/cxlflash/cxl_hw.c return cxl_stop_context(ctx_cookie); ctx_cookie 64 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_afu_reset(void *ctx_cookie) ctx_cookie 66 drivers/scsi/cxlflash/cxl_hw.c return cxl_afu_reset(ctx_cookie); ctx_cookie 69 drivers/scsi/cxlflash/cxl_hw.c static void cxlflash_set_master(void *ctx_cookie) ctx_cookie 71 drivers/scsi/cxlflash/cxl_hw.c cxl_set_master(ctx_cookie); ctx_cookie 84 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_release_context(void *ctx_cookie) ctx_cookie 86 drivers/scsi/cxlflash/cxl_hw.c return cxl_release_context(ctx_cookie); ctx_cookie 100 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_allocate_afu_irqs(void *ctx_cookie, int num) ctx_cookie 102 drivers/scsi/cxlflash/cxl_hw.c return cxl_allocate_afu_irqs(ctx_cookie, num); ctx_cookie 105 drivers/scsi/cxlflash/cxl_hw.c static void cxlflash_free_afu_irqs(void *ctx_cookie) ctx_cookie 107 drivers/scsi/cxlflash/cxl_hw.c cxl_free_afu_irqs(ctx_cookie); ctx_cookie 120 drivers/scsi/cxlflash/cxl_hw.c static struct file *cxlflash_get_fd(void *ctx_cookie, ctx_cookie 123 drivers/scsi/cxlflash/cxl_hw.c return cxl_get_fd(ctx_cookie, fops, fd); ctx_cookie 131 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_start_work(void *ctx_cookie, u64 irqs) ctx_cookie 138 drivers/scsi/cxlflash/cxl_hw.c return cxl_start_work(ctx_cookie, &work); ctx_cookie 746 drivers/scsi/cxlflash/main.c if (!hwq->ctx_cookie) { ctx_cookie 755 drivers/scsi/cxlflash/main.c cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 3, hwq); ctx_cookie 758 drivers/scsi/cxlflash/main.c cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); ctx_cookie 761 drivers/scsi/cxlflash/main.c cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); ctx_cookie 764 drivers/scsi/cxlflash/main.c cfg->ops->free_afu_irqs(hwq->ctx_cookie); ctx_cookie 793 drivers/scsi/cxlflash/main.c if (!hwq->ctx_cookie) { ctx_cookie 798 drivers/scsi/cxlflash/main.c WARN_ON(cfg->ops->stop_context(hwq->ctx_cookie)); ctx_cookie 800 drivers/scsi/cxlflash/main.c WARN_ON(cfg->ops->release_context(hwq->ctx_cookie)); ctx_cookie 801 drivers/scsi/cxlflash/main.c hwq->ctx_cookie = NULL; ctx_cookie 1755 drivers/scsi/cxlflash/main.c cookie = hwq->ctx_cookie; ctx_cookie 1847 drivers/scsi/cxlflash/main.c ctx = hwq->ctx_cookie; ctx_cookie 1957 drivers/scsi/cxlflash/main.c void *ctx = hwq->ctx_cookie; ctx_cookie 2034 drivers/scsi/cxlflash/main.c WARN_ON(hwq->ctx_cookie); ctx_cookie 2035 drivers/scsi/cxlflash/main.c hwq->ctx_cookie = ctx; ctx_cookie 2058 drivers/scsi/cxlflash/main.c rc = cfg->ops->start_context(hwq->ctx_cookie); ctx_cookie 2073 drivers/scsi/cxlflash/main.c hwq->ctx_cookie = NULL; ctx_cookie 2143 drivers/scsi/cxlflash/main.c afu->afu_map = cfg->ops->psa_map(hwq->ctx_cookie); ctx_cookie 127 drivers/scsi/cxlflash/ocxl_hw.c static void __iomem *ocxlflash_psa_map(void *ctx_cookie) ctx_cookie 129 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 159 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_process_element(void *ctx_cookie) ctx_cookie 161 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 235 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_map_afu_irq(void *ctx_cookie, int num, ctx_cookie 239 drivers/scsi/cxlflash/ocxl_hw.c return afu_map_irq(0, ctx_cookie, num, handler, cookie, name); ctx_cookie 279 drivers/scsi/cxlflash/ocxl_hw.c static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) ctx_cookie 281 drivers/scsi/cxlflash/ocxl_hw.c return afu_unmap_irq(0, ctx_cookie, num, cookie); ctx_cookie 291 drivers/scsi/cxlflash/ocxl_hw.c static u64 ocxlflash_get_irq_objhndl(void *ctx_cookie, int irq) ctx_cookie 293 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 384 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_start_context(void *ctx_cookie) ctx_cookie 386 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 397 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_stop_context(void *ctx_cookie) ctx_cookie 399 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 438 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_afu_reset(void *ctx_cookie) ctx_cookie 440 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 454 drivers/scsi/cxlflash/ocxl_hw.c static void ocxlflash_set_master(void *ctx_cookie) ctx_cookie 456 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 531 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_release_context(void *ctx_cookie) ctx_cookie 533 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 672 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_allocate_afu_irqs(void *ctx_cookie, int num) ctx_cookie 674 drivers/scsi/cxlflash/ocxl_hw.c return alloc_afu_irqs(ctx_cookie, num); ctx_cookie 681 drivers/scsi/cxlflash/ocxl_hw.c static void ocxlflash_free_afu_irqs(void *ctx_cookie) ctx_cookie 683 drivers/scsi/cxlflash/ocxl_hw.c free_afu_irqs(ctx_cookie); ctx_cookie 1195 drivers/scsi/cxlflash/ocxl_hw.c static struct file *ocxlflash_get_fd(void *ctx_cookie, ctx_cookie 1198 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie; ctx_cookie 1307 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_start_work(void *ctx_cookie, u64 num_irqs) ctx_cookie 1309 drivers/scsi/cxlflash/ocxl_hw.c struct ocxlflash_context *ctx = ctx_cookie;