Searched refs:ONE_BASED (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/usr.sbin/bhyve/
H A Dpci_nvme.c121 #define ONE_BASED(zero) ((zero) + 1) macro
1065 asqs = ONE_BASED(NVMEV(NVME_AQA_REG_ASQS, sc->regs.aqa));
1085 acqs = ONE_BASED(NVMEV(NVME_AQA_REG_ACQS, sc->regs.aqa));
1236 nsq->size = ONE_BASED((command->cdw10 >> 16) & 0xffff);
1359 ncq->size = ONE_BASED((command->cdw10 >> 16) & 0xffff);
1774 sc->num_squeues = ONE_BASED(nqr);
1788 sc->num_cqueues = ONE_BASED(nqr);

Completed in 116 milliseconds