Lines Matching refs:q_nvmmu_dmamem
357 q->q_nvmmu_dmamem = nvme_dmamem_alloc(sc, ANS_NVMMU_TCB_SIZE);
358 if (q->q_nvmmu_dmamem == NULL)
361 memset(NVME_DMA_KVA(q->q_nvmmu_dmamem),
362 0, NVME_DMA_LEN(q->q_nvmmu_dmamem));
380 nvme_dmamem_sync(sc, q->q_nvmmu_dmamem, BUS_DMASYNC_PREWRITE);
381 nvme_write8(sc, base, NVME_DMA_DVA(q->q_nvmmu_dmamem));
398 nvme_dmamem_sync(sc, q->q_nvmmu_dmamem, BUS_DMASYNC_POSTWRITE);
399 nvme_dmamem_free(sc, q->q_nvmmu_dmamem);
412 caddr_t ptr = NVME_DMA_KVA(q->q_nvmmu_dmamem);
428 bus_dmamap_sync(sc->sc_dmat, NVME_DMA_MAP(q->q_nvmmu_dmamem),
439 bus_dmamap_sync(sc->sc_dmat, NVME_DMA_MAP(q->q_nvmmu_dmamem),
453 bus_dmamap_sync(sc->sc_dmat, NVME_DMA_MAP(q->q_nvmmu_dmamem),
456 bus_dmamap_sync(sc->sc_dmat, NVME_DMA_MAP(q->q_nvmmu_dmamem),