Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nvme/host/
Dpci.c228 struct nvme_queue *nvmeq; member
286 struct nvme_queue *nvmeq, int qid) in nvme_dbbuf_init() argument
291 nvmeq->dbbuf_sq_db = &dev->dbbuf_dbs[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
292 nvmeq->dbbuf_cq_db = &dev->dbbuf_dbs[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
293 nvmeq->dbbuf_sq_ei = &dev->dbbuf_eis[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
294 nvmeq->dbbuf_cq_ei = &dev->dbbuf_eis[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
297 static void nvme_dbbuf_free(struct nvme_queue *nvmeq) in nvme_dbbuf_free() argument
299 if (!nvmeq->qid) in nvme_dbbuf_free()
302 nvmeq->dbbuf_sq_db = NULL; in nvme_dbbuf_free()
303 nvmeq->dbbuf_cq_db = NULL; in nvme_dbbuf_free()
[all …]