Lines Matching refs:cdw10
1133 switch (le32_to_cpu(cmd->common.cdw10) & 0xFF) { in nvme_passthru_end()
2106 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument
2116 c.common.cdw10 = cpu_to_le32(cdw10); in nvme_pr_command()
2127 u32 cdw10; in nvme_pr_register() local
2132 cdw10 = old ? 2 : 0; in nvme_pr_register()
2133 cdw10 |= (flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0; in nvme_pr_register()
2134 cdw10 |= (1 << 30) | (1 << 31); /* PTPL=1 */ in nvme_pr_register()
2135 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register()
2141 u32 cdw10; in nvme_pr_reserve() local
2146 cdw10 = nvme_pr_type(type) << 8; in nvme_pr_reserve()
2147 cdw10 |= ((flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0); in nvme_pr_reserve()
2148 return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_acquire); in nvme_pr_reserve()
2154 u32 cdw10 = nvme_pr_type(type) << 8 | (abort ? 2 : 1); in nvme_pr_preempt() local
2156 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_acquire); in nvme_pr_preempt()
2161 u32 cdw10 = 1 | (key ? 0 : 1 << 3); in nvme_pr_clear() local
2163 return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_release); in nvme_pr_clear()
2168 u32 cdw10 = nvme_pr_type(type) << 8 | (key ? 0 : 1 << 3); in nvme_pr_release() local
2170 return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_release); in nvme_pr_release()
2193 cmd.common.cdw10 = cpu_to_le32(((u32)secp) << 24 | ((u32)spsp) << 8); in nvme_sec_submit()