Lines Matching refs:devfn

2086 	unsigned int devfn;  in cpqhp_process_SS()  local
2100 devfn = PCI_DEVFN(func->device, func->function); 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()
2380 unsigned int devfn; in configure_new_function() local
2396 devfn = PCI_DEVFN(func->device, func->function); 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()
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()