Searched refs:ctx_cookie (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | cxl_hw.c | 26 static void __iomem *cxlflash_psa_map(void *ctx_cookie) in cxlflash_psa_map() argument 28 return cxl_psa_map(ctx_cookie); in cxlflash_psa_map() 36 static int cxlflash_process_element(void *ctx_cookie) in cxlflash_process_element() argument 38 return cxl_process_element(ctx_cookie); in cxlflash_process_element() 41 static int cxlflash_map_afu_irq(void *ctx_cookie, int num, in cxlflash_map_afu_irq() argument 44 return cxl_map_afu_irq(ctx_cookie, num, handler, cookie, name); in cxlflash_map_afu_irq() 47 static void cxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) in cxlflash_unmap_afu_irq() argument 49 cxl_unmap_afu_irq(ctx_cookie, num, cookie); in cxlflash_unmap_afu_irq() 52 static u64 cxlflash_get_irq_objhndl(void *ctx_cookie, int irq) in cxlflash_get_irq_objhndl() argument 58 static int cxlflash_start_context(void *ctx_cookie) in cxlflash_start_context() argument [all …]
|
D | backend.h | 23 void __iomem * (*psa_map)(void *ctx_cookie); 25 int (*process_element)(void *ctx_cookie); 26 int (*map_afu_irq)(void *ctx_cookie, int num, irq_handler_t handler, 28 void (*unmap_afu_irq)(void *ctx_cookie, int num, void *cookie); 29 u64 (*get_irq_objhndl)(void *ctx_cookie, int irq); 30 int (*start_context)(void *ctx_cookie); 31 int (*stop_context)(void *ctx_cookie); 32 int (*afu_reset)(void *ctx_cookie); 33 void (*set_master)(void *ctx_cookie); 36 int (*release_context)(void *ctx_cookie); [all …]
|
D | ocxl_hw.c | 146 static void __iomem *ocxlflash_psa_map(void *ctx_cookie) in ocxlflash_psa_map() argument 148 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_psa_map() 178 static int ocxlflash_process_element(void *ctx_cookie) in ocxlflash_process_element() argument 180 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_process_element() 254 static int ocxlflash_map_afu_irq(void *ctx_cookie, int num, in ocxlflash_map_afu_irq() argument 258 return afu_map_irq(0, ctx_cookie, num, handler, cookie, name); in ocxlflash_map_afu_irq() 298 static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) in ocxlflash_unmap_afu_irq() argument 300 return afu_unmap_irq(0, ctx_cookie, num, cookie); in ocxlflash_unmap_afu_irq() 310 static u64 ocxlflash_get_irq_objhndl(void *ctx_cookie, int irq) in ocxlflash_get_irq_objhndl() argument 312 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_get_irq_objhndl() [all …]
|
D | main.c | 750 if (!hwq->ctx_cookie) { in term_intr() 759 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 3, hwq); in term_intr() 761 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); in term_intr() 763 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); in term_intr() 765 cfg->ops->free_afu_irqs(hwq->ctx_cookie); in term_intr() 794 if (!hwq->ctx_cookie) { in term_mc() 799 WARN_ON(cfg->ops->stop_context(hwq->ctx_cookie)); in term_mc() 801 WARN_ON(cfg->ops->release_context(hwq->ctx_cookie)); in term_mc() 802 hwq->ctx_cookie = NULL; in term_mc() 1752 cookie = hwq->ctx_cookie; in init_pcr() [all …]
|
D | common.h | 209 void *ctx_cookie; member
|