Lines Matching refs:vendor
135 for (i = 0; ids[i].vendor != 0; i++) { in pci_device_matches_ids()
136 if (pplat->vendor == ids[i].vendor && in pci_device_matches_ids()
181 static int dm_pci_bus_find_device(struct udevice *bus, unsigned int vendor, in dm_pci_bus_find_device() argument
192 if (pplat->vendor == vendor && pplat->device == device) { in dm_pci_bus_find_device()
203 int dm_pci_find_device(unsigned int vendor, unsigned int device, int index, in dm_pci_find_device() argument
212 if (!dm_pci_bus_find_device(bus, vendor, device, &index, devp)) in dm_pci_find_device()
718 if ((id->vendor == PCI_ANY_ID || id->vendor == find->vendor) && in pci_match_one_id()
754 find_id->vendor, find_id->device); in pci_find_and_bind_driver()
763 id->vendor || id->subvendor || id->class_mask; in pci_find_and_bind_driver()
833 ulong vendor, device; in pci_bind_bus_devices() local
855 pci_bus_read_config(bus, bdf, PCI_VENDOR_ID, &vendor, in pci_bind_bus_devices()
857 if (vendor == 0xffff || vendor == 0x0000) in pci_bind_bus_devices()
880 find_id.vendor = vendor; in pci_bind_bus_devices()
901 pplat->vendor = vendor; in pci_bind_bus_devices()