Home
last modified time | relevance | path

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

/freebsd-14.2/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()
267 cmd->cdw10 = ((payload_size/sizeof(uint32_t)) - 1) << 16; in nvme_ctrlr_cmd_get_log_page()
268 cmd->cdw10 |= log_page; in nvme_ctrlr_cmd_get_log_page()
269 cmd->cdw10 = htole32(cmd->cdw10); in nvme_ctrlr_cmd_get_log_page()
[all …]
H A Dnvme_ns_cmd.c131 cmd->cdw10 = htole32(num_ranges - 1); in nvme_ns_cmd_deallocate()
H A Dnvme_qpair.c130 le32toh(cmd->nsid), le32toh(cmd->cdw10), le32toh(cmd->cdw11)); in nvme_admin_qpair_print_command()
148 ((unsigned long long)le32toh(cmd->cdw11) << 32) + le32toh(cmd->cdw10), in nvme_io_qpair_print_command()
182 cmd->cdw10, cmd->cdw11, cmd->cdw12, cmd->cdw13, cmd->cdw14, in nvme_qpair_print_command()
H A Dnvme.h806 uint32_t cdw10; /* command-specific */ member
1967 cmd->cdw10 = htole32(lba & 0xffffffffu); in nvme_ns_rw_cmd()
1992 cmd->cdw10 = htole32(num_ranges - 1); in nvme_ns_trim_cmd()
H A Dnvme_ctrlr.c1309 req->cmd.cdw10 = pt->cmd.cdw10; in nvme_ctrlr_passthrough_cmd()
/freebsd-14.2/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 …mpty -e not-empty nvmecontrol admin-passthru --opcode=06 --data-len=4096 --cdw10=1 -r 0 ${TEST_DEV}
101 …_MSG}" nvmecontrol admin-passthru ${INV_OPT} --opcode=06 --data-len=4096 --cdw10=1 -r 0 ${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-14.2/sys/cam/nvme/
H A Dnvme_all.c66 uint32_t cdw10, uint32_t cdw11, uint32_t cdw12, uint32_t cdw13, in nvme_ns_cmd() argument
72 nvmeio->cmd.cdw10 = htole32(cdw10); in nvme_ns_cmd()
186 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-14.2/sbin/nvmecontrol/
H A Dpassthru.c55 uint32_t cdw10; member
71 .cdw10 = 0,
109 ARG("cdw10", '4', arg_uint32, opt, cdw10,
212 fprintf(stderr, "cdw10 : %#08x\n", opt.cdw10); in passthru()
233 pt.cmd.cdw10 = htole32(opt.cdw10); in passthru()
H A Dns.c426 pt.cmd.cdw10 = htole32(0x02); in nsactive()
471 pt.cmd.cdw10 = htole32(0x10); in nsallocated()
515 pt.cmd.cdw10 = htole32(0x13); in nscontrollers()
615 pt.cmd.cdw10 = htole32(0); /* create */ in nscreate()
665 pt.cmd.cdw10 = htole32(1); /* delete */ in nsdelete()
732 pt.cmd.cdw10 = htole32(0x13); in nsattach()
751 pt.cmd.cdw10 = htole32(0); /* attach */ in nsattach()
803 pt.cmd.cdw10 = htole32(0x12); in nsdetach()
828 pt.cmd.cdw10 = htole32(1); /* detach */ in nsdetach()
878 pt.cmd.cdw10 = htole32(0x12); in nsattached()
[all …]
H A Dnvmecontrol.c106 pt.cmd.cdw10 = htole32(1); in read_controller_data()
130 pt.cmd.cdw10 = htole32(0); in read_namespace_data()
H A Dresv.c257 pt.cmd.cdw10 = htole32((acquire_opt.racqa & 7) | in resvacquire()
296 pt.cmd.cdw10 = htole32((register_opt.rrega & 7) | in resvregister()
334 pt.cmd.cdw10 = htole32((release_opt.rrela & 7) | in resvrelease()
374 pt.cmd.cdw10 = htole32(sizeof(data) / 4 - 1); in resvreport()
H A Dpower.c109 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT | p); in power_set()
126 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT); in power_show()
H A Dfirmware.c183 pt.cmd.cdw10 = htole32((size / sizeof(uint32_t)) - 1); in update_firmware()
209 pt.cmd.cdw10 = htole32((activate_action << 3) | slot); in activate_firmware()
H A Dselftest.c64 pt.cmd.cdw10 = htole32(stc); in selftest_op()
H A Dsanitize.c174 pt.cmd.cdw10 = htole32((opt.ndas << 9) | (opt.oipbp << 8) | in sanitize()
H A Dformat.c206 pt.cmd.cdw10 = htole32((ses << 9) + (pil << 8) + (pi << 5) + in format()
H A Dlogpage.c204 pt.cmd.cdw10 = htole32( in read_logpage()
/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_nvme.c1210 uint16_t qid = command->cdw10 & 0xffff; in nvme_opc_delete_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()
1407 logpage = command->cdw10 & 0xFF; in nvme_opc_get_log_page()
1499 switch (command->cdw10 & 0xFF) { in nvme_opc_identify()
1880 uint8_t fid = command->cdw10 & 0xFF; in nvme_opc_get_features()
1916 ses = (command->cdw10 >> 9) & 0x7; in nvme_opc_format_nvm()
1923 lbaf = command->cdw10 & 0xf; in nvme_opc_format_nvm()
1931 pi = (command->cdw10 >> 5) & 0x7; in nvme_opc_format_nvm()
1980 command->cdw10 & 0xFFFF, (command->cdw10 >> 16) & 0xFFFF); in nvme_opc_abort()
[all …]
/freebsd-14.2/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c143 pt.cmd.cdw10 = htole32(len / sizeof(uint32_t)); in wdc_get_data()
236 pt.cmd.cdw10 = htole32((len / sizeof(uint32_t)) - 1) ; in wdc_get_data_dui()
/freebsd-14.2/usr.sbin/camdd/
H A Dcamdd.c1401 nc->cdw10 = 0; /* Identify Namespace is CNS = 0 */ in camdd_probe_pass_nvme()
1660 nc->cdw10 = lba & UINT32_MAX; in nvme_read_write()
/freebsd-14.2/sys/dev/mpr/
H A Dmpr_sas.c1802 c->cdw10 = htole32(ndesc - 1); in mprsas_build_nvme_unmap()