void pci_conf_write32( unsigned int bus, unsigned int dev, unsigned int func, unsigned int reg, uint32_t data) { BUG_ON((bus > 255) || (dev > 31) || (func > 7) || (reg > 255)); pci_sal_write(0, bus, (dev<<3)|func, reg, 4, data); }
static int pci_sal_write_config_dword (struct pci_dev *dev, int where, u32 value) { return pci_sal_write(PCI_SEGMENT(dev), dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn), where, 4, value); }