Lines Matching refs:bdf
88 static unsigned long v3_open_config_window(pci_dev_t bdf, int offset) in v3_open_config_window() argument
91 unsigned int busnr = PCI_BUS(bdf); in v3_open_config_window()
92 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window()
109 int slot = PCI_DEV(bdf); in v3_open_config_window()
121 address = PCI_FUNC(bdf) << 8; in v3_open_config_window()
187 static int pci_integrator_read_byte(struct pci_controller *hose, pci_dev_t bdf, in pci_integrator_read_byte() argument
192 addr = v3_open_config_window(bdf, offset); in pci_integrator_read_byte()
199 pci_dev_t bdf, int offset, in pci_integrator_read__word() argument
204 addr = v3_open_config_window(bdf, offset); in pci_integrator_read__word()
211 pci_dev_t bdf, int offset, in pci_integrator_read_dword() argument
216 addr = v3_open_config_window(bdf, offset); in pci_integrator_read_dword()
223 pci_dev_t bdf, int offset, in pci_integrator_write_byte() argument
228 addr = v3_open_config_window(bdf, offset); in pci_integrator_write_byte()
236 pci_dev_t bdf, int offset, in pci_integrator_write_word() argument
241 addr = v3_open_config_window(bdf, offset); in pci_integrator_write_word()
249 pci_dev_t bdf, int offset, in pci_integrator_write_dword() argument
254 addr = v3_open_config_window(bdf, offset); in pci_integrator_write_dword()