Lines Matching refs:devfn
32 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar() argument
45 addr = bus->ops->map_bus(bus, devfn, bar); /* BAR 0 */ in handle_ea_bar()
59 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()
85 static int thunder_ecam_p2_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_p2_config_read() argument
102 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_p2_config_read()
105 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_p2_config_read()
124 static int thunder_ecam_config_read(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_read() argument
134 addr = bus->ops->map_bus(bus, devfn, 0xc); in thunder_ecam_config_read()
143 addr = bus->ops->map_bus(bus, devfn, 8); in thunder_ecam_config_read()
155 return thunder_ecam_p2_config_read(bus, devfn, where, in thunder_ecam_config_read()
171 addr = bus->ops->map_bus(bus, devfn, 0); in thunder_ecam_config_read()
181 (unsigned int)where, devfn); in thunder_ecam_config_read()
189 addr = bus->ops->map_bus(bus, devfn, 0x70); in thunder_ecam_config_read()
203 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_config_read()
229 0x10, bus, devfn, where, in thunder_ecam_config_read()
234 0x20, bus, devfn, where, in thunder_ecam_config_read()
239 0x18, bus, devfn, where, in thunder_ecam_config_read()
244 0x1a4, bus, devfn, where, in thunder_ecam_config_read()
249 0x1b4, bus, devfn, where, in thunder_ecam_config_read()
252 bool is_rsl_bridge = devfn == 0x08; in thunder_ecam_config_read()
253 bool is_rad_bridge = devfn == 0xa0; in thunder_ecam_config_read()
254 bool is_zip_bridge = devfn == 0xa8; in thunder_ecam_config_read()
255 bool is_dfa_bridge = devfn == 0xb0; in thunder_ecam_config_read()
256 bool is_nic_bridge = devfn == 0x10; in thunder_ecam_config_read()
259 addr = bus->ops->map_bus(bus, devfn, where_a); in thunder_ecam_config_read()
318 return pci_generic_config_read(bus, devfn, where, size, val); in thunder_ecam_config_read()
321 static int thunder_ecam_config_write(struct pci_bus *bus, unsigned int devfn, in thunder_ecam_config_write() argument
333 return pci_generic_config_write(bus, devfn, where, size, val); in thunder_ecam_config_write()