pci: use address struct in function arguments