Lines Matching defs:ctx_cookie
124 * @ctx_cookie: Adapter context for which the mapping needs to be done.
128 static void __iomem *ocxlflash_psa_map(void *ctx_cookie)
130 struct ocxlflash_context *ctx = ctx_cookie;
156 * @ctx_cookie: Adapter context associated with the process element.
160 static int ocxlflash_process_element(void *ctx_cookie)
162 struct ocxlflash_context *ctx = ctx_cookie;
228 * @ctx_cookie: Adapter context.
236 static int ocxlflash_map_afu_irq(void *ctx_cookie, int num,
240 return afu_map_irq(0, ctx_cookie, num, handler, cookie, name);
274 * @ctx_cookie: Adapter context.
278 static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie)
280 return afu_unmap_irq(0, ctx_cookie, num, cookie);
285 * @ctx_cookie: Context associated with the interrupt.
290 static u64 ocxlflash_get_irq_objhndl(void *ctx_cookie, int irq)
292 struct ocxlflash_context *ctx = ctx_cookie;
379 * @ctx_cookie: Adapter context to be started.
383 static int ocxlflash_start_context(void *ctx_cookie)
385 struct ocxlflash_context *ctx = ctx_cookie;
392 * @ctx_cookie: Adapter context to be stopped.
396 static int ocxlflash_stop_context(void *ctx_cookie)
398 struct ocxlflash_context *ctx = ctx_cookie;
435 * @ctx_cookie: Adapter context.
437 static int ocxlflash_afu_reset(void *ctx_cookie)
439 struct ocxlflash_context *ctx = ctx_cookie;
451 * @ctx_cookie: Adapter context to set as master.
453 static void ocxlflash_set_master(void *ctx_cookie)
455 struct ocxlflash_context *ctx = ctx_cookie;
526 * @ctx_cookie: Adapter context to be released.
530 static int ocxlflash_release_context(void *ctx_cookie)
532 struct ocxlflash_context *ctx = ctx_cookie;
664 * @ctx_cookie: Context associated with the request.
669 static int ocxlflash_allocate_afu_irqs(void *ctx_cookie, int num)
671 return alloc_afu_irqs(ctx_cookie, num);
676 * @ctx_cookie: Adapter context.
678 static void ocxlflash_free_afu_irqs(void *ctx_cookie)
680 free_afu_irqs(ctx_cookie);
1186 * @ctx_cookie: Adapter context.
1192 static struct file *ocxlflash_get_fd(void *ctx_cookie,
1195 struct ocxlflash_context *ctx = ctx_cookie;
1299 * @ctx_cookie: Context to be started.
1304 static int ocxlflash_start_work(void *ctx_cookie, u64 num_irqs)
1306 struct ocxlflash_context *ctx = ctx_cookie;