Lines Matching refs:cdw10
1177 switch (le32_to_cpu(cmd->common.cdw10) & 0xFF) { in nvme_passthru_end()
1988 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument
1998 c.common.cdw10 = cpu_to_le32(cdw10); in nvme_pr_command()
2009 u32 cdw10; in nvme_pr_register() local
2014 cdw10 = old ? 2 : 0; in nvme_pr_register()
2015 cdw10 |= (flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0; in nvme_pr_register()
2016 cdw10 |= (1 << 30) | (1 << 31); /* PTPL=1 */ in nvme_pr_register()
2017 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register()
2023 u32 cdw10; in nvme_pr_reserve() local
2028 cdw10 = nvme_pr_type(type) << 8; in nvme_pr_reserve()
2029 cdw10 |= ((flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0); in nvme_pr_reserve()
2030 return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_acquire); in nvme_pr_reserve()
2036 u32 cdw10 = nvme_pr_type(type) << 8 | (abort ? 2 : 1); in nvme_pr_preempt() local
2038 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_acquire); in nvme_pr_preempt()
2043 u32 cdw10 = 1 | (key ? 1 << 3 : 0); in nvme_pr_clear() local
2045 return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_register); in nvme_pr_clear()
2050 u32 cdw10 = nvme_pr_type(type) << 8 | (key ? 1 << 3 : 0); in nvme_pr_release() local
2052 return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_release); in nvme_pr_release()
2075 cmd.common.cdw10 = cpu_to_le32(((u32)secp) << 24 | ((u32)spsp) << 8); in nvme_sec_submit()