Lines Matching defs:apsize
243 u_int32_t apsize;
246 apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 1);
251 * are always forced to zero and each zero bit in the apsize
255 return (((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1;
257 apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 2) & 0xfff;
258 switch (apsize) {
291 u_int32_t apsize, key, val;
297 apsize = ((aperture - 1) >> 20) ^ 0xff;
302 if ((((apsize ^ 0xff) << 20) | ((1 << 20) - 1)) + 1 != aperture)
305 pci_write_config(dev, sc->regs[REG_APSIZE], apsize, 1);