Lines Matching refs:INTPriv
81 #define INTPriv(x) ((genericInt10Priv*)x->private) macro
141 INTPriv(pInt)->alloc = (void *) xnfcalloc(1, ALLOC_ENTRIES(getpagesize())); in xf86ExtendedInitInt10()
143 base = INTPriv(pInt)->base = xnfalloc(SYS_BIOS); in xf86ExtendedInitInt10()
159 INTPriv(pInt)->sysMem = sysMem; in xf86ExtendedInitInt10()
171 INTPriv(pInt)->highMemory = V_BIOS; in xf86ExtendedInitInt10()
205 INTPriv(pInt)->highMemory = GET_HIGH_BASE(rom_device->rom_size); in xf86ExtendedInitInt10()
222 INTPriv(pInt)->sysMem = sysMem; in xf86ExtendedInitInt10()
280 free(INTPriv(pInt)->alloc); in xf86ExtendedInitInt10()
296 &(INTPriv(pInt)->vRam)); in MapVRam()
306 pci_device_unmap_legacy(pInt->dev, INTPriv(pInt)->vRam, size); in UnmapVRam()
328 free(INTPriv(pInt)->base); in xf86FreeInt10()
330 free(INTPriv(pInt)->alloc); in xf86FreeInt10()
343 if (INTPriv(pInt)->alloc[i] == 0) { in xf86Int10AllocPages()
345 if (INTPriv(pInt)->alloc[j] != 0) in xf86Int10AllocPages()
356 INTPriv(pInt)->alloc[j] = 1; in xf86Int10AllocPages()
360 return (char *) INTPriv(pInt)->base + *off; in xf86Int10AllocPages()
368 (((char *) pbase - (char *) INTPriv(pInt)->base) / pagesize) - 1; in xf86Int10FreePages()
372 INTPriv(pInt)->alloc[i] = 0; in xf86Int10FreePages()
377 #define HIGH_OFFSET (INTPriv(pInt)->highMemory)
385 (SYS(addr) ? ((char*)INTPriv(pInt)->sysMem) + (addr - HIGH_BASE) \
386 : (((char*)(INTPriv(pInt)->base) + addr)))
388 #define VRAM_BASE (INTPriv(pInt)->vRam)