Home
last modified time | relevance | path

Searched refs:devfunc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/powerpc/sysdev/
H A Dtsi108_pci.c36 #define tsi_mk_config_addr(bus, devfunc, offset) \ argument
37 ((((bus)<<16) | ((devfunc)<<8) | (offset & 0xfc)) + tsi108_pci_cfg_base)
49 tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfunc, in tsi108_direct_write_config() argument
56 if (ppc_md.pci_exclude_device(hose, bus->number, devfunc)) in tsi108_direct_write_config()
60 devfunc, offset) | in tsi108_direct_write_config()
65 printk("%d:0x%x:0x%x ", bus->number, devfunc, offset); in tsi108_direct_write_config()
/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_pci.c430 pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()
445 mem_tmp->devfunc = pfmem[count]->devfunc; in configure_device()
494 mem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()
659 bus_io[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
690 bus_pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
705 mem_tmp->devfunc = bus_pfmem[count]->devfunc; in configure_bridge()
745 bus_mem[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
815 io->devfunc = PCI_DEVFN(func->device, func->function); in configure_bridge()
836 mem->devfunc = PCI_DEVFN(func->device, func->function); in configure_bridge()
857 pfmem->devfunc = PCI_DEVFN(func->device, func->function); in configure_bridge()
[all …]
H A Dibmphp_res.c70 rs->devfunc = curr->dev_fun; in alloc_resources()
305 …debug("Memory resource for device %x, bus %x, [%x - %x]\n", new_mem->devfunc, new_mem->busno, new_… in ibmphp_rsrc_init()
346 …debug("IO resource for device %x, bus %x, [%x - %x]\n", new_io->devfunc, new_io->busno, new_io->st… in ibmphp_rsrc_init()
1696 mem->devfunc = pfmem_cur->devfunc; in once_over()
1810 debug_pci("The bus, devfnc is %d, %x\n", res->busno, res->devfunc); in ibmphp_print_test()
1825 debug_pci("The bus, devfnc is %d, %x\n", res->busno, res->devfunc); in ibmphp_print_test()
1840 debug_pci("The bus, devfnc is %d, %x\n", res->busno, res->devfunc); in ibmphp_print_test()
1856 debug_pci("The bus, devfnc is %d, %x\n", res->busno, res->devfunc); in ibmphp_print_test()
2003 io->devfunc = ((device << 3) | (function & 0x7)); in update_bridge_ranges()
2051 mem->devfunc = ((device << 3) | (function & 0x7)); in update_bridge_ranges()
[all …]
H A Dibmphp.h347 u8 devfunc; member