Lines Matching defs:where
100 unsigned int dev_fn, unsigned char where, u32 *data)
135 offset = (function << 8) | (where & ~0x3);
161 access_type, bus->number, device, where, *data, offset);
189 int where, u8 *val)
192 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data);
194 if (where & 1)
196 if (where & 2)
203 int where, u16 *val)
206 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data);
208 if (where & 2)
215 int where, u32 *val)
217 return config_access(PCI_ACCESS_READ, bus, devfn, where, val);
221 int where, u8 val)
225 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data))
228 data = (data & ~(0xff << ((where & 3) << 3))) |
229 (val << ((where & 3) << 3));
231 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data))
238 int where, u16 val)
242 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data))
245 data = (data & ~(0xffff << ((where & 3) << 3))) |
246 (val << ((where & 3) << 3));
248 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data))
255 int where, u32 val)
257 return config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val);
261 int where, int size, u32 *val)
266 int rc = read_config_byte(bus, devfn, where, &_val);
273 int rc = read_config_word(bus, devfn, where, &_val);
279 return read_config_dword(bus, devfn, where, val);
284 int where, int size, u32 val)
288 return write_config_byte(bus, devfn, where, (u8) val);
290 return write_config_word(bus, devfn, where, (u16) val);
292 return write_config_dword(bus, devfn, where, val);