Searched refs:ibmphp_pci_bus (Results 1 – 4 of 4) sorted by relevance
/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 94 ibmphp_pci_bus->number = cur_func->busno; in ibmphp_configure_card() 101 pci_bus_read_config_word(ibmphp_pci_bus, devfn, PCI_VENDOR_ID, &vendor_id); in ibmphp_configure_card() 115 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in ibmphp_configure_card() 116 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, PCI_CLASS_REVISION, &class); in ibmphp_configure_card() 188 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_SECONDARY_BUS, &sec_number); in ibmphp_configure_card() 258 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_SECONDARY_BUS, &sec_number); in ibmphp_configure_card() 353 ibmphp_pci_bus->number = func->busno; in configure_device() 370 pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF); in configure_device() 371 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]); in configure_device() 405 pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start); in configure_device() [all …]
|
D | ibmphp_core.c | 45 struct pci_bus *ibmphp_pci_bus; variable 709 bus->ops = ibmphp_pci_bus->ops; in bus_structure_fixup() 716 b = pci_scan_bus(busno, ibmphp_pci_bus->ops, NULL); in bus_structure_fixup() 1251 kfree(ibmphp_pci_bus); in ibmphp_unload() 1264 ibmphp_pci_bus = kmalloc(sizeof(*ibmphp_pci_bus), GFP_KERNEL); in ibmphp_init() 1265 if (!ibmphp_pci_bus) { in ibmphp_init() 1276 memcpy(ibmphp_pci_bus, bus, sizeof(*ibmphp_pci_bus)); in ibmphp_init()
|
D | ibmphp_res.c | 1922 ibmphp_pci_bus->number = bus_cur->busno; in update_bridge_ranges() 1930 pci_bus_read_config_word(ibmphp_pci_bus, devfn, PCI_VENDOR_ID, &vendor_id); in update_bridge_ranges() 1934 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in update_bridge_ranges() 1954 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_SECONDARY_BUS, &sec_busno); in update_bridge_ranges() 1962 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_IO_BASE, &start_io_address); in update_bridge_ranges() 1963 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_IO_LIMIT, &end_io_address); in update_bridge_ranges() 1964 pci_bus_read_config_word(ibmphp_pci_bus, devfn, PCI_IO_BASE_UPPER16, &upper_io_start); in update_bridge_ranges() 1965 pci_bus_read_config_word(ibmphp_pci_bus, devfn, PCI_IO_LIMIT_UPPER16, &upper_io_end); in update_bridge_ranges() 2011 pci_bus_read_config_word(ibmphp_pci_bus, devfn, PCI_MEMORY_BASE, &start_mem_address); in update_bridge_ranges() 2012 pci_bus_read_config_word(ibmphp_pci_bus, devfn, PCI_MEMORY_LIMIT, &end_mem_address); in update_bridge_ranges() [all …]
|
D | ibmphp.h | 672 extern struct pci_bus *ibmphp_pci_bus;
|