Lines Matching refs:q_depth
39 u16 q_depth; member
152 if (++tail == nvmeq->q_depth) in nvme_submit_cmd()
187 if (++head == nvmeq->q_depth) { in nvme_submit_sync_cmd()
201 if (++head == nvmeq->q_depth) { in nvme_submit_sync_cmd()
242 nvmeq->q_depth = depth; in nvme_alloc_queue()
323 memset((void *)nvmeq->cqes, 0, NVME_CQ_SIZE(nvmeq->q_depth)); in nvme_init_queue()
325 (ulong)nvmeq->cqes + NVME_CQ_SIZE(nvmeq->q_depth)); in nvme_init_queue()
363 aqa = nvmeq->q_depth - 1; in nvme_configure_admin_queue()
404 c.create_cq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in nvme_alloc_cq()
421 c.create_sq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in nvme_alloc_sq()
546 if (!nvme_alloc_queue(dev, i, dev->q_depth)) in nvme_create_io_queues()
801 ndev->q_depth = min_t(int, NVME_CAP_MQES(ndev->cap) + 1, NVME_Q_DEPTH); in nvme_probe()