Searched refs:csts (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/fungible/funcore/ |
D | fun_dev.c | 53 u32 csts = readl(fdev->bar + NVME_REG_CSTS); in fun_wait_ready() local 55 if (csts == ~0) { in fun_wait_ready() 56 dev_err(fdev->dev, "CSTS register read %#x\n", csts); in fun_wait_ready() 60 if ((csts & NVME_CSTS_RDY) == bit) in fun_wait_ready() 80 u32 csts = readl(fdev->bar + NVME_REG_CSTS); in fun_check_csts_rdy() local 81 u32 actual_rdy = csts & NVME_CSTS_RDY; in fun_check_csts_rdy() 83 if (csts == ~0) { in fun_check_csts_rdy() 84 dev_err(fdev->dev, "CSTS register read %#x\n", csts); in fun_check_csts_rdy() 333 u32 csts = readl(fdev->bar + NVME_REG_CSTS); in fun_adminq_stopped() local 335 return (csts & (NVME_CSTS_CFS | NVME_CSTS_RDY)) != NVME_CSTS_RDY; in fun_adminq_stopped()
|
/drivers/gpu/drm/gma500/ |
D | opregion.c | 59 u32 csts; /* notification status */ member 247 acpi->csts = 0; in psb_intel_opregion_video_event() 268 opregion->acpi->csts = 0; in psb_intel_opregion_init()
|
/drivers/nvme/target/ |
D | core.c | 1162 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl() 1169 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl() 1173 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl() 1190 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl() 1208 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc() 1211 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc() 1283 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_check_ctrl_status() 1509 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error() 1510 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
|
D | discovery.c | 359 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_discovery_cmd()
|
D | fabrics-cmd.c | 65 val = ctrl->csts; in nvmet_execute_prop_get()
|
D | nvmet.h | 189 u32 csts; member
|
/drivers/nvme/host/ |
D | pci.c | 1276 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument 1281 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset() 1295 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset() 1301 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts) in nvme_warn_reset() argument 1312 csts, pci_status); in nvme_warn_reset() 1316 csts, result); in nvme_warn_reset() 1318 if (csts != ~0) in nvme_warn_reset() 1334 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local 1346 if (nvme_should_reset(dev, csts)) { in nvme_timeout() 1347 nvme_warn_reset(dev, csts); in nvme_timeout() [all …]
|
D | apple.c | 800 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_disable() local 806 if (!(csts & NVME_CSTS_RDY)) in apple_nvme_disable() 808 if (csts & NVME_CSTS_CFS) in apple_nvme_disable() 868 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_timeout() local 898 if (!apple_rtkit_is_crashed(anv->rtk) && !(csts & NVME_CSTS_CFS)) { in apple_nvme_timeout()
|
D | core.c | 2319 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local 2322 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready() 2323 if (csts == ~0) in nvme_wait_ready() 2325 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready() 2334 enabled ? "initialisation" : "reset", csts); in nvme_wait_ready() 2450 u32 csts; in nvme_shutdown_ctrl() local 2460 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl() 2461 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl() 4811 u32 csts; in nvme_ctrl_pp_status() local 4813 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status() [all …]
|
/drivers/dma/ |
D | tegra210-adma.c | 441 u32 csts; in tegra_adma_is_paused() local 443 csts = tdma_ch_read(tdc, ADMA_CH_STATUS); in tegra_adma_is_paused() 444 csts &= ADMA_CH_STATUS_XFER_PAUSED; in tegra_adma_is_paused() 446 return csts ? true : false; in tegra_adma_is_paused()
|
/drivers/gpu/drm/i915/display/ |
D | intel_opregion.c | 82 u32 csts; /* notification status */ member 668 acpi->csts = 0; in intel_opregion_video_event() 1186 opregion->acpi->csts = 0; in intel_opregion_resume()
|