Lines Matching refs:where

237 				unsigned int devfn, int where, u32 *val)
243 if (where & 0x3)
263 (devfn << 8) | (where & 0xfc));
283 unsigned int devfn, int where, u32 *val)
288 if (where & 0x1)
290 ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v);
291 *val = 0xffff & (v >> (8 * (where & 0x3)));
296 unsigned int devfn, int where, u32 *val)
301 ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v);
302 *val = 0xff & (v >> (8 * (where & 3)));
308 unsigned int devfn, int where, u32 val)
313 if (where & 0x3)
333 (devfn << 8) | (where & 0xfc));
346 unsigned int devfn, int where, u32 val)
351 if (where & 0x1)
353 ret = grpci2_cfg_r32(priv, bus, devfn, where&~3, &v);
356 v = (v & ~(0xffff << (8 * (where & 0x3)))) |
357 ((0xffff & val) << (8 * (where & 0x3)));
358 return grpci2_cfg_w32(priv, bus, devfn, where & ~0x3, v);
362 unsigned int devfn, int where, u32 val)
367 ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v);
370 v = (v & ~(0xff << (8 * (where & 0x3)))) |
371 ((0xff & val) << (8 * (where & 0x3)));
372 return grpci2_cfg_w32(priv, bus, devfn, where & ~0x3, v);
379 int where, int size, u32 *val)
392 ret = grpci2_cfg_r8(priv, busno, devfn, where, val);
395 ret = grpci2_cfg_r16(priv, busno, devfn, where, val);
398 ret = grpci2_cfg_r32(priv, busno, devfn, where, val);
407 "size=%d\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where,
418 int where, int size, u32 val)
429 where, size, val);
436 return grpci2_cfg_w8(priv, busno, devfn, where, val);
438 return grpci2_cfg_w16(priv, busno, devfn, where, val);
440 return grpci2_cfg_w32(priv, busno, devfn, where, val);
450 * 3 where all PCI Interrupts has a separate IRQ on the system IRQ controller