Lines Matching refs:where
186 static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where)
191 return (PCI_CONF1_ADDRESS(0, 0, PCI_FUNC(devfn), where) &
196 PCI_FUNC(devfn), where) &
217 static int ixp4xx_crp_read_config(struct ixp4xx_pci *p, int where, int size,
222 n = where % 4;
223 cmd = where & ~3;
226 __func__, where, size, cmd);
255 static int ixp4xx_crp_write_config(struct ixp4xx_pci *p, int where, int size,
260 n = where % 4;
264 cmd |= where & ~3;
270 __func__, where, size, cmd, val);
294 int where, int size, u32 *value)
302 n = where % 4;
307 addr = ixp4xx_config_addr(bus_num, devfn, where);
310 where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd);
341 int where, int size, u32 value)
348 n = where % 4;
353 addr = ixp4xx_config_addr(bus_num, devfn, where);
358 value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd);