Lines Matching refs:where

169 static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where)  in ixp4xx_config_addr()  argument
175 (where & ~3); in ixp4xx_config_addr()
179 ((PCI_FUNC(devfn)) << 8) | (where & ~3) | 1; in ixp4xx_config_addr()
207 static int local_read_config(int where, int size, u32 *value) in local_read_config() argument
210 pr_debug("local_read_config from %d size %d\n", where, size); in local_read_config()
211 n = where % 4; in local_read_config()
212 crp_read(where & ~3, &data); in local_read_config()
218 static int local_write_config(int where, int size, u32 value) in local_write_config() argument
221 pr_debug("local_write_config %#x to %d size %d\n", value, where, size); in local_write_config()
222 n = where % 4; in local_write_config()
227 crp_write((where & ~3) | byte_enables, data); in local_write_config()
242 static int ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32… in ixp4xx_pci_read_config() argument
247 pr_debug("read_config from %d size %d dev %d:%d:%d\n", where, size, in ixp4xx_pci_read_config()
251 n = where % 4; in ixp4xx_pci_read_config()
256 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_read_config()
265 static int ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u… in ixp4xx_pci_write_config() argument
270 pr_debug("write_config_byte %#x to %d size %d dev %d:%d:%d\n", value, where, in ixp4xx_pci_write_config()
273 n = where % 4; in ixp4xx_pci_write_config()
278 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_write_config()