Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/fungible/funcore/
Dfun_dev.c52 u32 csts = readl(fdev->bar + NVME_REG_CSTS); in fun_wait_ready() local
54 if (csts == ~0) { in fun_wait_ready()
55 dev_err(fdev->dev, "CSTS register read %#x\n", csts); in fun_wait_ready()
59 if ((csts & NVME_CSTS_RDY) == bit) in fun_wait_ready()
79 u32 csts = readl(fdev->bar + NVME_REG_CSTS); in fun_check_csts_rdy() local
80 u32 actual_rdy = csts & NVME_CSTS_RDY; in fun_check_csts_rdy()
82 if (csts == ~0) { in fun_check_csts_rdy()
83 dev_err(fdev->dev, "CSTS register read %#x\n", csts); in fun_check_csts_rdy()
332 u32 csts = readl(fdev->bar + NVME_REG_CSTS); in fun_adminq_stopped() local
334 return (csts & (NVME_CSTS_CFS | NVME_CSTS_RDY)) != NVME_CSTS_RDY; in fun_adminq_stopped()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dopregion.c59 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()
/linux-6.6.21/drivers/nvme/target/
Dcore.c1163 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
1170 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
1174 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl()
1191 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl()
1209 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
1212 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
1284 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_check_ctrl_status()
1510 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error()
1511 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
Ddiscovery.c359 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_discovery_cmd()
Dfabrics-cmd.c65 val = ctrl->csts; in nvmet_execute_prop_get()
Dnvmet.h190 u32 csts; member
/linux-6.6.21/drivers/nvme/host/
Dpci.c1229 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument
1234 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset()
1248 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset()
1254 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts) in nvme_warn_reset() argument
1265 csts, pci_status); in nvme_warn_reset()
1269 csts, result); in nvme_warn_reset()
1271 if (csts != ~0) in nvme_warn_reset()
1287 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local
1299 if (nvme_should_reset(dev, csts)) { in nvme_timeout()
1300 nvme_warn_reset(dev, csts); in nvme_timeout()
[all …]
Dapple.c800 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()
882 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_timeout() local
912 if (!apple_rtkit_is_crashed(anv->rtk) && !(csts & NVME_CSTS_CFS)) { in apple_nvme_timeout()
Dcore.c2196 u32 csts; in nvme_wait_ready() local
2199 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
2200 if (csts == ~0) in nvme_wait_ready()
2202 if ((csts & mask) == val) in nvme_wait_ready()
2211 op, csts); in nvme_wait_ready()
4086 u32 csts; in nvme_ctrl_pp_status() local
4088 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
4091 if (csts == ~0) in nvme_ctrl_pp_status()
4094 return ((ctrl->ctrl_config & NVME_CC_ENABLE) && (csts & NVME_CSTS_PP)); in nvme_ctrl_pp_status()
/linux-6.6.21/drivers/dma/
Dtegra210-adma.c442 u32 csts; in tegra_adma_is_paused() local
444 csts = tdma_ch_read(tdc, ADMA_CH_STATUS); in tegra_adma_is_paused()
445 csts &= ADMA_CH_STATUS_XFER_PAUSED; in tegra_adma_is_paused()
447 return csts ? true : false; in tegra_adma_is_paused()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_opregion.c82 u32 csts; /* notification status */ member
668 acpi->csts = 0; in intel_opregion_video_event()
1176 opregion->acpi->csts = 0; in intel_opregion_resume_display()