Lines Matching refs:pci_bus

1117 	struct pci_bus *bus = ctrl->pci_bus;  in set_controller_speed()
1255 struct pci_bus *bus = ctrl->pci_bus; in board_replaced()
1413 struct pci_bus *bus = ctrl->pci_bus; in board_added()
1504 ctrl->pci_bus->number = func->bus; in board_added()
1505 …rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), PCI_VENDOR_… in board_added()
2036 struct pci_bus *pci_bus = ctrl->pci_bus; in cpqhp_process_SS() local
2044 pci_bus->number = func->bus; in cpqhp_process_SS()
2048 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); in cpqhp_process_SS()
2057 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_process_SS()
2063 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_BRIDGE_CONTROL, &BCR); in cpqhp_process_SS()
2223 ctrl->pci_bus->number = func->bus; in configure_new_device()
2224 …rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_… in configure_new_device()
2262 pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, function), 0x00, &ID); in configure_new_device()
2333 struct pci_bus *pci_bus; in configure_new_function() local
2336 pci_bus = ctrl->pci_bus; in configure_new_function()
2337 pci_bus->number = func->bus; in configure_new_function()
2341 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function()
2348 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_PRIMARY_BUS, func->bus); in configure_new_function()
2363 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function()
2370 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2376 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in configure_new_function()
2379 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2385 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()
2465 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2468 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2478 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2481 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2488 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_BASE, temp_word); in configure_new_function()
2491 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word); in configure_new_function()
2504 pci_bus->number = hold_bus_node->base; in configure_new_function()
2505 pci_bus_read_config_dword(pci_bus, PCI_DEVFN(device, 0), 0x00, &ID); in configure_new_function()
2506 pci_bus->number = func->bus; in configure_new_function()
2560 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2581 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2600 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2606 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_IO_LIMIT, temp_word); in configure_new_function()
2632 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2651 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2658 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2684 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_BASE, temp_word); in configure_new_function()
2703 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word); in configure_new_function()
2709 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_PREF_MEMORY_LIMIT, temp_word); in configure_new_function()
2735 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_COMMAND, command); in configure_new_function()
2741 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_BRIDGE_CONTROL, command); in configure_new_function()
2744 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); in configure_new_function()
2754 dbg("CND: bus=%d, devfn=%d, offset=%d\n", pci_bus->number, devfn, cloop); in configure_new_function()
2755 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, temp_register); in configure_new_function()
2757 rc = pci_bus_read_config_dword(pci_bus, devfn, cloop, &temp_register); in configure_new_function()
2817 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function()
2828 rc = pci_bus_write_config_dword(pci_bus, devfn, cloop, base); in configure_new_function()
2834 rc = pci_bus_read_config_byte(pci_bus, devfn, in configure_new_function()
2848 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); in configure_new_function()
2857 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_INTERRUPT_LINE, IRQ); in configure_new_function()
2873 rc = pci_bus_write_config_byte(pci_bus, devfn, in configure_new_function()
2878 rc = pci_bus_write_config_byte(pci_bus, devfn, in configure_new_function()
2883 rc = pci_bus_write_config_word(pci_bus, devfn, in configure_new_function()
2893 rc = pci_bus_write_config_word(pci_bus, devfn, in configure_new_function()