Lines Matching defs:device_fn

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);
37 unsigned int device_fn, unsigned int where, uint16_t *value)
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);
145 unsigned int device_fn, unsigned int where, uint8_t *value)
148 unsigned long bx = (bus << 8) | device_fn;
172 unsigned int device_fn, unsigned int where, uint16_t *value)
175 unsigned long bx = (bus << 8) | device_fn;
199 unsigned int device_fn, unsigned int where, uint32_t *value)
202 unsigned long bx = (bus << 8) | device_fn;
226 unsigned int device_fn, unsigned int where, uint8_t value)
229 unsigned long bx = (bus << 8) | device_fn;
253 unsigned int device_fn, unsigned int where, uint16_t value)
256 unsigned long bx = (bus << 8) | device_fn;
280 unsigned int device_fn, unsigned int where, uint32_t value)
283 unsigned long bx = (bus << 8) | device_fn;