/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() 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() 221 uint32_t cdw11; in nvme_ctrlr_cmd_set_async_event_config() local 223 cdw11 = state; in nvme_ctrlr_cmd_set_async_event_config() 233 uint32_t cdw11; in nvme_ctrlr_cmd_set_interrupt_coalescing() local [all …]
|
H A D | nvme_ctrlr.c | 1040 uint32_t cdw11; in nvme_ctrlr_hmb_enable() local 1042 cdw11 = 0; in nvme_ctrlr_hmb_enable() 1044 cdw11 |= 1; in nvme_ctrlr_hmb_enable() 1046 cdw11 |= 2; in nvme_ctrlr_hmb_enable() 1048 nvme_ctrlr_cmd_set_feature(ctrlr, NVME_FEAT_HOST_MEMORY_BUFFER, cdw11, in nvme_ctrlr_hmb_enable() 1286 req->cmd.cdw11 = pt->cmd.cdw11; in nvme_ctrlr_passthrough_cmd()
|
H A D | nvme_ns_cmd.c | 132 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvme_ns_cmd_deallocate()
|
H A D | nvme.h | 830 uint32_t cdw11; /* command-specific */ member 1926 uint8_t feature, uint32_t cdw11, 1932 uint8_t feature, uint32_t cdw11, 2015 cmd->cdw11 = htole32(lba >> 32); in nvme_ns_rw_cmd() 2040 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvme_ns_trim_cmd()
|
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 | 175 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 1666 uint32_t cdw11 = command->cdw11; in nvme_feature_iv_config() local 1672 iv = cdw11 & 0xffff; in nvme_feature_iv_config() 1673 cd = cdw11 & (1 << 16); in nvme_feature_iv_config() 1716 tmpth = command->cdw11 & 0xffff; in nvme_feature_temperature() 1717 tmpsel = (command->cdw11 >> 16) & 0xf; in nvme_feature_temperature() 1718 thsel = (command->cdw11 >> 20) & 0x3; in nvme_feature_temperature() 1767 nqr = command->cdw11 & 0xFFFF; in nvme_feature_num_queues() 1852 feat->cdw11 = command->cdw11; in nvme_opc_set_features() 1854 (command->cdw11 != 0)) in nvme_opc_set_features() [all …]
|
/freebsd/usr.sbin/nvmfd/ |
H A D | io.c | 100 numd = le32toh(cmd->cdw10) >> 16 | le32toh(cmd->cdw11) << 16; in handle_get_log_page() 206 num_queues = le32toh(cmd->cdw11) & 0xffff; in handle_set_features() 213 if (le32toh(cmd->cdw11) >> 16 != num_queues) in handle_set_features() 227 cqe.cdw0 = cmd->cdw11; in handle_set_features() 235 aer_mask = le32toh(cmd->cdw11); in handle_set_features() 352 return ((uint64_t)le32toh(cmd->cdw11) << 32 | le32toh(cmd->cdw10)); in cmd_lba()
|
/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 | 532 numd = le32toh(cmd->cdw10) >> 16 | le32toh(cmd->cdw11) << 16; in handle_get_log_page() 723 num_queues = le32toh(cmd->cdw11) & 0xffff; in handle_set_features() 730 if (le32toh(cmd->cdw11) >> 16 != num_queues) in handle_set_features() 754 cqe.cdw0 = cmd->cdw11; in handle_set_features() 763 aer_mask = le32toh(cmd->cdw11); in handle_set_features()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_cmd.c | 160 cmd.cdw11 = htole32(numd >> 16); in nvmf_cmd_get_log_page()
|
H A D | nvmf_aer.c | 217 cmd.cdw11 = htole32(config); in nvmf_set_async_event_config()
|
H A D | nvmf.c | 971 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 | 446 numd = le32toh(cmd->cdw10) >> 16 | (le32toh(cmd->cdw11) & 0xffff) << 16; in nvmf_get_log_page_length()
|
/freebsd/tools/tools/nvmf/nvmfdd/ |
H A D | nvmfdd.c | 254 cmd.cdw11 = htole32(slba >> 32); in nvmf_io_command()
|
/freebsd/sbin/nvmecontrol/modules/wdc/ |
H A D | wdc.c | 145 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t)); in wdc_get_data()
|