REG_APSIZE
apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 1);
apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 2) & 0xfff;
pci_read_config(dev, sc->regs[REG_APSIZE], 2));
pci_write_config(dev, sc->regs[REG_APSIZE], apsize, 1);
val = pci_read_config(dev, sc->regs[REG_APSIZE], 2);
pci_write_config(dev, sc->regs[REG_APSIZE],