Home
last modified time | relevance | path

Searched refs:cdw11 (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c93 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 Dnvme_ctrlr.c1040 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 Dnvme_ns_cmd.c132 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvme_ns_cmd_deallocate()
H A Dnvme.h830 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 Dnvme_qpair.c129 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 Dnvme_all.c65 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 Dnvme_all.h36 uint32_t cdw10, uint32_t cdw11, uint32_t cdw12, uint32_t cdw13,
/freebsd/sbin/nvmecontrol/
H A Dpassthru.c55 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 Dpower.c109 pt.cmd.cdw11 = htole32(power_val | (workload << 5)); in power_set()
H A Dsanitize.c175 pt.cmd.cdw11 = htole32(opt.ovrpat); in sanitize()
H A Dfirmware.c183 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t)); in update_firmware()
H A Dresv.c374 pt.cmd.cdw11 = htole32(report_opt.eds); /* EDS */ in resvreport()
H A Dlogpage.c208 pt.cmd.cdw11 = htole32( in read_logpage()
/freebsd/usr.sbin/bhyve/
H A Dpci_nvme.c245 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 Dio.c100 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 Dbasic.sh145 … -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 Dnvmft_controller.c532 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 Dnvmf_cmd.c160 cmd.cdw11 = htole32(numd >> 16); in nvmf_cmd_get_log_page()
H A Dnvmf_aer.c217 cmd.cdw11 = htole32(config); in nvmf_set_async_event_config()
H A Dnvmf.c971 cmd.cdw11 = pt->cmd.cdw11; in nvmf_passthrough_cmd()
H A Dnvmf_ns.c207 cmd.cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvmf_ns_submit_bio()
/freebsd/lib/libnvmf/
H A Dnvmf_host.c601 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 Dnvmf_controller.c446 numd = le32toh(cmd->cdw10) >> 16 | (le32toh(cmd->cdw11) & 0xffff) << 16; in nvmf_get_log_page_length()
/freebsd/tools/tools/nvmf/nvmfdd/
H A Dnvmfdd.c254 cmd.cdw11 = htole32(slba >> 32); in nvmf_io_command()
/freebsd/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c145 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t)); in wdc_get_data()

12