Lines Matching defs:where
137 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where,
149 address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
150 (func << 8) | (where & 0xfc) | 0x80000000;
156 *val = (data >> ((where & 3) << 3)) & 0xff;
159 *val = (data >> ((where & 3) << 3)) & 0xffff;
169 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where,
181 address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
182 (func << 8) | (where & 0xfc) | 0x80000000;
188 data = (data & ~(0xff << ((where & 3) << 3))) |
189 (val << ((where & 3) << 3));
192 data = (data & ~(0xffff << ((where & 3) << 3))) |
193 (val << ((where & 3) << 3));