Lines Matching refs:csts
1357 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts)
1362 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO);
1376 if (!(csts & NVME_CSTS_CFS) && !nssro)
1382 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts)
1393 csts, pci_status);
1397 csts, result);
1399 if (csts != ~0)
1416 u32 csts = readl(dev->bar + NVME_REG_CSTS);
1442 if (nvme_should_reset(dev, csts)) {
1443 nvme_warn_reset(dev, csts);
2775 u32 csts;
2782 csts = readl(dev->bar + NVME_REG_CSTS);
2783 return (csts & NVME_CSTS_CFS) || !(csts & NVME_CSTS_RDY);