Lines Matching full:where

16 static void set_val(u32 v, int where, int size, u32 *val)  in set_val()  argument
18 int shift = (where & 3) * 8; in set_val()
20 pr_debug("set_val %04x: %08x\n", (unsigned)(where & ~3), v); in set_val()
30 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar() argument
36 int where_a = where & 0xc; in handle_ea_bar()
39 set_val(e0, where, size, val); in handle_ea_bar()
51 set_val(v, where, size, val); in handle_ea_bar()
70 set_val(v, where, size, val); in handle_ea_bar()
80 set_val(v, where, size, val); in handle_ea_bar()
87 int where, int size, u32 *val) in thunder_ecam_p2_config_read() argument
90 int where_a = where & ~3; in thunder_ecam_p2_config_read()
103 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_p2_config_read()
122 set_val(v, where, size, val); in thunder_ecam_p2_config_read()
128 int where, int size, u32 *val) in thunder_ecam_config_read() argument
135 int where_a = where & ~3; in thunder_ecam_config_read()
162 return thunder_ecam_p2_config_read(bus, devfn, where, in thunder_ecam_config_read()
171 ((where >= 0x10 && where < 0x2c) || in thunder_ecam_config_read()
172 (where >= 0x1a4 && where < 0x1bc))) { in thunder_ecam_config_read()
188 pr_debug("%04x:%04x - Fix pass#: %08x, where: %03x, devfn: %03x\n", in thunder_ecam_config_read()
190 (unsigned) where, devfn); in thunder_ecam_config_read()
209 set_val(v, where, size, val); in thunder_ecam_config_read()
222 set_val(v, where, size, val); in thunder_ecam_config_read()
234 set_val(v, where, size, val); in thunder_ecam_config_read()
240 0x10, bus, devfn, where, in thunder_ecam_config_read()
245 0x20, bus, devfn, where, in thunder_ecam_config_read()
250 0x18, bus, devfn, where, in thunder_ecam_config_read()
255 0x1a4, bus, devfn, where, in thunder_ecam_config_read()
260 0x1b4, bus, devfn, where, in thunder_ecam_config_read()
279 set_val(v, where, size, val); in thunder_ecam_config_read()
287 set_val(v, where, size, val); in thunder_ecam_config_read()
299 set_val(v, where, size, val); in thunder_ecam_config_read()
305 set_val(v, where, size, val); in thunder_ecam_config_read()
310 set_val(v, where, size, val); in thunder_ecam_config_read()
315 set_val(v, where, size, val); in thunder_ecam_config_read()
320 set_val(v, where, size, val); in thunder_ecam_config_read()
325 set_val(v, where, size, val); in thunder_ecam_config_read()
330 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_config_read()
334 int where, int size, u32 val) in thunder_ecam_config_write() argument
340 if ((where >= 0x10 && where < 0x2c) || in thunder_ecam_config_write()
341 (where >= 0x1a4 && where < 0x1bc)) in thunder_ecam_config_write()
345 return pci_generic_config_write(bus, devfn, where, size, val); in thunder_ecam_config_write()