Home
last modified time | relevance | path

Searched refs:cdw10 (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c49 cmd->cdw10 = htole32(1); in nvme_ctrlr_cmd_identify_controller()
91 cmd->cdw10 = htole32(((io_que->num_entries-1) << 16) | io_que->id); in nvme_ctrlr_cmd_create_io_cq()
115 cmd->cdw10 = htole32(((io_que->num_entries-1) << 16) | io_que->id); in nvme_ctrlr_cmd_create_io_sq()
139 cmd->cdw10 = htole32(io_que->id); in nvme_ctrlr_cmd_delete_io_cq()
160 cmd->cdw10 = htole32(io_que->id); in nvme_ctrlr_cmd_delete_io_sq()
178 cmd->cdw10 = htole32(feature); in nvme_ctrlr_cmd_set_feature()
200 cmd->cdw10 = htole32(feature); in nvme_ctrlr_cmd_get_feature()
272 cmd->cdw10 = ((payload_size/sizeof(uint32_t)) - 1) << 16; in nvme_ctrlr_cmd_get_log_page()
273 cmd->cdw10 |= log_page; in nvme_ctrlr_cmd_get_log_page()
274 cmd->cdw10 = htole32(cmd->cdw10); in nvme_ctrlr_cmd_get_log_page()
[all …]
H A Dnvme_linux.h28 __uint32_t cdw10; member
H A Dnvme_ns_cmd.c126 cmd->cdw10 = htole32(num_ranges - 1); in nvme_ns_cmd_deallocate()
H A Dnvme_ctrlr.c1293 req->cmd.cdw10 = pt->cmd.cdw10; in nvme_ctrlr_passthrough_cmd()
1385 req->cmd.cdw10 = htole32(npc->cdw10); in nvme_ctrlr_linux_passthru_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()
H A Dnvme.h838 uint32_t cdw10; /* command-specific */ member
2029 cmd->cdw10 = htole32(lba & 0xffffffffu); in nvme_ns_rw_cmd()
2054 cmd->cdw10 = htole32(num_ranges - 1); in nvme_ns_trim_cmd()
/freebsd/sbin/nvmecontrol/tests/
H A Dbasic.sh97 …atf_check -o not-empty -e empty nvmecontrol admin-passthru --opcode=06 --data-len=4096 --cdw10=1 -…
99 … empty -e not-empty nvmecontrol admin-passthru --opcode=06 --data-len=4096 --cdw10=1 -r ${TEST_DEV}
101 …PT_MSG}" nvmecontrol admin-passthru ${INV_OPT} --opcode=06 --data-len=4096 --cdw10=1 -r ${TEST_DEV}
145 …atf_check -o not-empty -e empty nvmecontrol io-passthru --opcode=02 --data-len=4096 --cdw10=0 --cd…
147 … empty -e not-empty nvmecontrol io-passthru --opcode=02 --data-len=4096 --cdw10=0 --cdw11=0 --cdw1…
149 …PT_MSG}" nvmecontrol io-passthru ${INV_OPT} --opcode=02 --data-len=4096 --cdw10=0 --cdw11=0 --cdw1…
/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
71 nvmeio->cmd.cdw10 = htole32(cdw10); 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.c54 uint32_t cdw10; member
70 .cdw10 = 0,
108 ARG("cdw10", '4', arg_uint32, opt, cdw10,
211 fprintf(stderr, "cdw10 : %#08x\n", opt.cdw10); in passthru()
232 pt.cmd.cdw10 = htole32(opt.cdw10); in passthru()
H A Dns.c425 pt.cmd.cdw10 = htole32(0x02); in nsactive()
470 pt.cmd.cdw10 = htole32(0x10); in nsallocated()
514 pt.cmd.cdw10 = htole32(0x13); in nscontrollers()
614 pt.cmd.cdw10 = htole32(0); /* create */ in nscreate()
664 pt.cmd.cdw10 = htole32(1); /* delete */ in nsdelete()
731 pt.cmd.cdw10 = htole32(0x13); in nsattach()
750 pt.cmd.cdw10 = htole32(0); /* attach */ in nsattach()
802 pt.cmd.cdw10 = htole32(0x12); in nsdetach()
827 pt.cmd.cdw10 = htole32(1); /* detach */ in nsdetach()
877 pt.cmd.cdw10 in nsattached()
[all...]
H A Dnvmecontrol.c105 pt.cmd.cdw10 = htole32(1); in read_controller_data()
129 pt.cmd.cdw10 = htole32(0); in read_namespace_data()
153 pt.cmd.cdw10 = htole32(2); in read_active_namespaces()
H A Dresv.c256 pt.cmd.cdw10 = htole32((acquire_opt.racqa & 7) | in resvacquire()
295 pt.cmd.cdw10 = htole32((register_opt.rrega & 7) | in resvregister()
333 pt.cmd.cdw10 = htole32((release_opt.rrela & 7) | in resvrelease()
373 pt.cmd.cdw10 = htole32(sizeof(data) / 4 - 1); in resvreport()
H A Dpower.c108 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT | p); in power_set()
125 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT); in power_show()
H A Dfirmware.c182 pt.cmd.cdw10 = htole32((size / sizeof(uint32_t)) - 1); in update_firmware()
208 pt.cmd.cdw10 = htole32((activate_action << 3) | slot); in activate_firmware()
H A Dselftest.c63 pt.cmd.cdw10 = htole32(stc); in selftest_op()
H A Dsanitize.c176 pt.cmd.cdw10 = htole32((opt.ndas << 9) | (opt.oipbp << 8) | in sanitize()
H A Dformat.c205 pt.cmd.cdw10 = htole32((ses << 9) + (pil << 8) + (pi << 5) + in format()
/freebsd/usr.sbin/bhyve/
H A Dpci_nvme.c1210 uint16_t qid = command->cdw10 & 0xffff; in nvme_opc_delete_io_sq()
1233 uint16_t qid = command->cdw10 & 0xffff; in nvme_opc_create_io_sq()
1247 nsq->size = ONE_BASED((command->cdw10 >> 16) & 0xffff); in nvme_opc_create_io_sq()
1306 uint16_t qid = command->cdw10 & 0xffff; in nvme_opc_delete_io_cq()
1338 uint16_t qid = command->cdw10 & 0xffff; in nvme_opc_create_io_cq()
1370 ncq->size = ONE_BASED((command->cdw10 >> 16) & 0xffff); in nvme_opc_create_io_cq()
1407 logpage = command->cdw10 & 0xFF; in nvme_opc_get_log_page()
1408 logsize = ((command->cdw11 << 16) | (command->cdw10 >> 16)) + 1; in nvme_opc_get_log_page()
1494 command->cdw10 & 0xFF, command->nsid); in nvme_opc_identify()
1499 switch (command->cdw10 & 0xFF) { in nvme_opc_identify()
[all …]
/freebsd/lib/libnvmf/
H A Dnvmf_host.c502 cmd.cdw10 = htole32(1); in nvmf_host_identify_controller()
551 cmd.cdw10 = htole32(0); in nvmf_host_identify_namespace()
601 cmd.cdw10 = htole32(numd << 16 | NVME_LOG_DISCOVERY); in nvmf_get_discovery_log_page()
749 cmd.cdw10 = htole32(NVME_FEAT_NUMBER_OF_QUEUES); in nvmf_host_request_queues()
H A Dnvmf_controller.c438 return (le32toh(cmd->cdw10) & 0xff); in nvmf_get_log_page_id()
447 numd = le32toh(cmd->cdw10) >> 16 | (le32toh(cmd->cdw11) & 0xffff) << 16; in nvmf_get_log_page_length()
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_controller.c547 lid = le32toh(cmd->cdw10) & 0xff; in handle_get_log_page()
548 rae = (le32toh(cmd->cdw10) & (1U << 15)) != 0; in handle_get_log_page()
549 numd = le32toh(cmd->cdw10) >> 16 | le32toh(cmd->cdw11) << 16; in handle_get_log_page()
666 cns = le32toh(cmd->cdw10) & 0xFF; in handle_identify_command()
733 fid = NVMEV(NVME_FEAT_SET_FID, le32toh(cmd->cdw10)); in handle_set_features()
/freebsd/usr.sbin/nvmfd/
H A Dcontroller.c155 cns = le32toh(cmd->cdw10) & 0xFF; in handle_identify_command()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_aer.c216 cmd.cdw10 = htole32(NVME_FEAT_ASYNC_EVENT_CONFIGURATION); in nvmf_set_async_event_config()
/freebsd/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c142 pt.cmd.cdw10 = htole32(len / sizeof(uint32_t)); in wdc_get_data()
235 pt.cmd.cdw10 = htole32((len / sizeof(uint32_t)) - 1) ; in wdc_get_data_dui()

12