Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/host/
H A Dtrace.c10 static const char *nvme_trace_delete_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_sq() argument
13 u16 sqid = get_unaligned_le16(cdw10); in nvme_trace_delete_sq()
21 static const char *nvme_trace_create_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_sq() argument
24 u16 sqid = get_unaligned_le16(cdw10); in nvme_trace_create_sq()
25 u16 qsize = get_unaligned_le16(cdw10 + 2); in nvme_trace_create_sq()
26 u16 sq_flags = get_unaligned_le16(cdw10 + 4); in nvme_trace_create_sq()
27 u16 cqid = get_unaligned_le16(cdw10 + 6); in nvme_trace_create_sq()
37 static const char *nvme_trace_delete_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_cq() argument
40 u16 cqid = get_unaligned_le16(cdw10); in nvme_trace_delete_cq()
48 static const char *nvme_trace_create_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_cq() argument
[all …]
H A Dpr.c108 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument
119 c.common.cdw10 = cpu_to_le32(cdw10); in nvme_pr_command()
131 u32 cdw10; in nvme_pr_register() local
136 cdw10 = old ? 2 : 0; in nvme_pr_register()
137 cdw10 |= (flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0; in nvme_pr_register()
138 cdw10 |= (1 << 30) | (1 << 31); /* PTPL=1 */ in nvme_pr_register()
139 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register()
145 u32 cdw10; in nvme_pr_reserve() local
150 cdw10 = nvme_pr_type_from_blk(type) << 8; in nvme_pr_reserve()
151 cdw10 |= ((flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0); in nvme_pr_reserve()
[all …]
H A Dtrace.h20 u8 *cdw10);
22 u8 *cdw10);
26 #define parse_nvme_cmd(qid, opcode, fctype, cdw10) \ argument
28 nvme_trace_parse_fabrics_cmd(p, fctype, cdw10) : \
30 nvme_trace_parse_nvm_cmd(p, opcode, cdw10) : \
31 nvme_trace_parse_admin_cmd(p, opcode, cdw10)))
60 __array(u8, cdw10, 24)
72 memcpy(__entry->cdw10, &cmd->common.cdws,
73 sizeof(__entry->cdw10));
82 __entry->fctype, __entry->cdw10))
H A Dioctl.c371 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd()
418 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd64()
594 c.common.cdw10 = cpu_to_le32(READ_ONCE(cmd->cdw10)); in nvme_uring_cmd_io()
H A Dcore.c1134 switch (le32_to_cpu(cmd->common.cdw10) & 0xFF) { in nvme_passthru_end()
2122 cmd.common.cdw10 = cpu_to_le32(((u32)secp) << 24 | ((u32)spsp) << 8); in nvme_sec_submit()
H A Dfc.c2581 sqe->connect.fctype, sqe->common.cdw10, sqe->common.cdw11); in nvme_fc_timeout()
/openbmc/linux/drivers/nvme/target/
H A Dtrace.c10 static const char *nvmet_trace_admin_identify(struct trace_seq *p, u8 *cdw10) in nvmet_trace_admin_identify() argument
13 u8 cns = cdw10[0]; in nvmet_trace_admin_identify()
14 u16 ctrlid = get_unaligned_le16(cdw10 + 2); in nvmet_trace_admin_identify()
23 u8 *cdw10) in nvmet_trace_admin_get_features() argument
26 u8 fid = cdw10[0]; in nvmet_trace_admin_get_features()
27 u8 sel = cdw10[1] & 0x7; in nvmet_trace_admin_get_features()
28 u32 cdw11 = get_unaligned_le32(cdw10 + 4); in nvmet_trace_admin_get_features()
37 u8 *cdw10) in nvmet_trace_get_lba_status() argument
40 u64 slba = get_unaligned_le64(cdw10); in nvmet_trace_get_lba_status()
41 u32 mndw = get_unaligned_le32(cdw10 + 8); in nvmet_trace_get_lba_status()
[all …]
H A Dtrace.h22 u8 *cdw10);
24 u8 *cdw10);
28 #define parse_nvme_cmd(qid, opcode, fctype, cdw10) \ argument
30 nvmet_trace_parse_fabrics_cmd(p, fctype, cdw10) : \
32 nvmet_trace_parse_nvm_cmd(p, opcode, cdw10) : \
33 nvmet_trace_parse_admin_cmd(p, opcode, cdw10)))
80 __array(u8, cdw10, 24)
93 memcpy(__entry->cdw10, &cmd->common.cdws,
94 sizeof(__entry->cdw10));
105 __entry->fctype, __entry->cdw10))
H A Ddiscovery.c306 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_set_features() local
312 switch (cdw10 & 0xff) { in nvmet_execute_disc_set_features()
322 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_set_features()
332 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_get_features() local
338 switch (cdw10 & 0xff) { in nvmet_execute_disc_get_features()
347 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_get_features()
H A Dadmin-cmd.c28 static u32 nvmet_feat_data_len(struct nvmet_req *req, u32 cdw10) in nvmet_feat_data_len() argument
30 switch (cdw10 & 0xff) { in nvmet_feat_data_len()
822 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_set_features() local
831 switch (cdw10 & 0xff) { in nvmet_execute_set_features()
855 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
896 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_get_features() local
899 if (!nvmet_check_transfer_len(req, nvmet_feat_data_len(req, cdw10))) in nvmet_execute_get_features()
902 switch (cdw10 & 0xff) { in nvmet_execute_get_features()
954 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_get_features()
H A Dnvmet.h427 int rae = le32_to_cpu(req->cmd->common.cdw10) & 1 << 15; in nvmet_clear_aen_bit()
/openbmc/linux/include/uapi/linux/
H A Dnvme_ioctl.h38 __u32 cdw10; member
62 __u32 cdw10; member
85 __u32 cdw10; member
/openbmc/qemu/linux-headers/linux/
H A Dnvme_ioctl.h38 __u32 cdw10; member
62 __u32 cdw10; member
85 __u32 cdw10; member
/openbmc/qemu/block/
H A Dnvme.c553 .cdw10 = cpu_to_le32(0x1), in nvme_identify()
591 cmd.cdw10 = 0; in nvme_identify()
686 .cdw10 = cpu_to_le32(((queue_size - 1) << 16) | n), in nvme_add_io_queue()
696 .cdw10 = cpu_to_le32(((queue_size - 1) << 16) | n), in nvme_add_io_queue()
940 .cdw10 = cpu_to_le32(0x06), in nvme_enable_disable_write_cache()
1199 .cdw10 = cpu_to_le32((offset >> s->blkshift) & 0xFFFFFFFF), in nvme_co_prw_aligned()
1365 .cdw10 = cpu_to_le32((offset >> s->blkshift) & 0xFFFFFFFF), in nvme_co_pwrite_zeroes()
1415 .cdw10 = cpu_to_le32(0), /*number of ranges - 0 based*/ in nvme_co_pdiscard()
/openbmc/u-boot/drivers/nvme/
H A Dnvme.h235 __le32 cdw10[6]; member
448 __le32 cdw10; member
/openbmc/qemu/hw/nvme/
H A Dctrl.c3873 uint32_t dw10 = le32_to_cpu(c->cdw10); in nvme_get_mgmt_zone_slba_idx()
4540 uint32_t cdw10 = le32_to_cpu(cmd->cdw10); in nvme_io_mgmt_recv() local
4542 uint8_t mo = (cdw10 & 0xff); in nvme_io_mgmt_recv()
4559 uint32_t cdw10 = le32_to_cpu(cmd->cdw10); in nvme_io_mgmt_send_ruh_update() local
4561 uint32_t npid = (cdw10 >> 16) + 1; in nvme_io_mgmt_send_ruh_update()
4595 uint32_t cdw10 = le32_to_cpu(cmd->cdw10); in nvme_io_mgmt_send() local
4596 uint8_t mo = (cdw10 & 0xff); in nvme_io_mgmt_send()
5307 bool host_events = (cmd->cdw10 >> 8) & 0x1; in nvme_fdp_events()
5359 uint32_t dw10 = le32_to_cpu(cmd->cdw10); in nvme_get_log()
6022 uint16_t sqid = le32_to_cpu(req->cmd.cdw10) & 0xffff; in nvme_abort()
[all …]
/openbmc/linux/include/linux/
H A Dnvme.h954 __le32 cdw10;
1364 __le32 cdw10; member
/openbmc/qemu/include/block/
H A Dnvme.h593 uint32_t cdw10; member
/openbmc/qemu/qga/
H A Dcommands-linux.c917 .cdw10 = NVME_LOG_SMART_INFO | (1 << 15) /* RAE bit */ in get_nvme_smart()