Lines Matching defs:pci_bus

1118 	struct pci_bus *bus = ctrl->pci_bus;
1256 struct pci_bus *bus = ctrl->pci_bus;
1414 struct pci_bus *bus = ctrl->pci_bus;
1506 ctrl->pci_bus->number = func->bus;
1507 rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), PCI_VENDOR_ID, &temp_register);
2045 struct pci_bus *pci_bus = ctrl->pci_bus;
2056 pci_bus->number = func->bus;
2060 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code);
2069 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type);
2075 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_BRIDGE_CONTROL, &BCR);
2235 ctrl->pci_bus->number = func->bus;
2236 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte);
2274 pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, function), 0x00, &ID);
2345 struct pci_bus *pci_bus;
2348 pci_bus = ctrl->pci_bus;
2349 pci_bus->number = func->bus;
2353 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte);
2360 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_PRIMARY_BUS, func->bus);
2375 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte);
2382 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte);
2388 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte);
2391 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte);
2397 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte);
2477 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_BASE, temp_byte);
2480 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte);
2490 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_BASE, temp_word);
2493 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word);
2500 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_BASE, temp_word);
2503 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word);
2516 pci_bus->number = hold_bus_node->base;
2517 pci_bus_read_config_dword(pci_bus, PCI_DEVFN(device, 0), 0x00, &ID);
2518 pci_bus->number = func->bus;
2572 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte);
2593 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_IO_BASE, temp_byte);
2612 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte);
2618 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_IO_LIMIT, temp_word);
2644 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_BASE, temp_word);
2663 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word);
2670 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word);
2696 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_BASE, temp_word);
2715 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word);
2721 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word);
2747 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_COMMAND, command);
2753 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_BRIDGE_CONTROL, command);
2756 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code);
2766 dbg("CND: bus=%d, devfn=%d, offset=%d\n", pci_bus->number, devfn, cloop);
2767 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, temp_register);
2769 rc = pci_bus_read_config_dword(pci_bus, devfn, cloop, &temp_register);
2829 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base);
2840 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base);
2846 rc = pci_bus_read_config_byte(pci_bus, devfn,
2860 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code);
2869 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_INTERRUPT_LINE, IRQ);
2885 rc = pci_bus_write_config_byte(pci_bus, devfn,
2890 rc = pci_bus_write_config_byte(pci_bus, devfn,
2895 rc = pci_bus_write_config_word(pci_bus, devfn,
2905 rc = pci_bus_write_config_word(pci_bus, devfn,