/freebsd/sys/dev/nvme/ |
H A D | nvme_ctrlr_cmd.c | 93 cmd->cdw11 = htole32((io_que->vector << 16) | 0x3); in nvme_ctrlr_cmd_create_io_cq() 117 cmd->cdw11 = htole32((io_que->id << 16) | 0x1); in nvme_ctrlr_cmd_create_io_sq() 167 uint32_t cdw11, uint32_t cdw12, uint32_t cdw13, uint32_t cdw14, in nvme_ctrlr_cmd_set_feature() argument 179 cmd->cdw11 = htole32(cdw11); in nvme_ctrlr_cmd_set_feature() 190 uint32_t cdw11, void *payload, uint32_t payload_size, in nvme_ctrlr_cmd_get_feature() argument 201 cmd->cdw11 = htole32(cdw11); in nvme_ctrlr_cmd_get_feature() 210 uint32_t cdw11; in nvme_ctrlr_cmd_set_num_queues() local 212 cdw11 = ((num_queues - 1) << 16) | (num_queues - 1); in nvme_ctrlr_cmd_set_num_queues() 213 nvme_ctrlr_cmd_set_feature(ctrlr, NVME_FEAT_NUMBER_OF_QUEUES, cdw11, in nvme_ctrlr_cmd_set_num_queues() 221 uint32_t cdw11; in nvme_ctrlr_cmd_set_async_event_config() local [all …]
|
H A D | nvme_linux.h | 29 __uint32_t cdw11; member
|
H A D | nvme_ctrlr.c | 1052 uint32_t cdw11; in nvme_ctrlr_hmb_enable() local 1054 cdw11 = 0; in nvme_ctrlr_hmb_enable() 1056 cdw11 |= 1; in nvme_ctrlr_hmb_enable() 1058 cdw11 |= 2; in nvme_ctrlr_hmb_enable() 1060 nvme_ctrlr_cmd_set_feature(ctrlr, NVME_FEAT_HOST_MEMORY_BUFFER, cdw11, in nvme_ctrlr_hmb_enable() 1294 req->cmd.cdw11 = pt->cmd.cdw11; in nvme_ctrlr_passthrough_cmd() 1386 req->cmd.cdw11 = htole32(npc->cdw11); in nvme_ctrlr_linux_passthru_cmd()
|
H A D | nvme_ns_cmd.c | 127 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvme_ns_cmd_deallocate()
|
H A D | nvme.h | 838 uint32_t cdw11; /* command-specific */ 1940 uint8_t feature, uint32_t cdw11, 1946 uint8_t feature, uint32_t cdw11, 2029 cmd->cdw11 = htole32(lba >> 32); in nvme_ns_write_cmd() 2054 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); 830 uint32_t cdw11; /* command-specific */ global() member
|
H A D | nvme_qpair.c | 129 le32toh(cmd->nsid), le32toh(cmd->cdw10), le32toh(cmd->cdw11)); in nvme_admin_qpair_print_command() 147 ((unsigned long long)le32toh(cmd->cdw11) << 32) + le32toh(cmd->cdw10), in nvme_io_qpair_print_command() 181 cmd->cdw10, cmd->cdw11, cmd->cdw12, cmd->cdw13, cmd->cdw14, in nvme_qpair_print_command()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_all.c | 65 uint32_t cdw10, uint32_t cdw11, uint32_t cdw12, uint32_t cdw13, in nvme_ns_cmd() argument 72 nvmeio->cmd.cdw11 = htole32(cdw11); in nvme_ns_cmd() 185 cmd->cdw10, cmd->cdw11, cmd->cdw12, in nvme_cmd_sbuf()
|
H A D | nvme_all.h | 36 uint32_t cdw10, uint32_t cdw11, uint32_t cdw12, uint32_t cdw13,
|
/freebsd/sbin/nvmecontrol/ |
H A D | passthru.c | 55 uint32_t cdw11; member 71 .cdw11 = 0, 110 ARG("cdw11", '5', arg_uint32, opt, cdw11, 212 fprintf(stderr, "cdw11 : %#08x\n", opt.cdw11); in passthru() 233 pt.cmd.cdw11 = htole32(opt.cdw11); in passthru()
|
H A D | power.c | 109 pt.cmd.cdw11 = htole32(power_val | (workload << 5)); in power_set()
|
H A D | sanitize.c | 178 pt.cmd.cdw11 = htole32(opt.ovrpat); in sanitize()
|
H A D | firmware.c | 183 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t)); in update_firmware()
|
H A D | resv.c | 374 pt.cmd.cdw11 = htole32(report_opt.eds); /* EDS */ in resvreport()
|
H A D | logpage.c | 208 pt.cmd.cdw11 = htole32( in read_logpage()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_nvme.c | 245 uint32_t cdw11; member 709 sc->feat[fid].cdw11 = PCI_NVME_AEN_DEFAULT_MASK; in pci_nvme_init_features() 916 sc->feat[NVME_FEAT_ASYNC_EVENT_CONFIGURATION].cdw11; in pci_nvme_aen_process() 1232 if (command->cdw11 & NVME_CMD_CDW11_PC) { in nvme_opc_create_io_sq() 1262 nsq->cqid = (command->cdw11 >> 16) & 0xffff; in nvme_opc_create_io_sq() 1277 nsq->qpriority = (command->cdw11 >> 1) & 0x03; in nvme_opc_create_io_sq() 1341 if ((command->cdw11 & NVME_CMD_CDW11_PC) == 0) { in nvme_opc_create_io_cq() 1361 ncq->intr_en = (command->cdw11 & NVME_CMD_CDW11_IEN) >> 1; in nvme_opc_create_io_cq() 1362 ncq->intr_vec = (command->cdw11 >> 16) & 0xffff; in nvme_opc_create_io_cq() 1408 logsize = ((command->cdw11 << 16) | (command->cdw10 >> 16)) + 1; in nvme_opc_get_log_page() [all …]
|
/freebsd/sbin/nvmecontrol/tests/ |
H A D | basic.sh | 145 … -e empty nvmecontrol io-passthru --opcode=02 --data-len=4096 --cdw10=0 --cdw11=0 --cdw12=0x70000 … 147 …not-empty nvmecontrol io-passthru --opcode=02 --data-len=4096 --cdw10=0 --cdw11=0 --cdw12=0x70000 … 149 …vmecontrol io-passthru ${INV_OPT} --opcode=02 --data-len=4096 --cdw10=0 --cdw11=0 --cdw12=0x70000 …
|
/freebsd/sys/dev/nvmf/controller/ |
H A D | nvmft_controller.c | 542 numd = le32toh(cmd->cdw10) >> 16 | le32toh(cmd->cdw11) << 16; in handle_get_log_page() 733 num_queues = le32toh(cmd->cdw11) & 0xffff; in handle_set_features() 740 if (le32toh(cmd->cdw11) >> 16 != num_queues) in handle_set_features() 764 cqe.cdw0 = cmd->cdw11; in handle_set_features() 773 aer_mask = le32toh(cmd->cdw11); in handle_set_features()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_aer.c | 217 cmd.cdw11 = htole32(config); in nvmf_set_async_event_config()
|
H A D | nvmf.c | 974 cmd.cdw11 = pt->cmd.cdw11; in nvmf_passthrough_cmd()
|
H A D | nvmf_ns.c | 207 cmd.cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvmf_ns_submit_bio()
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_host.c | 601 cmd.cdw11 = htole32(numd >> 16); in nvmf_get_discovery_log_page() 730 cmd.cdw11 = htole32((requested << 16) | requested); in nvmf_host_request_queues()
|
H A D | nvmf_controller.c | 447 numd = le32toh(cmd->cdw10) >> 16 | (le32toh(cmd->cdw11) & 0xffff) << 16; in nvmf_get_log_page_length()
|
/freebsd/sbin/nvmecontrol/modules/wdc/ |
H A D | wdc.c | 145 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t)); in wdc_get_data()
|
/freebsd/sys/cam/ |
H A D | cam_periph.c | 2203 cmd->cdw11, cmd->cdw12, cmd->cdw13, cmd->cdw14, cmd->cdw15); in cam_periph_devctl_notify()
|
/freebsd/usr.sbin/camdd/ |
H A D | camdd.c | 1661 nc->cdw11 = lba >> 32; in nvme_read_write()
|