Searched refs:ctx_cookie (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/scsi/cxlflash/ |
D | cxl_hw.c | 22 static void __iomem *cxlflash_psa_map(void *ctx_cookie) in cxlflash_psa_map() argument 24 return cxl_psa_map(ctx_cookie); in cxlflash_psa_map() 32 static int cxlflash_process_element(void *ctx_cookie) in cxlflash_process_element() argument 34 return cxl_process_element(ctx_cookie); in cxlflash_process_element() 37 static int cxlflash_map_afu_irq(void *ctx_cookie, int num, in cxlflash_map_afu_irq() argument 40 return cxl_map_afu_irq(ctx_cookie, num, handler, cookie, name); in cxlflash_map_afu_irq() 43 static void cxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) in cxlflash_unmap_afu_irq() argument 45 cxl_unmap_afu_irq(ctx_cookie, num, cookie); in cxlflash_unmap_afu_irq() 48 static u64 cxlflash_get_irq_objhndl(void *ctx_cookie, int irq) in cxlflash_get_irq_objhndl() argument 54 static int cxlflash_start_context(void *ctx_cookie) in cxlflash_start_context() argument [all …]
|
D | backend.h | 19 void __iomem * (*psa_map)(void *ctx_cookie); 21 int (*process_element)(void *ctx_cookie); 22 int (*map_afu_irq)(void *ctx_cookie, int num, irq_handler_t handler, 24 void (*unmap_afu_irq)(void *ctx_cookie, int num, void *cookie); 25 u64 (*get_irq_objhndl)(void *ctx_cookie, int irq); 26 int (*start_context)(void *ctx_cookie); 27 int (*stop_context)(void *ctx_cookie); 28 int (*afu_reset)(void *ctx_cookie); 29 void (*set_master)(void *ctx_cookie); 32 int (*release_context)(void *ctx_cookie); [all …]
|
D | ocxl_hw.c | 129 static void __iomem *ocxlflash_psa_map(void *ctx_cookie) in ocxlflash_psa_map() argument 131 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_psa_map() 161 static int ocxlflash_process_element(void *ctx_cookie) in ocxlflash_process_element() argument 163 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_process_element() 237 static int ocxlflash_map_afu_irq(void *ctx_cookie, int num, in ocxlflash_map_afu_irq() argument 241 return afu_map_irq(0, ctx_cookie, num, handler, cookie, name); in ocxlflash_map_afu_irq() 279 static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) in ocxlflash_unmap_afu_irq() argument 281 return afu_unmap_irq(0, ctx_cookie, num, cookie); in ocxlflash_unmap_afu_irq() 291 static u64 ocxlflash_get_irq_objhndl(void *ctx_cookie, int irq) in ocxlflash_get_irq_objhndl() argument 293 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_get_irq_objhndl() [all …]
|
D | main.c | 741 if (!hwq->ctx_cookie) { in term_intr() 750 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 3, hwq); in term_intr() 753 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); in term_intr() 756 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); in term_intr() 759 cfg->ops->free_afu_irqs(hwq->ctx_cookie); in term_intr() 788 if (!hwq->ctx_cookie) { in term_mc() 793 WARN_ON(cfg->ops->stop_context(hwq->ctx_cookie)); in term_mc() 795 WARN_ON(cfg->ops->release_context(hwq->ctx_cookie)); in term_mc() 796 hwq->ctx_cookie = NULL; in term_mc() 1727 cookie = hwq->ctx_cookie; in init_pcr() [all …]
|
D | common.h | 205 void *ctx_cookie; member
|