Lines Matching refs:where
26 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where &… argument
29 unsigned int where, uint8_t *value) in pcibios_read_config_byte() argument
31 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_byte()
32 *value = inb(0xCFC + (where&3)); in pcibios_read_config_byte()
37 unsigned int device_fn, unsigned int where, uint16_t *value) in pcibios_read_config_word() argument
39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_word()
40 *value = inw(0xCFC + (where&2)); in pcibios_read_config_word()
45 unsigned int where, uint32_t *value) in pcibios_read_config_dword() argument
47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_dword()
53 unsigned int where, uint8_t value) in pcibios_write_config_byte() argument
55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_write_config_byte()
56 outb(value, 0xCFC + (where&3)); in pcibios_write_config_byte()
61 unsigned int where, uint16_t value) in pcibios_write_config_word() argument
63 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_write_config_word()
64 outw(value, 0xCFC + (where&2)); in pcibios_write_config_word()
68 int pcibios_write_config_dword (unsigned int bus, unsigned int device_fn, unsigned int where, uint3… in pcibios_write_config_dword() argument
70 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_write_config_dword()
145 unsigned int device_fn, unsigned int where, uint8_t *value) in pcibios_read_config_byte() argument
165 "D" ((long) where), in pcibios_read_config_byte()
172 unsigned int device_fn, unsigned int where, uint16_t *value) in pcibios_read_config_word() argument
192 "D" ((long) where), in pcibios_read_config_word()
199 unsigned int device_fn, unsigned int where, uint32_t *value) in pcibios_read_config_dword() argument
219 "D" ((long) where), in pcibios_read_config_dword()
226 unsigned int device_fn, unsigned int where, uint8_t value) in pcibios_write_config_byte() argument
246 "D" ((long) where), in pcibios_write_config_byte()
253 unsigned int device_fn, unsigned int where, uint16_t value) in pcibios_write_config_word() argument
273 "D" ((long) where), in pcibios_write_config_word()
280 unsigned int device_fn, unsigned int where, uint32_t value) in pcibios_write_config_dword() argument
300 "D" ((long) where), in pcibios_write_config_dword()