Lines Matching refs:ctx_cookie

128 static void __iomem *ocxlflash_psa_map(void *ctx_cookie)  in ocxlflash_psa_map()  argument
130 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_psa_map()
160 static int ocxlflash_process_element(void *ctx_cookie) in ocxlflash_process_element() argument
162 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_process_element()
236 static int ocxlflash_map_afu_irq(void *ctx_cookie, int num, in ocxlflash_map_afu_irq() argument
240 return afu_map_irq(0, ctx_cookie, num, handler, cookie, name); in ocxlflash_map_afu_irq()
278 static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie) in ocxlflash_unmap_afu_irq() argument
280 return afu_unmap_irq(0, ctx_cookie, num, cookie); in ocxlflash_unmap_afu_irq()
290 static u64 ocxlflash_get_irq_objhndl(void *ctx_cookie, int irq) in ocxlflash_get_irq_objhndl() argument
292 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_get_irq_objhndl()
385 static int ocxlflash_start_context(void *ctx_cookie) in ocxlflash_start_context() argument
387 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_start_context()
398 static int ocxlflash_stop_context(void *ctx_cookie) in ocxlflash_stop_context() argument
400 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_stop_context()
439 static int ocxlflash_afu_reset(void *ctx_cookie) in ocxlflash_afu_reset() argument
441 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_afu_reset()
455 static void ocxlflash_set_master(void *ctx_cookie) in ocxlflash_set_master() argument
457 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_set_master()
532 static int ocxlflash_release_context(void *ctx_cookie) in ocxlflash_release_context() argument
534 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_release_context()
671 static int ocxlflash_allocate_afu_irqs(void *ctx_cookie, int num) in ocxlflash_allocate_afu_irqs() argument
673 return alloc_afu_irqs(ctx_cookie, num); in ocxlflash_allocate_afu_irqs()
680 static void ocxlflash_free_afu_irqs(void *ctx_cookie) in ocxlflash_free_afu_irqs() argument
682 free_afu_irqs(ctx_cookie); in ocxlflash_free_afu_irqs()
1194 static struct file *ocxlflash_get_fd(void *ctx_cookie, in ocxlflash_get_fd() argument
1197 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_get_fd()
1306 static int ocxlflash_start_work(void *ctx_cookie, u64 num_irqs) in ocxlflash_start_work() argument
1308 struct ocxlflash_context *ctx = ctx_cookie; in ocxlflash_start_work()