Lines Matching defs:where
81 int where, int size, u32 *val)
85 addr = bus->ops->map_bus(bus, devfn, where);
101 int where, int size, u32 val)
105 addr = bus->ops->map_bus(bus, devfn, where);
121 int where, int size, u32 *val)
125 addr = bus->ops->map_bus(bus, devfn, where & ~0x3);
132 *val = (*val >> (8 * (where & 3))) & ((1 << (size * 8)) - 1);
139 int where, int size, u32 val)
144 addr = bus->ops->map_bus(bus, devfn, where & ~0x3);
165 PCI_SLOT(devfn), PCI_FUNC(devfn), where);
169 mask = ~(((1 << (size * 8)) - 1) << ((where & 0x3) * 8));
171 tmp |= val << ((where & 0x3) * 8);
546 int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val)
552 return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
556 int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
562 return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
566 int pci_read_config_dword(const struct pci_dev *dev, int where,
573 return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
577 int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val)
581 return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
585 int pci_write_config_word(const struct pci_dev *dev, int where, u16 val)
589 return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
593 int pci_write_config_dword(const struct pci_dev *dev, int where,
598 return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);