Lines Matching refs:where
40 ixp2000_pci_config_addr(unsigned int bus_nr, unsigned int devfn, int where) in ixp2000_pci_config_addr() argument
48 where &= ~3; in ixp2000_pci_config_addr()
57 | (PCI_FUNC(devfn) << 8) | where); in ixp2000_pci_config_addr()
62 | (PCI_FUNC(devfn) << 8) | where); in ixp2000_pci_config_addr()
81 int ixp2000_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, in ixp2000_pci_read_config() argument
87 n = where % 4; in ixp2000_pci_read_config()
89 addr = ixp2000_pci_config_addr(bus->number, devfn, where); in ixp2000_pci_read_config()
109 int ixp2000_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, in ixp2000_pci_write_config() argument
116 mask = ~(bytemask[size] << ((where % 0x4) * 8)); in ixp2000_pci_write_config()
117 addr = ixp2000_pci_config_addr(bus->number, devfn, where); in ixp2000_pci_write_config()
120 temp = (u32) (value) << ((where % 0x4) * 8); in ixp2000_pci_write_config()