Lines Matching defs:ctx_cookie

125  * @ctx_cookie:	Adapter context for which the mapping needs to be done.
129 static void __iomem *ocxlflash_psa_map(void *ctx_cookie)
131 struct ocxlflash_context *ctx = ctx_cookie;
157 * @ctx_cookie: Adapter context associated with the process element.
161 static int ocxlflash_process_element(void *ctx_cookie)
163 struct ocxlflash_context *ctx = ctx_cookie;
229 * @ctx_cookie: Adapter context.
237 static int ocxlflash_map_afu_irq(void *ctx_cookie, int num,
241 return afu_map_irq(0, ctx_cookie, num, handler, cookie, name);
275 * @ctx_cookie: Adapter context.
279 static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie)
281 return afu_unmap_irq(0, ctx_cookie, num, cookie);
286 * @ctx_cookie: Context associated with the interrupt.
291 static u64 ocxlflash_get_irq_objhndl(void *ctx_cookie, int irq)
293 struct ocxlflash_context *ctx = ctx_cookie;
382 * @ctx_cookie: Adapter context to be started.
386 static int ocxlflash_start_context(void *ctx_cookie)
388 struct ocxlflash_context *ctx = ctx_cookie;
395 * @ctx_cookie: Adapter context to be stopped.
399 static int ocxlflash_stop_context(void *ctx_cookie)
401 struct ocxlflash_context *ctx = ctx_cookie;
438 * @ctx_cookie: Adapter context.
440 static int ocxlflash_afu_reset(void *ctx_cookie)
442 struct ocxlflash_context *ctx = ctx_cookie;
454 * @ctx_cookie: Adapter context to set as master.
456 static void ocxlflash_set_master(void *ctx_cookie)
458 struct ocxlflash_context *ctx = ctx_cookie;
529 * @ctx_cookie: Adapter context to be released.
533 static int ocxlflash_release_context(void *ctx_cookie)
535 struct ocxlflash_context *ctx = ctx_cookie;
667 * @ctx_cookie: Context associated with the request.
672 static int ocxlflash_allocate_afu_irqs(void *ctx_cookie, int num)
674 return alloc_afu_irqs(ctx_cookie, num);
679 * @ctx_cookie: Adapter context.
681 static void ocxlflash_free_afu_irqs(void *ctx_cookie)
683 free_afu_irqs(ctx_cookie);
1189 * @ctx_cookie: Adapter context.
1195 static struct file *ocxlflash_get_fd(void *ctx_cookie,
1198 struct ocxlflash_context *ctx = ctx_cookie;
1302 * @ctx_cookie: Context to be started.
1307 static int ocxlflash_start_work(void *ctx_cookie, u64 num_irqs)
1309 struct ocxlflash_context *ctx = ctx_cookie;