Searched refs:NVME_DMA_KVA (Results 1 – 3 of 3) sorted by relevance
/netbsd/sys/arch/arm/apple/ |
H A D | apple_nvme.c | 177 memset(NVME_DMA_KVA(q->q_nvmmu_dmamem), 0, in nvme_ans_q_alloc() 220 uint8_t *ptr = NVME_DMA_KVA(q->q_nvmmu_dmamem); in nvme_ans_tcb() 232 struct nvme_sqe_io *sqe = NVME_DMA_KVA(q->q_sq_dmamem); in nvme_ans_sq_leave()
|
/netbsd/sys/dev/ic/ |
H A D | nvme.c | 740 *identify = *((volatile struct nvm_identify_namespace *)NVME_DMA_KVA(mem)); in nvme_ns_identify() 1359 struct nvme_sqe *sqe = NVME_DMA_KVA(q->q_sq_dmamem); in nvme_q_submit() 1482 struct nvme_cqe *ring = NVME_DMA_KVA(q->q_cq_dmamem), *cqe; in nvme_q_complete() 1597 identify = NVME_DMA_KVA(mem); in nvme_identify() 1795 prpl = NVME_DMA_KVA(q->q_ccb_prpls); in nvme_ccbs_alloc() 1946 memset(NVME_DMA_KVA(q->q_sq_dmamem), 0, NVME_DMA_LEN(q->q_sq_dmamem)); in nvme_q_alloc() 1947 memset(NVME_DMA_KVA(q->q_cq_dmamem), 0, NVME_DMA_LEN(q->q_cq_dmamem)); in nvme_q_alloc() 1993 memset(NVME_DMA_KVA(q->q_sq_dmamem), 0, NVME_DMA_LEN(q->q_sq_dmamem)); in nvme_q_reset() 1994 memset(NVME_DMA_KVA(q->q_cq_dmamem), 0, NVME_DMA_LEN(q->q_cq_dmamem)); in nvme_q_reset()
|
H A D | nvmevar.h | 37 #define NVME_DMA_KVA(_ndm) ((void *)(_ndm)->ndm_kva) macro
|