Searched refs:pdev (Results 1 – 4 of 4) sorted by relevance
85 struct pci_device *pdev) in nvme_quirks_pci_id_match() argument88 id->vendor_id == pdev->vendor_id) && in nvme_quirks_pci_id_match()90 id->device_id == pdev->device_id) && in nvme_quirks_pci_id_match()92 id->subvendor_id == pdev->subvendor_id) && in nvme_quirks_pci_id_match()94 id->subdevice_id == pdev->subdevice_id)) in nvme_quirks_pci_id_match()100 unsigned int nvme_ctrlr_get_quirks(struct pci_device *pdev) in nvme_ctrlr_get_quirks() argument105 if (nvme_quirks_pci_id_match(&quirk->id, pdev)) in nvme_ctrlr_get_quirks()
168 struct nvme_ctrlr *nvme_ctrlr_open(struct pci_device *pdev, in nvme_ctrlr_open() argument187 pdev = nvme_pci_ctrlr_probe(slot); in nvme_ctrlr_open()188 if (!pdev) { in nvme_ctrlr_open()198 if (nvme_pci_dev_cmp(ctrlr->pci_dev, pdev) == 0) { in nvme_ctrlr_open()206 ctrlr = nvme_ctrlr_attach(pdev, opts); in nvme_ctrlr_open()248 struct pci_device *pdev = ctrlr->pci_dev; in nvme_ctrlr_stat() local273 cstat->vendor_id = pdev->vendor_id; in nvme_ctrlr_stat()274 cstat->device_id = pdev->device_id; in nvme_ctrlr_stat()275 cstat->subvendor_id = pdev->subvendor_id; in nvme_ctrlr_stat()276 cstat->subdevice_id = pdev->subdevice_id; in nvme_ctrlr_stat()[all …]
544 extern struct nvme_ctrlr * nvme_ctrlr_open(struct pci_device *pdev,
725 extern unsigned int nvme_ctrlr_get_quirks(struct pci_device *pdev);