Home
last modified time | relevance | path

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

/drivers/nvme/host/
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 …]
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.cdw10,
73 sizeof(__entry->cdw10));
82 __entry->fctype, __entry->cdw10))
Dioctl.c214 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd()
260 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd64()
Dcore.c1207 switch (le32_to_cpu(cmd->common.cdw10) & 0xFF) { in nvme_passthru_end()
2051 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument
2061 c.common.cdw10 = cpu_to_le32(cdw10); in nvme_pr_command()
2072 u32 cdw10; in nvme_pr_register() local
2077 cdw10 = old ? 2 : 0; in nvme_pr_register()
2078 cdw10 |= (flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0; in nvme_pr_register()
2079 cdw10 |= (1 << 30) | (1 << 31); /* PTPL=1 */ in nvme_pr_register()
2080 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register()
2086 u32 cdw10; in nvme_pr_reserve() local
2091 cdw10 = nvme_pr_type(type) << 8; in nvme_pr_reserve()
[all …]
Dfc.c2558 sqe->connect.fctype, sqe->common.cdw10, sqe->common.cdw11); in nvme_fc_timeout()
/drivers/nvme/target/
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 …]
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)))
74 __array(u8, cdw10, 24)
87 memcpy(__entry->cdw10, &cmd->common.cdw10,
88 sizeof(__entry->cdw10));
99 __entry->fctype, __entry->cdw10))
Ddiscovery.c299 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_set_features() local
305 switch (cdw10 & 0xff) { in nvmet_execute_disc_set_features()
315 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_set_features()
325 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_get_features() local
331 switch (cdw10 & 0xff) { in nvmet_execute_disc_get_features()
340 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_get_features()
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()
829 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_set_features() local
838 switch (cdw10 & 0xff) { in nvmet_execute_set_features()
862 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
903 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_get_features() local
906 if (!nvmet_check_transfer_len(req, nvmet_feat_data_len(req, cdw10))) in nvmet_execute_get_features()
909 switch (cdw10 & 0xff) { in nvmet_execute_get_features()
961 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_get_features()
Dnvmet.h394 int rae = le32_to_cpu(req->cmd->common.cdw10) & 1 << 15; in nvmet_clear_aen_bit()