Searched refs:csts (Results 1 – 7 of 7) 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 | 1385 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl() 1392 ctrl->csts = NVME_CSTS_CFS; in nvmet_start_ctrl() 1396 ctrl->csts = NVME_CSTS_RDY; in nvmet_start_ctrl() 1413 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_clear_ctrl() 1431 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_update_cc() 1434 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_update_cc() 1508 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 1839 tctrl->csts = 0; in nvmet_pci_epf_clear_ctrl_config() 1840 ctrl->csts = 0; in nvmet_pci_epf_clear_ctrl_config() 1841 nvmet_pci_epf_bar_write32(ctrl, NVME_REG_CSTS, ctrl->csts); in nvmet_pci_epf_clear_ctrl_config() 1906 ctrl->csts = NVME_CSTS_RDY; in nvmet_pci_epf_enable_ctrl() 1943 ctrl->csts &= ~NVME_CSTS_RDY; in nvmet_pci_epf_disable_ctrl() 1945 ctrl->csts |= NVME_CSTS_SHST_CMPLT; in nvmet_pci_epf_disable_ctrl() 1981 ctrl->csts &= ~NVME_CSTS_SHST_CMPLT; in nvmet_pci_epf_poll_cc_work() 1984 nvmet_pci_epf_bar_write32(ctrl, NVME_REG_CSTS, ctrl->csts); in nvmet_pci_epf_poll_cc_work()
|
| H A D | nvmet.h | 263 u32 csts; member
|
| /linux/drivers/nvme/host/ |
| H A D | pci.c | 1633 static bool nvme_should_reset(struct nvme_dev *dev, u32 csts) in nvme_should_reset() argument 1638 bool nssro = dev->subsystem && (csts & NVME_CSTS_NSSRO); in nvme_should_reset() 1652 if (!(csts & NVME_CSTS_CFS) && !nssro) in nvme_should_reset() 1658 static void nvme_warn_reset(struct nvme_dev *dev, u32 csts) in nvme_warn_reset() argument 1669 csts, pci_status); in nvme_warn_reset() 1673 csts, result); in nvme_warn_reset() 1675 if (csts != ~0) in nvme_warn_reset() 1692 u32 csts = readl(dev->bar + NVME_REG_CSTS); in nvme_timeout() local 1718 if (nvme_should_reset(dev, csts)) { in nvme_timeout() 1719 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()
|
| /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()
|