Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dpr.c95 static int __nvme_send_pr_command(struct block_device *bdev, u32 cdw10, in __nvme_send_pr_command() argument
101 c.common.cdw10 = cpu_to_le32(cdw10); in __nvme_send_pr_command()
110 static int nvme_send_pr_command(struct block_device *bdev, u32 cdw10, u32 cdw11, in nvme_send_pr_command() argument
115 ret = __nvme_send_pr_command(bdev, cdw10, cdw11, op, data, data_len); in nvme_send_pr_command()
123 u32 cdw10; in nvme_pr_register() local
132 cdw10 = NVME_PR_REGISTER_ACT_UNREG; in nvme_pr_register()
134 cdw10 = NVME_PR_REGISTER_ACT_REPLACE; in nvme_pr_register()
136 cdw10 = NVME_PR_REGISTER_ACT_REG; in nvme_pr_register()
137 cdw10 | in nvme_pr_register()
144 u32 cdw10; nvme_pr_reserve() local
163 u32 cdw10; nvme_pr_preempt() local
179 u32 cdw10; nvme_pr_clear() local
193 u32 cdw10; nvme_pr_release() local
208 u32 cdw10, cdw11; nvme_pr_resv_report() local
[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.c339 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd()
386 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd64()
511 c.common.cdw10 = cpu_to_le32(READ_ONCE(cmd->cdw10)); in nvme_uring_cmd_io()
H A Dcore.c383 "cdw10=0x%x cdw11=0x%x cdw12=0x%x cdw13=0x%x cdw14=0x%x cdw15=0x%x\n", in nvme_log_err_passthru()
393 le32_to_cpu(nr->cmd->common.cdw10), in nvme_log_err_passthru()
1306 switch (le32_to_cpu(cmd->common.cdw10) & 0xFF) { in nvme_passthru_end()
2694 cmd.common.cdw10 = cpu_to_le32(((u32)secp) << 24 | ((u32)spsp) << 8); in nvme_configure_opal()
H A Dfc.c2561 sqe->common.cdw10, sqe->common.cdw11); in nvme_fc_timeout()
/linux/drivers/nvme/target/
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 Dpr.c16 static inline bool nvmet_pr_parse_ignore_key(u32 cdw10) in nvmet_pr_parse_ignore_key() argument
19 return (cdw10 >> 3) & 1; in nvmet_pr_parse_ignore_key()
410 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_pr_register()
411 bool ignore_key = nvmet_pr_parse_ignore_key(cdw10); in nvmet_execute_pr_register()
413 u8 reg_act = cdw10 & 0x07; /* Reservation Register Action, bit 02:00 */ in nvmet_execute_pr_register()
437 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_pr_register()
666 req->error_loc = offsetof(struct nvme_common_command, cdw10); in __nvmet_execute_pr_acquire()
679 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_pr_acquire()
404 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); nvmet_execute_pr_register() local
673 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); nvmet_execute_pr_acquire() local
788 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); nvmet_execute_pr_release() local
833 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); nvmet_execute_pr_report() local
[all...]
H A Dadmin-cmd.c155 static u32 nvmet_feat_data_len(struct nvmet_req *req, u32 cdw10) in nvmet_feat_data_len() argument
157 switch (cdw10 & 0xff) { in nvmet_feat_data_len()
1337 req->error_loc = offsetof(struct nvme_common_command, cdw10);
1358 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
1377 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
1387 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_set_features()
1396 switch (cdw10 & 0xff) { in nvmet_get_feat_write_protect()
1432 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_get_feat_irq_coalesce()
1471 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_get_feat_arbitration()
1341 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); nvmet_execute_set_features() local
1500 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); nvmet_execute_get_features() local
[all...]
H A Dnvmet.h553 int rae = le32_to_cpu(req->cmd->common.cdw10) & 1 << 15;
/linux/include/uapi/linux/
H A Dnvme_ioctl.h38 __u32 cdw10; member
62 __u32 cdw10; member
85 __u32 cdw10; member
/linux/include/linux/
H A Dnvme.h1091 __le32 cdw10;
1558 __le32 cdw10; member