Lines Matching refs:device_fn
26 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where &… argument
28 int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, in pcibios_read_config_byte() argument
31 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); 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()
44 int pcibios_read_config_dword (unsigned int bus, unsigned int device_fn, in pcibios_read_config_dword() argument
47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_dword()
52 int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn, in pcibios_write_config_byte() argument
55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_write_config_byte()
60 int pcibios_write_config_word (unsigned int bus, unsigned int device_fn, in pcibios_write_config_word() argument
63 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); 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
148 unsigned long bx = (bus << 8) | device_fn; in pcibios_read_config_byte()
172 unsigned int device_fn, unsigned int where, uint16_t *value) in pcibios_read_config_word() argument
175 unsigned long bx = (bus << 8) | device_fn; in pcibios_read_config_word()
199 unsigned int device_fn, unsigned int where, uint32_t *value) in pcibios_read_config_dword() argument
202 unsigned long bx = (bus << 8) | device_fn; in pcibios_read_config_dword()
226 unsigned int device_fn, unsigned int where, uint8_t value) in pcibios_write_config_byte() argument
229 unsigned long bx = (bus << 8) | device_fn; in pcibios_write_config_byte()
253 unsigned int device_fn, unsigned int where, uint16_t value) in pcibios_write_config_word() argument
256 unsigned long bx = (bus << 8) | device_fn; in pcibios_write_config_word()
280 unsigned int device_fn, unsigned int where, uint32_t value) in pcibios_write_config_dword() argument
283 unsigned long bx = (bus << 8) | device_fn; in pcibios_write_config_dword()