Searched refs:mqe_ctx (Results 1 – 3 of 3) sorted by relevance
148 return dev->mq.sq.va + (dev->mqe_ctx.tag * sizeof(struct ocrdma_mqe)); in ocrdma_get_mqe_rsp()619 memset(&dev->mqe_ctx, 0, sizeof(dev->mqe_ctx)); in ocrdma_create_mq()620 init_waitqueue_head(&dev->mqe_ctx.cmd_wait); in ocrdma_create_mq()621 mutex_init(&dev->mqe_ctx.lock); in ocrdma_create_mq()649 mutex_lock(&dev->mqe_ctx.lock); in ocrdma_destroy_mq()655 mutex_unlock(&dev->mqe_ctx.lock); in ocrdma_destroy_mq()867 if (dev->mqe_ctx.tag == cqe->tag_lo && dev->mqe_ctx.cmd_done == false) { in ocrdma_process_mcqe()868 dev->mqe_ctx.cqe_status = (cqe->status & in ocrdma_process_mcqe()870 dev->mqe_ctx.ext_status = in ocrdma_process_mcqe()873 dev->mqe_ctx.cmd_done = true; in ocrdma_process_mcqe()[all …]
162 struct mqe_ctx { struct278 struct mqe_ctx mqe_ctx; member
918 if (dev->mqe_ctx.fw_error_state) { in ocrdma_dereg_mr()