Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/nvme/target/
Dcore.c1032 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
1036 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl()
1052 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl()
1070 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
1073 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
1136 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_check_ctrl_status()
1353 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error()
1354 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
Dfabrics-cmd.c59 val = ctrl->csts; in nvmet_execute_prop_get()
Ddiscovery.c320 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_discovery_cmd()
Dnvmet.h169 u32 csts; member
/Linux-v5.4/drivers/dma/
Dtegra210-adma.c445 u32 csts; in tegra_adma_is_paused() local
447 csts = tdma_ch_read(tdc, ADMA_CH_STATUS); in tegra_adma_is_paused()
448 csts &= ADMA_CH_STATUS_XFER_PAUSED; in tegra_adma_is_paused()
450 return csts ? true : false; in tegra_adma_is_paused()
/Linux-v5.4/drivers/nvme/host/
Dpci.c1197 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument
1203 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset()
1217 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset()
1223 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts) in nvme_warn_reset() argument
1234 csts, pci_status); in nvme_warn_reset()
1238 csts, result); in nvme_warn_reset()
1248 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local
1260 if (nvme_should_reset(dev, csts)) { in nvme_timeout()
1261 nvme_warn_reset(dev, csts); in nvme_timeout()
2421 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_dev_disable() local
[all …]
Dcore.c2056 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local
2059 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
2060 if (csts == ~0) in nvme_wait_ready()
2062 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready()
2145 u32 csts; in nvme_shutdown_ctrl() local
2155 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl()
2156 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl()
3839 u32 csts; in nvme_ctrl_pp_status() local
3841 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
3844 if (csts == ~0) in nvme_ctrl_pp_status()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_opregion.c78 u32 csts; /* notification status */ member
640 acpi->csts = 0; in intel_opregion_video_event()
1116 opregion->acpi->csts = 0; in intel_opregion_resume()