Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_quirks.c85 struct pci_device *pdev) in nvme_quirks_pci_id_match() argument
88 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() argument
105 if (nvme_quirks_pci_id_match(&quirk->id, pdev)) in nvme_ctrlr_get_quirks()
H A Dnvme.c168 struct nvme_ctrlr *nvme_ctrlr_open(struct pci_device *pdev, in nvme_ctrlr_open() argument
187 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() local
273 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 …]
H A Dnvme.h544 extern struct nvme_ctrlr * nvme_ctrlr_open(struct pci_device *pdev,
H A Dnvme_internal.h725 extern unsigned int nvme_ctrlr_get_quirks(struct pci_device *pdev);