Lines Matching refs:ctx_cookie
741 if (!hwq->ctx_cookie) { in term_intr()
750 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 3, hwq); in term_intr()
753 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); in term_intr()
756 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); in term_intr()
759 cfg->ops->free_afu_irqs(hwq->ctx_cookie); in term_intr()
788 if (!hwq->ctx_cookie) { in term_mc()
793 WARN_ON(cfg->ops->stop_context(hwq->ctx_cookie)); in term_mc()
795 WARN_ON(cfg->ops->release_context(hwq->ctx_cookie)); in term_mc()
796 hwq->ctx_cookie = NULL; in term_mc()
1727 cookie = hwq->ctx_cookie; in init_pcr()
1819 ctx = hwq->ctx_cookie; in init_global()
1929 void *ctx = hwq->ctx_cookie; in init_intr()
2006 WARN_ON(hwq->ctx_cookie); in init_mc()
2007 hwq->ctx_cookie = ctx; in init_mc()
2030 rc = cfg->ops->start_context(hwq->ctx_cookie); in init_mc()
2045 hwq->ctx_cookie = NULL; in init_mc()
2115 afu->afu_map = cfg->ops->psa_map(hwq->ctx_cookie); in init_afu()