Lines Matching refs:ctx_cookie
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
56 return cxl_start_context(ctx_cookie, 0, NULL); in cxlflash_start_context()
59 static int cxlflash_stop_context(void *ctx_cookie) in cxlflash_stop_context() argument
61 return cxl_stop_context(ctx_cookie); in cxlflash_stop_context()
64 static int cxlflash_afu_reset(void *ctx_cookie) in cxlflash_afu_reset() argument
66 return cxl_afu_reset(ctx_cookie); in cxlflash_afu_reset()
69 static void cxlflash_set_master(void *ctx_cookie) in cxlflash_set_master() argument
71 cxl_set_master(ctx_cookie); in cxlflash_set_master()
84 static int cxlflash_release_context(void *ctx_cookie) in cxlflash_release_context() argument
86 return cxl_release_context(ctx_cookie); in cxlflash_release_context()
100 static int cxlflash_allocate_afu_irqs(void *ctx_cookie, int num) in cxlflash_allocate_afu_irqs() argument
102 return cxl_allocate_afu_irqs(ctx_cookie, num); in cxlflash_allocate_afu_irqs()
105 static void cxlflash_free_afu_irqs(void *ctx_cookie) in cxlflash_free_afu_irqs() argument
107 cxl_free_afu_irqs(ctx_cookie); in cxlflash_free_afu_irqs()
120 static struct file *cxlflash_get_fd(void *ctx_cookie, in cxlflash_get_fd() argument
123 return cxl_get_fd(ctx_cookie, fops, fd); in cxlflash_get_fd()
131 static int cxlflash_start_work(void *ctx_cookie, u64 irqs) in cxlflash_start_work() argument
138 return cxl_start_work(ctx_cookie, &work); in cxlflash_start_work()