Lines Matching refs:dma_addr
69 int total_len, u64 dma_addr) in nvme_setup_prps() argument
72 int offset = dma_addr & (page_size - 1); in nvme_setup_prps()
84 dma_addr += (page_size - offset); in nvme_setup_prps()
87 *prp2 = dma_addr; in nvme_setup_prps()
112 *(prp_pool + i++) = cpu_to_le64(dma_addr); in nvme_setup_prps()
113 dma_addr += page_size; in nvme_setup_prps()
429 unsigned cns, dma_addr_t dma_addr) in nvme_identify() argument
433 int offset = dma_addr & (page_size - 1); in nvme_identify()
440 c.identify.prp1 = cpu_to_le64(dma_addr); in nvme_identify()
446 dma_addr += (page_size - offset); in nvme_identify()
447 c.identify.prp2 = cpu_to_le64(dma_addr); in nvme_identify()
454 invalidate_dcache_range(dma_addr, in nvme_identify()
455 dma_addr + sizeof(struct nvme_id_ctrl)); in nvme_identify()
461 dma_addr_t dma_addr, u32 *result) in nvme_get_features() argument
468 c.features.prp1 = cpu_to_le64(dma_addr); in nvme_get_features()
480 dma_addr_t dma_addr, u32 *result) in nvme_set_features() argument
486 c.features.prp1 = cpu_to_le64(dma_addr); in nvme_set_features()