Lines Matching defs:bus
26 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where & ~3))
28 int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn,
31 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
36 int pcibios_read_config_word (unsigned int bus,
39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
44 int pcibios_read_config_dword (unsigned int bus, unsigned int device_fn,
47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
52 int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn,
55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
60 int pcibios_write_config_word (unsigned int bus, unsigned int device_fn,
63 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
68 int pcibios_write_config_dword (unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t value)
70 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
144 int pcibios_read_config_byte(unsigned int bus,
148 unsigned long bx = (bus << 8) | device_fn;
171 int pcibios_read_config_word(unsigned int bus,
175 unsigned long bx = (bus << 8) | device_fn;
198 int pcibios_read_config_dword(unsigned int bus,
202 unsigned long bx = (bus << 8) | device_fn;
225 int pcibios_write_config_byte (unsigned int bus,
229 unsigned long bx = (bus << 8) | device_fn;
252 int pcibios_write_config_word (unsigned int bus,
256 unsigned long bx = (bus << 8) | device_fn;
279 int pcibios_write_config_dword (unsigned int bus,
283 unsigned long bx = (bus << 8) | device_fn;
411 unsigned long pcibios_bus_base(unsigned int bus __unused)