• 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/mn10300/unit-asb2305/

Lines Matching defs:where

56 #define CONFIG_CMD(bus, devfn, where) \
57 (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
116 int where, u32 *_value)
121 value = BRIDGEREGB(where);
122 __pcbdebug("=> %02hx", &BRIDGEREGL(where), value);
124 CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
126 value = CONFIG_DATAB(where);
128 __pcidebug("=> %02hx", bus, devfn, where, value);
136 int where, u32 *_value)
141 value = BRIDGEREGW(where);
142 __pcbdebug("=> %04hx", &BRIDGEREGL(where), value);
144 CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
146 value = CONFIG_DATAW(where);
148 __pcidebug("=> %04hx", bus, devfn, where, value);
156 int where, u32 *_value)
161 value = BRIDGEREGL(where);
162 __pcbdebug("=> %08x", &BRIDGEREGL(where), value);
164 CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
166 value = CONFIG_DATAL(where);
168 __pcidebug("=> %08x", bus, devfn, where, value);
176 int where, u8 value)
181 __pcbdebug("<= %02x", &BRIDGEREGB(where), value);
182 BRIDGEREGB(where) = value;
187 __pcidebug("<= %02x", bus, devfn, where, value);
188 CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
190 CONFIG_DATAB(where) = value;
196 int where, u16 value)
201 __pcbdebug("<= %04hx", &BRIDGEREGW(where), value);
202 BRIDGEREGW(where) = value;
205 __pcidebug("<= %04hx", bus, devfn, where, value);
206 CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
208 CONFIG_DATAW(where) = value;
214 int where, u32 value)
219 __pcbdebug("<= %08x", &BRIDGEREGL(where), value);
220 BRIDGEREGL(where) = value;
223 __pcidebug("<= %08x", bus, devfn, where, value);
224 CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
226 CONFIG_DATAL(where) = value;
232 int where, int size, u32 *val)
236 return pci_ampci_read_config_byte(bus, devfn, where, val);
238 return pci_ampci_read_config_word(bus, devfn, where, val);
240 return pci_ampci_read_config_dword(bus, devfn, where, val);
248 int where, int size, u32 val)
252 return pci_ampci_write_config_byte(bus, devfn, where, val);
254 return pci_ampci_write_config_word(bus, devfn, where, val);
256 return pci_ampci_write_config_dword(bus, devfn, where, val);