Lines Matching refs:ctx_cookie
746 if (!hwq->ctx_cookie) { in term_intr()
755 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 3, hwq); in term_intr()
758 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); in term_intr()
761 cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); in term_intr()
764 cfg->ops->free_afu_irqs(hwq->ctx_cookie); in term_intr()
793 if (!hwq->ctx_cookie) { in term_mc()
798 WARN_ON(cfg->ops->stop_context(hwq->ctx_cookie)); in term_mc()
800 WARN_ON(cfg->ops->release_context(hwq->ctx_cookie)); in term_mc()
801 hwq->ctx_cookie = NULL; in term_mc()
1755 cookie = hwq->ctx_cookie; in init_pcr()
1847 ctx = hwq->ctx_cookie; in init_global()
1957 void *ctx = hwq->ctx_cookie; in init_intr()
2034 WARN_ON(hwq->ctx_cookie); in init_mc()
2035 hwq->ctx_cookie = ctx; in init_mc()
2058 rc = cfg->ops->start_context(hwq->ctx_cookie); in init_mc()
2073 hwq->ctx_cookie = NULL; in init_mc()
2143 afu->afu_map = cfg->ops->psa_map(hwq->ctx_cookie); in init_afu()