Lines Matching defs:where
15 #define CONFIG_CMD(bus, devfn, where) (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
18 via82c505_read_config(struct pci_bus *bus, unsigned int devfn, int where,
21 outl(CONFIG_CMD(bus,devfn,where),0xCF8);
24 *value=inb(0xCFC + (where&3));
27 *value=inw(0xCFC + (where&2));
37 via82c505_write_config(struct pci_bus *bus, unsigned int devfn, int where,
40 outl(CONFIG_CMD(bus,devfn,where),0xCF8);
43 outb(value, 0xCFC + (where&3));
46 outw(value, 0xCFC + (where&2));