Lines Matching refs:sc_hib_q
388 sc->sc_hib_q = nvme_q_alloc(sc, NVME_HIB_Q, 4, sc->sc_dstrd);
389 if (sc->sc_hib_q == NULL) {
1742 memset(NVME_DMA_KVA(my->sc->sc_hib_q->q_cq_dmamem), 0,
1743 my->sc->sc_hib_q->q_entries * sizeof(struct nvme_cqe));
1744 memset(NVME_DMA_KVA(my->sc->sc_hib_q->q_sq_dmamem), 0,
1745 my->sc->sc_hib_q->q_entries * sizeof(struct nvme_sqe));
1754 NVME_DMA_DVA(my->sc->sc_hib_q->q_cq_dmamem));
1755 htolem16(&qsqe.qsize, my->sc->sc_hib_q->q_entries - 1);
1756 htolem16(&qsqe.qid, my->sc->sc_hib_q->q_id);
1765 NVME_DMA_DVA(my->sc->sc_hib_q->q_sq_dmamem));
1766 htolem16(&qsqe.qsize, my->sc->sc_hib_q->q_entries - 1);
1767 htolem16(&qsqe.qid, my->sc->sc_hib_q->q_id);
1768 htolem16(&qsqe.cqid, my->sc->sc_hib_q->q_id);
1783 isqe = NVME_DMA_KVA(my->sc->sc_hib_q->q_sq_dmamem);
1785 if (++my->sq_tail == my->sc->sc_hib_q->q_entries)
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,
1841 if (++my->cq_head == my->sc->sc_hib_q->q_entries) {