Lines Matching refs:where
89 int where, int size, u32 *val)
93 addr = bus->ops->map_bus(bus, devfn, where);
109 int where, int size, u32 val)
113 addr = bus->ops->map_bus(bus, devfn, where);
129 int where, int size, u32 *val)
133 addr = bus->ops->map_bus(bus, devfn, where & ~0x3);
140 *val = (*val >> (8 * (where & 3))) & ((1 << (size * 8)) - 1);
147 int where, int size, u32 val)
152 addr = bus->ops->map_bus(bus, devfn, where & ~0x3);
173 PCI_SLOT(devfn), PCI_FUNC(devfn), where);
177 mask = ~(((1 << (size * 8)) - 1) << ((where & 0x3) * 8));
179 tmp |= val << ((where & 0x3) * 8);
560 int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val)
566 return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
570 int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
576 return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
580 int pci_read_config_dword(const struct pci_dev *dev, int where,
587 return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
591 int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val)
595 return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
599 int pci_write_config_word(const struct pci_dev *dev, int where, u16 val)
603 return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
607 int pci_write_config_dword(const struct pci_dev *dev, int where,
612 return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);