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 int)(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()
50 set_val(v, where, size, val); in handle_ea_bar()
68 set_val(v, where, size, val); in handle_ea_bar()
77 set_val(v, where, size, val); in handle_ea_bar()
84 int where, int size, u32 *val) in thunder_ecam_p2_config_read() argument
87 int where_a = where & ~3; in thunder_ecam_p2_config_read()
100 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_p2_config_read()
117 set_val(v, where, size, val); in thunder_ecam_p2_config_read()
123 int where, int size, u32 *val) in thunder_ecam_config_read() argument
130 int where_a = where & ~3; in thunder_ecam_config_read()
153 return thunder_ecam_p2_config_read(bus, devfn, where, in thunder_ecam_config_read()
162 ((where >= 0x10 && where < 0x2c) || in thunder_ecam_config_read()
163 (where >= 0x1a4 && where < 0x1bc))) { in thunder_ecam_config_read()
177 pr_debug("%04x:%04x - Fix pass#: %08x, where: %03x, devfn: %03x\n", in thunder_ecam_config_read()
179 (unsigned int)where, devfn); in thunder_ecam_config_read()
197 set_val(v, where, size, val); in thunder_ecam_config_read()
209 set_val(v, where, size, val); in thunder_ecam_config_read()
221 set_val(v, where, size, val); in thunder_ecam_config_read()
227 0x10, bus, devfn, where, in thunder_ecam_config_read()
232 0x20, bus, devfn, where, in thunder_ecam_config_read()
237 0x18, bus, devfn, where, in thunder_ecam_config_read()
242 0x1a4, bus, devfn, where, in thunder_ecam_config_read()
247 0x1b4, bus, devfn, where, in thunder_ecam_config_read()
265 set_val(v, where, size, val); in thunder_ecam_config_read()
273 set_val(v, where, size, val); in thunder_ecam_config_read()
285 set_val(v, where, size, val); in thunder_ecam_config_read()
291 set_val(v, where, size, val); in thunder_ecam_config_read()
296 set_val(v, where, size, val); in thunder_ecam_config_read()
301 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 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_config_read()
320 int where, int size, u32 val) in thunder_ecam_config_write() argument
326 if ((where >= 0x10 && where < 0x2c) || in thunder_ecam_config_write()
327 (where >= 0x1a4 && where < 0x1bc)) in thunder_ecam_config_write()
331 return pci_generic_config_write(bus, devfn, where, size, val); in thunder_ecam_config_write()