Lines Matching defs:bus
265 unsigned int devfn, bus, buses;
278 first_bus = dev->bus;
284 dev->bus = 0;
295 for (bus = first_bus; bus < buses; ++bus) {
298 pcibios_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type);
301 pcibios_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l);
309 pcibios_read_config_dword(bus, devfn, PCI_REVISION, &l);
315 bus, PCI_SLOT(devfn), PCI_FUNC(devfn),
323 pcibios_read_config_byte(bus, devfn, i, &byte);
344 dev->bus = bus;
351 pcibios_read_config_dword(bus, devfn,
357 pcibios_read_config_dword(bus, devfn,
363 pcibios_read_config_dword(bus, devfn, reg, &ioaddr);
398 pcibios_read_config_word(p->bus, p->devfn, PCI_COMMAND, &pci_command);
405 pci_command, new_command, p->bus, p->devfn);
407 pcibios_write_config_word(p->bus, p->devfn, PCI_COMMAND, new_command);
409 pcibios_read_config_byte(p->bus, p->devfn, PCI_LATENCY_TIMER, &pci_latency);
415 pcibios_write_config_byte(p->bus, p->devfn, PCI_LATENCY_TIMER, 32);
446 return bar + pcibios_bus_base(dev->bus);