Home
last modified time | relevance | path

Searched refs:csts (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/gma500/
Dopregion.c58 u32 csts; /* notification status */ member
250 acpi->csts = 0; in psb_intel_opregion_video_event()
271 opregion->acpi->csts = 0; in psb_intel_opregion_init()
/Linux-v4.19/drivers/nvme/target/
Dcore.c772 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
776 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl()
792 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl()
810 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
813 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
876 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_check_ctrl_status()
1091 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error()
1092 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
Ddiscovery.c190 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_discovery_cmd()
Dfabrics-cmd.c64 val = ctrl->csts; in nvmet_execute_prop_get()
Dnvmet.h160 u32 csts; member
/Linux-v4.19/drivers/nvme/host/
Dpci.c1082 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument
1088 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset()
1102 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset()
1108 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts) in nvme_warn_reset() argument
1119 csts, pci_status); in nvme_warn_reset()
1123 csts, result); in nvme_warn_reset()
1133 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local
1145 if (nvme_should_reset(dev, csts)) { in nvme_timeout()
1146 nvme_warn_reset(dev, csts); in nvme_timeout()
2149 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_dev_disable() local
[all …]
Dcore.c1725 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local
1728 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
1729 if (csts == ~0) in nvme_wait_ready()
1731 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready()
1807 u32 csts; in nvme_shutdown_ctrl() local
1817 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl()
1818 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl()
3355 u32 csts; in nvme_ctrl_pp_status() local
3357 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
3360 if (csts == ~0) in nvme_ctrl_pp_status()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_opregion.c72 u32 csts; /* notification status */ member
633 acpi->csts = 0; in intel_opregion_video_event()
790 opregion->acpi->csts = 0; in intel_opregion_register()