Lines Matching defs:ctx_cookie
22 static void __iomem *cxlflash_psa_map(void *ctx_cookie)
24 return cxl_psa_map(ctx_cookie);
32 static int cxlflash_process_element(void *ctx_cookie)
34 return cxl_process_element(ctx_cookie);
37 static int cxlflash_map_afu_irq(void *ctx_cookie, int num,
40 return cxl_map_afu_irq(ctx_cookie, num, handler, cookie, name);
43 static void cxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie)
45 cxl_unmap_afu_irq(ctx_cookie, num, cookie);
48 static u64 cxlflash_get_irq_objhndl(void *ctx_cookie, int irq)
54 static int cxlflash_start_context(void *ctx_cookie)
56 return cxl_start_context(ctx_cookie, 0, NULL);
59 static int cxlflash_stop_context(void *ctx_cookie)
61 return cxl_stop_context(ctx_cookie);
64 static int cxlflash_afu_reset(void *ctx_cookie)
66 return cxl_afu_reset(ctx_cookie);
69 static void cxlflash_set_master(void *ctx_cookie)
71 cxl_set_master(ctx_cookie);
84 static int cxlflash_release_context(void *ctx_cookie)
86 return cxl_release_context(ctx_cookie);
100 static int cxlflash_allocate_afu_irqs(void *ctx_cookie, int num)
102 return cxl_allocate_afu_irqs(ctx_cookie, num);
105 static void cxlflash_free_afu_irqs(void *ctx_cookie)
107 cxl_free_afu_irqs(ctx_cookie);
120 static struct file *cxlflash_get_fd(void *ctx_cookie,
123 return cxl_get_fd(ctx_cookie, fops, fd);
131 static int cxlflash_start_work(void *ctx_cookie, u64 irqs)
138 return cxl_start_work(ctx_cookie, &work);