Home
last modified time | relevance | path

Searched refs:mqe_ctx (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c131 return dev->mq.sq.va + (dev->mqe_ctx.tag * sizeof(struct ocrdma_mqe)); in ocrdma_get_mqe_rsp()
598 memset(&dev->mqe_ctx, 0, sizeof(dev->mqe_ctx)); in ocrdma_create_mq()
599 init_waitqueue_head(&dev->mqe_ctx.cmd_wait); in ocrdma_create_mq()
600 mutex_init(&dev->mqe_ctx.lock); in ocrdma_create_mq()
628 mutex_lock(&dev->mqe_ctx.lock); in ocrdma_destroy_mq()
634 mutex_unlock(&dev->mqe_ctx.lock); in ocrdma_destroy_mq()
799 if (dev->mqe_ctx.tag == cqe->tag_lo && dev->mqe_ctx.cmd_done == false) { in ocrdma_process_mcqe()
800 dev->mqe_ctx.cqe_status = (cqe->status & in ocrdma_process_mcqe()
802 dev->mqe_ctx.ext_status = in ocrdma_process_mcqe()
805 dev->mqe_ctx.cmd_done = true; in ocrdma_process_mcqe()
[all …]
Docrdma.h133 struct mqe_ctx { struct
229 struct mqe_ctx mqe_ctx; member
Docrdma_verbs.c852 if (dev->mqe_ctx.fw_error_state) { in ocrdma_dereg_mr()