Lines Matching refs:ctx_cookie
750 if (!hwq->ctx_cookie) { in term_intr()
759 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 3, hwq); in term_intr()
761 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); in term_intr()
763 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); in term_intr()
765 cfg->ops->free_afu_irqs(hwq->ctx_cookie); in term_intr()
794 if (!hwq->ctx_cookie) { in term_mc()
799 WARN_ON(cfg->ops->stop_context(hwq->ctx_cookie)); in term_mc()
801 WARN_ON(cfg->ops->release_context(hwq->ctx_cookie)); in term_mc()
802 hwq->ctx_cookie = NULL; in term_mc()
1752 cookie = hwq->ctx_cookie; in init_pcr()
1844 ctx = hwq->ctx_cookie; in init_global()
1954 void *ctx = hwq->ctx_cookie; in init_intr()
2031 WARN_ON(hwq->ctx_cookie); in init_mc()
2032 hwq->ctx_cookie = ctx; in init_mc()
2055 rc = cfg->ops->start_context(hwq->ctx_cookie); in init_mc()
2070 hwq->ctx_cookie = NULL; in init_mc()
2140 afu->afu_map = cfg->ops->psa_map(hwq->ctx_cookie); in init_afu()