Home
last modified time | relevance | path

Searched refs:cdw11 (Results 1 – 25 of 27) 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()
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 Dnvme_linux.h29 __uint32_t cdw11; member
H A Dnvme_ctrlr.c1052 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 Dnvme_ns_cmd.c127 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvme_ns_cmd_deallocate()
H A Dnvme.h838 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 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.c178 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
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 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.c542 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 Dnvmf_aer.c217 cmd.cdw11 = htole32(config); in nvmf_set_async_event_config()
H A Dnvmf.c974 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.c447 numd = le32toh(cmd->cdw10) >> 16 | (le32toh(cmd->cdw11) & 0xffff) << 16; in nvmf_get_log_page_length()
/freebsd/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c145 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t)); in wdc_get_data()
/freebsd/sys/cam/
H A Dcam_periph.c2203 cmd->cdw11, cmd->cdw12, cmd->cdw13, cmd->cdw14, cmd->cdw15); in cam_periph_devctl_notify()
/freebsd/usr.sbin/camdd/
H A Dcamdd.c1661 nc->cdw11 = lba >> 32; in nvme_read_write()

12