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()
57 addr = bus->ops->map_bus(bus, devfn, bar); /* BAR 0 */ in handle_ea_bar()
72 addr = bus->ops->map_bus(bus, devfn, bar + 4); /* BAR 1 */ in handle_ea_bar()
83 static int thunder_ecam_p2_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_p2_config_read() argument
100 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_p2_config_read()
103 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_p2_config_read()
122 static int thunder_ecam_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_read() argument
132 addr = bus->ops->map_bus(bus, devfn, 0xc); in thunder_ecam_config_read()
141 addr = bus->ops->map_bus(bus, devfn, 8); in thunder_ecam_config_read()
153 return thunder_ecam_p2_config_read(bus, devfn, where, in thunder_ecam_config_read()
169 addr = bus->ops->map_bus(bus, devfn, 0); in thunder_ecam_config_read()
179 (unsigned int)where, devfn); in thunder_ecam_config_read()
187 addr = bus->ops->map_bus(bus, devfn, 0x70); in thunder_ecam_config_read()
201 addr = bus->ops->map_bus(bus, devfn, where_a); 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()
250 bool is_rsl_bridge = devfn == 0x08; in thunder_ecam_config_read()
251 bool is_rad_bridge = devfn == 0xa0; in thunder_ecam_config_read()
252 bool is_zip_bridge = devfn == 0xa8; in thunder_ecam_config_read()
253 bool is_dfa_bridge = devfn == 0xb0; in thunder_ecam_config_read()
254 bool is_nic_bridge = devfn == 0x10; in thunder_ecam_config_read()
257 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_config_read()
316 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_config_read()
319 static int thunder_ecam_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_write() argument
331 return pci_generic_config_write(bus, devfn, where, size, val); in thunder_ecam_config_write()