Searched refs:csts (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_dev.c | 52 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/drivers/nvme/target/ |
| H A D | core.c | 1388 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl() 1395 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl() 1399 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl() 1416 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl() 1434 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc() 1437 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc() 1511 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_check_ctrl_status() 1773 if (!(ctrl->csts & NVME_CSTS_CFS)) { in nvmet_ctrl_fatal_error() 1774 ctrl->csts |= NVME_CSTS_CFS; in nvmet_ctrl_fatal_error()
|
| H A D | pci-epf.c | 173 u32 csts; member 1836 tctrl->csts = 0; in nvmet_pci_epf_clear_ctrl_config() 1837 ctrl->csts = 0; in nvmet_pci_epf_clear_ctrl_config() 1838 nvmet_pci_epf_bar_write32(ctrl, NVME_REG_CSTS, ctrl->csts); in nvmet_pci_epf_clear_ctrl_config() 1903 ctrl->csts = NVME_CSTS_RDY; in nvmet_pci_epf_enable_ctrl() 1940 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_pci_epf_disable_ctrl() 1942 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_pci_epf_disable_ctrl() 1978 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_pci_epf_poll_cc_work() 1981 nvmet_pci_epf_bar_write32(ctrl, NVME_REG_CSTS, ctrl->csts); in nvmet_pci_epf_poll_cc_work()
|
| H A D | fabrics-cmd.c | 65 val = ctrl->csts; in nvmet_execute_prop_get() 68 val = NVME_CAP_TIMEOUT(ctrl->csts); in nvmet_execute_prop_get()
|
| H A D | discovery.c | 376 if (unlikely(!(req->sq->ctrl->csts & NVME_CSTS_RDY))) { in nvmet_parse_discovery_cmd()
|
| H A D | nvmet.h | 263 u32 csts; member
|
| /linux/drivers/nvme/host/ |
| H A D | pci.c | 1793 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument 1798 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset() 1812 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset() 1818 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts) in nvme_warn_reset() argument 1829 csts, pci_status); in nvme_warn_reset() 1833 csts, result); in nvme_warn_reset() 1835 if (csts != ~0) in nvme_warn_reset() 1852 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local 1878 if (nvme_should_reset(dev, csts)) { in nvme_timeout() 1879 nvme_warn_reset(dev, csts); in nvme_timeout() [all …]
|
| H A D | apple.c | 839 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_disable() local 845 if (!(csts & NVME_CSTS_RDY)) in apple_nvme_disable() 847 if (csts & NVME_CSTS_CFS) in apple_nvme_disable() 921 u32 csts = readl(anv->mmio_nvme + NVME_REG_CSTS); in apple_nvme_timeout() local 951 if (!apple_rtkit_is_crashed(anv->rtk) && !(csts & NVME_CSTS_CFS)) { in apple_nvme_timeout()
|
| H A D | core.c | 2623 u32 csts; in nvme_wait_ready() local 2626 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready() 2627 if (csts == ~0) in nvme_wait_ready() 2629 if ((csts & mask) == val) in nvme_wait_ready() 2638 op, csts); in nvme_wait_ready() 4664 u32 csts; in nvme_ctrl_pp_status() local 4666 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status() 4669 if (csts == ~0) in nvme_ctrl_pp_status() 4672 return ((ctrl->ctrl_config & NVME_CC_ENABLE) && (csts & NVME_CSTS_PP)); in nvme_ctrl_pp_status()
|
| /linux/drivers/dma/ |
| H A D | tegra210-adma.c | 547 u32 csts; in tegra_adma_is_paused() local 549 csts = tdma_ch_read(tdc, ADMA_CH_STATUS); in tegra_adma_is_paused() 550 csts &= ADMA_CH_STATUS_XFER_PAUSED; in tegra_adma_is_paused() 552 return csts ? true : false; in tegra_adma_is_paused()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_opregion.c | 85 u32 csts; /* notification status */ member 704 acpi->csts = 0; in intel_opregion_video_event() 1208 opregion->acpi->csts = 0; in intel_opregion_resume_display()
|