Lines Matching refs:devfn
186 static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where) in ixp4xx_config_addr() argument
191 return (PCI_CONF1_ADDRESS(0, 0, PCI_FUNC(devfn), where) & in ixp4xx_config_addr()
192 ~PCI_CONF1_ENABLE) | BIT(32-PCI_SLOT(devfn)); in ixp4xx_config_addr()
195 return (PCI_CONF1_ADDRESS(bus_num, PCI_SLOT(devfn), in ixp4xx_config_addr()
196 PCI_FUNC(devfn), where) & in ixp4xx_config_addr()
293 static int ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, in ixp4xx_pci_read_config() argument
307 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_read_config()
310 where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_read_config()
340 static int ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, in ixp4xx_pci_write_config() argument
353 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_write_config()
358 value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_write_config()