Home
last modified time | relevance | path

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

/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()
/drivers/nvme/target/
Dcore.c573 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
577 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl()
585 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl()
603 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
606 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
856 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error()
857 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
Ddiscovery.c168 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()
Dio-cmd.c186 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_io_cmd()
Dnvmet.h115 u32 csts; member
Dadmin-cmd.c491 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_admin_cmd()
/drivers/nvme/host/
Dpci.c1257 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument
1263 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset()
1272 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset()
1287 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_watchdog_timer() local
1290 if (nvme_should_reset(dev, csts)) { in nvme_watchdog_timer()
1294 csts); in nvme_watchdog_timer()
1675 u32 csts = -1; in nvme_dev_disable() local
1682 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_dev_disable()
1689 if (csts & NVME_CSTS_CFS || !(csts & NVME_CSTS_RDY)) { in nvme_dev_disable()
Dcore.c1085 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local
1088 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
1089 if (csts == ~0) in nvme_wait_ready()
1091 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready()
1167 u32 csts; in nvme_shutdown_ctrl() local
1177 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl()
1178 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl()
/drivers/gpu/drm/i915/
Dintel_opregion.c69 u32 csts; /* notification status */ member
630 acpi->csts = 0; in intel_opregion_video_event()
834 opregion->acpi->csts = 0; in intel_opregion_register()