Lines Matching defs:where
26 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where & ~3))
29 unsigned int where, uint8_t *value)
31 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
32 *value = inb(0xCFC + (where&3));
37 unsigned int device_fn, unsigned int where, uint16_t *value)
39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
40 *value = inw(0xCFC + (where&2));
45 unsigned int where, uint32_t *value)
47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
53 unsigned int where, uint8_t value)
55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
56 outb(value, 0xCFC + (where&3));
61 unsigned int where, uint16_t value)
63 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
64 outw(value, 0xCFC + (where&2));
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)
165 "D" ((long) where),
172 unsigned int device_fn, unsigned int where, uint16_t *value)
192 "D" ((long) where),
199 unsigned int device_fn, unsigned int where, uint32_t *value)
219 "D" ((long) where),
226 unsigned int device_fn, unsigned int where, uint8_t value)
246 "D" ((long) where),
253 unsigned int device_fn, unsigned int where, uint16_t value)
273 "D" ((long) where),
280 unsigned int device_fn, unsigned int where, uint32_t value)
300 "D" ((long) where),