Lines Matching refs:devfn

30 			 unsigned int devfn, int where, int size, u32 *val)  in handle_ea_bar()  argument
43 addr = bus->ops->map_bus(bus, devfn, bar); /* BAR 0 */ in handle_ea_bar()
58 addr = bus->ops->map_bus(bus, devfn, bar); /* BAR 0 */ in handle_ea_bar()
74 addr = bus->ops->map_bus(bus, devfn, bar + 4); /* BAR 1 */ in handle_ea_bar()
86 static int thunder_ecam_p2_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_p2_config_read() argument
103 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_p2_config_read()
106 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_p2_config_read()
127 static int thunder_ecam_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_read() argument
137 addr = bus->ops->map_bus(bus, devfn, 0xc); in thunder_ecam_config_read()
148 addr = bus->ops->map_bus(bus, devfn, 8); in thunder_ecam_config_read()
162 return thunder_ecam_p2_config_read(bus, devfn, where, in thunder_ecam_config_read()
178 addr = bus->ops->map_bus(bus, devfn, 0); in thunder_ecam_config_read()
190 (unsigned) where, devfn); in thunder_ecam_config_read()
198 addr = bus->ops->map_bus(bus, devfn, 0x70); in thunder_ecam_config_read()
213 addr = bus->ops->map_bus(bus, devfn, where_a); 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()
263 bool is_rsl_bridge = devfn == 0x08; in thunder_ecam_config_read()
264 bool is_rad_bridge = devfn == 0xa0; in thunder_ecam_config_read()
265 bool is_zip_bridge = devfn == 0xa8; in thunder_ecam_config_read()
266 bool is_dfa_bridge = devfn == 0xb0; in thunder_ecam_config_read()
267 bool is_nic_bridge = devfn == 0x10; in thunder_ecam_config_read()
270 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_config_read()
330 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_config_read()
333 static int thunder_ecam_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_write() argument
345 return pci_generic_config_write(bus, devfn, where, size, val); in thunder_ecam_config_write()