Lines Matching refs:pci_bus

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