Searched refs:to_nvme_dev (Results 1 – 1 of 1) sorted by relevance
180 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() function1122 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_submit_async_event()1804 struct nvme_dev *ndev = to_nvme_dev(dev_get_drvdata(dev)); in nvme_cmb_show()2568 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_free_ctrl()2747 *val = readl(to_nvme_dev(ctrl)->bar + off); in nvme_pci_reg_read32()2753 writel(val, to_nvme_dev(ctrl)->bar + off); in nvme_pci_reg_write32()2759 *val = lo_hi_readq(to_nvme_dev(ctrl)->bar + off); in nvme_pci_reg_read64()2765 struct pci_dev *pdev = to_pci_dev(to_nvme_dev(ctrl)->dev); in nvme_pci_get_address()