Home
last modified time | relevance | path

Searched refs:n_regs (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/nvme/
H A Dnvme_var.h123 caddr_t n_regs; member
H A Dnvme.c580 ASSERT(((uintptr_t)(nvme->n_regs + reg) & 0x7) == 0); in nvme_put64()
583 ddi_put64(nvme->n_regh, (uint64_t *)(nvme->n_regs + reg), val); in nvme_put64()
589 ASSERT(((uintptr_t)(nvme->n_regs + reg) & 0x3) == 0); in nvme_put32()
592 ddi_put32(nvme->n_regh, (uint32_t *)(nvme->n_regs + reg), val); in nvme_put32()
600 ASSERT(((uintptr_t)(nvme->n_regs + reg) & 0x7) == 0); in nvme_get64()
603 val = ddi_get64(nvme->n_regh, (uint64_t *)(nvme->n_regs + reg)); in nvme_get64()
613 ASSERT(((uintptr_t)(nvme->n_regs + reg) & 0x3) == 0); in nvme_get32()
616 val = ddi_get32(nvme->n_regh, (uint32_t *)(nvme->n_regs + reg)); in nvme_get32()
2914 if (ddi_regs_map_setup(dip, 1, &nvme->n_regs, 0, regsize, in nvme_attach()