Lines Matching refs:vendor
173 for (i = 0; ids[i].vendor != 0; i++) { in pci_device_matches_ids()
174 if (pplat->vendor == ids[i].vendor && in pci_device_matches_ids()
219 static int dm_pci_bus_find_device(struct udevice *bus, unsigned int vendor, in dm_pci_bus_find_device() argument
230 if (pplat->vendor == vendor && pplat->device == device) { in dm_pci_bus_find_device()
241 int dm_pci_find_device(unsigned int vendor, unsigned int device, int index, in dm_pci_find_device() argument
250 if (!dm_pci_bus_find_device(bus, vendor, device, &index, devp)) in dm_pci_find_device()
666 if ((id->vendor == PCI_ANY_ID || id->vendor == find->vendor) && in pci_match_one_id()
703 find_id->vendor, find_id->device); in pci_find_and_bind_driver()
722 id->vendor || id->subvendor || id->class_mask; in pci_find_and_bind_driver()
792 ulong vendor, device; in pci_bind_bus_devices() local
814 ret = pci_bus_read_config(bus, bdf, PCI_VENDOR_ID, &vendor, in pci_bind_bus_devices()
819 if (vendor == 0xffff || vendor == 0x0000) in pci_bind_bus_devices()
846 find_id.vendor = vendor; in pci_bind_bus_devices()
867 pplat->vendor = vendor; in pci_bind_bus_devices()
1101 ofnode_read_pci_vendev(dev_ofnode(dev), &pplat->vendor, &pplat->device); in pci_uclass_child_post_bind()
1690 u16 vendor, device; in pci_sriov_init() local
1725 dm_pci_read_config16(pdev, PCI_VENDOR_ID, &vendor); in pci_sriov_init()
1754 find_id.vendor = vendor; in pci_sriov_init()
1768 pplat->vendor = vendor; in pci_sriov_init()
1777 PCI_FUNC(bdf), vendor, device, class, pplat->virtid); in pci_sriov_init()