Lines Matching defs:where
61 static int mkaddr(struct pci_bus *bus, unsigned int devfn, int where,
68 | ((devfn & 0xff) << 0x08) | (where & 0xfc)
143 int where, int size, u32 *val)
147 if (mkaddr(bus, devfn, where, pcicptr)) {
153 *val = icd_readb(where & 3, pcicptr);
156 *val = icd_readw(where & 3, pcicptr);
165 int where, int size, u32 val)
169 if (mkaddr(bus, devfn, where, pcicptr))
173 icd_writeb(val, where & 3, pcicptr);
176 icd_writew(val, where & 3, pcicptr);