Lines Matching refs:pci_bus
1132 struct pci_bus *bus = ctrl->pci_bus; in set_controller_speed()
1272 struct pci_bus *bus = ctrl->pci_bus; in board_replaced()
1430 struct pci_bus *bus = ctrl->pci_bus; in board_added()
1522 ctrl->pci_bus->number = func->bus; in board_added()
1523 …rc = pci_bus_read_config_dword (ctrl->pci_bus, PCI_DEVFN(func->device, func->function), PCI_VENDOR… in board_added()
2088 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_process_SS() local
2099 pci_bus->number = func->bus; in cpqhp_process_SS()
2103 rc = pci_bus_read_config_byte (pci_bus, devfn, 0x0B, &class_code); in cpqhp_process_SS()
2112 rc = pci_bus_read_config_byte (pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_process_SS()
2118 rc = pci_bus_read_config_byte (pci_bus, devfn, PCI_BRIDGE_CONTROL, &BCR); in cpqhp_process_SS()
2281 ctrl->pci_bus->number = func->bus; in configure_new_device()
2282 …rc = pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp… in configure_new_device()
2320 pci_bus_read_config_dword (ctrl->pci_bus, PCI_DEVFN(func->device, function), 0x00, &ID); in configure_new_device()
2391 struct pci_bus *pci_bus; in configure_new_function() local
2394 pci_bus = ctrl->pci_bus; in configure_new_function()
2395 pci_bus->number = func->bus; in configure_new_function()
2399 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function()
2406 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_PRIMARY_BUS, func->bus); in configure_new_function()
2421 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function()
2428 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2434 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in configure_new_function()
2437 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2443 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()
2523 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2526 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2536 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2539 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2546 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_PREF_MEMORY_BASE, temp_word); in configure_new_function()
2549 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word); in configure_new_function()
2562 pci_bus->number = hold_bus_node->base; in configure_new_function()
2563 pci_bus_read_config_dword (pci_bus, PCI_DEVFN(device, 0), 0x00, &ID); in configure_new_function()
2564 pci_bus->number = func->bus; in configure_new_function()
2618 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2639 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2658 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2664 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_IO_LIMIT, temp_word); in configure_new_function()
2690 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2709 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2716 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2742 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_PREF_MEMORY_BASE, temp_word); in configure_new_function()
2761 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word); in configure_new_function()
2767 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word); in configure_new_function()
2793 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_COMMAND, command); in configure_new_function()
2799 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_BRIDGE_CONTROL, command); in configure_new_function()
2802 rc = pci_bus_read_config_byte (pci_bus, devfn, 0x0B, &class_code); in configure_new_function()
2812 dbg("CND: bus=%d, devfn=%d, offset=%d\n", pci_bus->number, devfn, cloop); in configure_new_function()
2813 rc = pci_bus_write_config_dword (pci_bus, devfn, cloop, temp_register); in configure_new_function()
2815 rc = pci_bus_read_config_dword (pci_bus, devfn, cloop, &temp_register); in configure_new_function()
2877 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function()
2888 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function()
2894 rc = pci_bus_read_config_byte (pci_bus, devfn, in configure_new_function()
2908 rc = pci_bus_read_config_byte (pci_bus, devfn, 0x0B, &class_code); in configure_new_function()
2917 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_INTERRUPT_LINE, IRQ); in configure_new_function()
2933 rc = pci_bus_write_config_byte(pci_bus, devfn, in configure_new_function()
2938 rc = pci_bus_write_config_byte(pci_bus, devfn, in configure_new_function()
2943 rc = pci_bus_write_config_word(pci_bus, devfn, in configure_new_function()
2953 rc = pci_bus_write_config_word (pci_bus, devfn, in configure_new_function()