• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mips/pci/

Lines Matching defs:where

20 static u32 emulate_ioc3_cfg(int where, int size)
22 if (size == 1 && where == 0x3d)
24 else if (size == 2 && where == 0x3c)
26 else if (size == 4 && where == 0x3c)
44 int where, int size, u32 * value)
65 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
82 if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) {
83 *value = emulate_ioc3_cfg(where, size);
91 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
96 shift = ((where & 3) << 3);
104 int where, int size, u32 * value)
128 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))];
145 if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) {
146 *value = emulate_ioc3_cfg(where, size);
155 addr = &bridge->b_type1_cfg.c[(fn << 8) | where];
160 shift = ((where & 3) << 3);
168 int where, int size, u32 * value)
171 return pci_conf1_read_config(bus, devfn, where, size, value);
173 return pci_conf0_read_config(bus, devfn, where, size, value);
177 int where, int size, u32 value)
198 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
219 if ((where >= 0x14 && where < 0x40) || (where >= 0x48))
226 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
231 shift = ((where & 3) << 3);
243 int where, int size, u32 value)
266 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))];
287 if ((where >= 0x14 && where < 0x40) || (where >= 0x48))
294 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
299 shift = ((where & 3) << 3);
311 int where, int size, u32 value)
314 return pci_conf1_write_config(bus, devfn, where, size, value);
316 return pci_conf0_write_config(bus, devfn, where, size, value);