Lines Matching refs:to_nvme_dev
180 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() function
398 struct nvme_dev *dev = to_nvme_dev(data); in nvme_admin_init_hctx()
411 struct nvme_dev *dev = to_nvme_dev(data); in nvme_init_hctx()
441 struct nvme_dev *dev = to_nvme_dev(set->driver_data); in nvme_pci_map_queues()
1134 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_submit_async_event()
1149 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_subsystem_reset()
2113 struct nvme_dev *ndev = to_nvme_dev(dev_get_drvdata(dev)); in cmb_show()
2123 struct nvme_dev *ndev = to_nvme_dev(dev_get_drvdata(dev)); in cmbloc_show()
2132 struct nvme_dev *ndev = to_nvme_dev(dev_get_drvdata(dev)); in cmbsz_show()
2141 struct nvme_dev *ndev = to_nvme_dev(dev_get_drvdata(dev)); in hmb_show()
2149 struct nvme_dev *ndev = to_nvme_dev(dev_get_drvdata(dev)); in hmb_store()
2179 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_attrs_are_visible()
2741 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_free_ctrl()
2856 *val = readl(to_nvme_dev(ctrl)->bar + off); in nvme_pci_reg_read32()
2862 writel(val, to_nvme_dev(ctrl)->bar + off); in nvme_pci_reg_write32()
2868 *val = lo_hi_readq(to_nvme_dev(ctrl)->bar + off); in nvme_pci_reg_read64()
2874 struct pci_dev *pdev = to_pci_dev(to_nvme_dev(ctrl)->dev); in nvme_pci_get_address()
2881 struct pci_dev *pdev = to_pci_dev(to_nvme_dev(ctrl)->dev); in nvme_pci_print_device_info()
2895 struct nvme_dev *dev = to_nvme_dev(ctrl); in nvme_pci_supports_pci_p2pdma()