• Home
  • Raw
  • Download

Lines Matching refs:where

17 static void set_val(u32 v, int where, int size, u32 *val)  in set_val()  argument
19 int shift = (where & 3) * 8; in set_val()
21 pr_debug("set_val %04x: %08x\n", (unsigned)(where & ~3), v); in set_val()
31 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar() argument
37 int where_a = where & 0xc; in handle_ea_bar()
40 set_val(e0, where, size, val); in handle_ea_bar()
52 set_val(v, where, size, val); in handle_ea_bar()
71 set_val(v, where, size, val); in handle_ea_bar()
81 set_val(v, where, size, val); in handle_ea_bar()
88 int where, int size, u32 *val) in thunder_ecam_p2_config_read() argument
91 int where_a = where & ~3; in thunder_ecam_p2_config_read()
104 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_p2_config_read()
123 set_val(v, where, size, val); in thunder_ecam_p2_config_read()
129 int where, int size, u32 *val) in thunder_ecam_config_read() argument
136 int where_a = where & ~3; in thunder_ecam_config_read()
163 return thunder_ecam_p2_config_read(bus, devfn, where, in thunder_ecam_config_read()
172 ((where >= 0x10 && where < 0x2c) || in thunder_ecam_config_read()
173 (where >= 0x1a4 && where < 0x1bc))) { in thunder_ecam_config_read()
191 (unsigned) where, devfn); in thunder_ecam_config_read()
210 set_val(v, where, size, val); in thunder_ecam_config_read()
223 set_val(v, where, size, val); in thunder_ecam_config_read()
235 set_val(v, where, size, val); in thunder_ecam_config_read()
241 0x10, bus, devfn, where, in thunder_ecam_config_read()
246 0x20, bus, devfn, where, in thunder_ecam_config_read()
251 0x18, bus, devfn, where, in thunder_ecam_config_read()
256 0x1a4, bus, devfn, where, in thunder_ecam_config_read()
261 0x1b4, bus, devfn, where, in thunder_ecam_config_read()
280 set_val(v, where, size, val); in thunder_ecam_config_read()
288 set_val(v, where, size, val); in thunder_ecam_config_read()
300 set_val(v, where, size, val); in thunder_ecam_config_read()
306 set_val(v, where, size, val); in thunder_ecam_config_read()
311 set_val(v, where, size, val); in thunder_ecam_config_read()
316 set_val(v, where, size, val); in thunder_ecam_config_read()
321 set_val(v, where, size, val); in thunder_ecam_config_read()
326 set_val(v, where, size, val); in thunder_ecam_config_read()
331 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_config_read()
335 int where, int size, u32 val) in thunder_ecam_config_write() argument
341 if ((where >= 0x10 && where < 0x2c) || in thunder_ecam_config_write()
342 (where >= 0x1a4 && where < 0x1bc)) in thunder_ecam_config_write()
346 return pci_generic_config_write(bus, devfn, where, size, val); in thunder_ecam_config_write()