Lines Matching refs:q_cq_dmamem
257 nvme_write8(sc, NVME_ACQ, NVME_DMA_DVA(sc->sc_admin_q->q_cq_dmamem));
1178 struct nvme_cqe *ring = NVME_DMA_KVA(q->q_cq_dmamem), *cqe;
1188 nvme_dmamem_sync(sc, q->q_cq_dmamem, BUS_DMASYNC_POSTREAD);
1208 nvme_dmamem_sync(sc, q->q_cq_dmamem, BUS_DMASYNC_PREREAD);
1299 htolem64(&sqe.prp1, NVME_DMA_DVA(q->q_cq_dmamem));
1480 q->q_cq_dmamem = nvme_dmamem_alloc(sc,
1482 if (q->q_cq_dmamem == NULL)
1486 memset(NVME_DMA_KVA(q->q_cq_dmamem), 0, NVME_DMA_LEN(q->q_cq_dmamem));
1505 nvme_dmamem_sync(sc, q->q_cq_dmamem, BUS_DMASYNC_PREREAD);
1510 nvme_dmamem_free(sc, q->q_cq_dmamem);
1523 memset(NVME_DMA_KVA(q->q_cq_dmamem), 0, NVME_DMA_LEN(q->q_cq_dmamem));
1530 nvme_dmamem_sync(sc, q->q_cq_dmamem, BUS_DMASYNC_PREREAD);
1538 nvme_dmamem_sync(sc, q->q_cq_dmamem, BUS_DMASYNC_POSTREAD);
1544 nvme_dmamem_free(sc, q->q_cq_dmamem);
1643 struct nvme_cqe *acqe = NVME_DMA_KVA(sc->sc_admin_q->q_cq_dmamem);
1664 nvme_dmamem_sync(sc, q->q_cq_dmamem, BUS_DMASYNC_POSTREAD);
1742 memset(NVME_DMA_KVA(my->sc->sc_hib_q->q_cq_dmamem), 0,
1754 NVME_DMA_DVA(my->sc->sc_hib_q->q_cq_dmamem));
1819 icqe = NVME_DMA_KVA(my->sc->sc_hib_q->q_cq_dmamem);
1822 nvme_dmamem_sync(my->sc, my->sc->sc_hib_q->q_cq_dmamem,
1835 nvme_dmamem_sync(my->sc, my->sc->sc_hib_q->q_cq_dmamem,
1838 nvme_dmamem_sync(my->sc, my->sc->sc_hib_q->q_cq_dmamem,