Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/fungible/funcore/
H A 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.15/drivers/gpu/drm/gma500/
H A 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.15/drivers/nvme/target/
H A Dcore.c1347 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
1354 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl()
1358 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl()
1375 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl()
1393 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
1396 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc()
1470 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_check_ctrl_status()
1730 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error()
1731 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
H A Dfabrics-cmd.c65 val = ctrl->csts; in nvmet_execute_prop_get()
68 val = NVME_CAP_TIMEOUT(ctrl->csts); in nvmet_execute_prop_get()
H A Dpci-epf.c173 u32 csts; member
1826 tctrl->csts = 0; in nvmet_pci_epf_clear_ctrl_config()
1827 ctrl->csts = 0; in nvmet_pci_epf_clear_ctrl_config()
1828 nvmet_pci_epf_bar_write32(ctrl, NVME_REG_CSTS, ctrl->csts); in nvmet_pci_epf_clear_ctrl_config()
1893 ctrl->csts = NVME_CSTS_RDY; in nvmet_pci_epf_enable_ctrl()
1930 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_pci_epf_disable_ctrl()
1932 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_pci_epf_disable_ctrl()
1968 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_pci_epf_poll_cc_work()
1971 nvmet_pci_epf_bar_write32(ctrl, NVME_REG_CSTS, ctrl->csts); in nvmet_pci_epf_poll_cc_work()
H A Ddebugfs.c84 if (!(ctrl->csts & state)) in nvmet_ctrl_state_show()
H A Ddiscovery.c376 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_discovery_cmd()
H A Dnvmet.h258 u32 csts; member
/linux-6.15/drivers/nvme/host/
H A Dpci.c1364 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset()
1378 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset()
1395 csts, pci_status); in nvme_warn_reset()
1399 csts, result); in nvme_warn_reset()
1401 if (csts != ~0) in nvme_warn_reset()
1418 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local
1444 if (nvme_should_reset(dev, csts)) { in nvme_timeout()
1445 nvme_warn_reset(dev, csts); in nvme_timeout()
2777 u32 csts; in nvme_pci_ctrl_is_dead() local
2784 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_pci_ctrl_is_dead()
[all …]
H A Dapple.c802 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_disable() local
808 if (!(csts & NVME_CSTS_RDY)) in apple_nvme_disable()
810 if (csts & NVME_CSTS_CFS) in apple_nvme_disable()
884 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_timeout() local
914 if (!apple_rtkit_is_crashed(anv->rtk) && !(csts & NVME_CSTS_CFS)) { in apple_nvme_timeout()
H A Dcore.c2456 u32 csts; in nvme_wait_ready() local
2459 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
2460 if (csts == ~0) in nvme_wait_ready()
2462 if ((csts & mask) == val) in nvme_wait_ready()
2471 op, csts); in nvme_wait_ready()
4455 u32 csts; in nvme_ctrl_pp_status() local
4457 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
4460 if (csts == ~0) in nvme_ctrl_pp_status()
4463 return ((ctrl->ctrl_config & NVME_CC_ENABLE) && (csts & NVME_CSTS_PP)); in nvme_ctrl_pp_status()
/linux-6.15/drivers/dma/
H A Dtegra210-adma.c478 u32 csts; in tegra_adma_is_paused() local
480 csts = tdma_ch_read(tdc, ADMA_CH_STATUS); in tegra_adma_is_paused()
481 csts &= ADMA_CH_STATUS_XFER_PAUSED; in tegra_adma_is_paused()
483 return csts ? true : false; in tegra_adma_is_paused()
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dintel_opregion.c82 u32 csts; /* notification status */ member
700 acpi->csts = 0; in intel_opregion_video_event()
1204 opregion->acpi->csts = 0; in intel_opregion_resume_display()