Searched refs:ioBase (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/ |
| H A D | ppc_video.c | 57 volatile unsigned char *ioBase = MAP_FAILED; variable 65 if (ioBase == MAP_FAILED) { in xf86EnableIO() 66 ioBase = mmap(NULL, 0x10000, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in xf86EnableIO() 68 xf86MsgVerb(X_INFO, 3, "xf86EnableIO: %08x\n", ioBase); in xf86EnableIO() 69 if (ioBase == MAP_FAILED) { in xf86EnableIO() 81 if (ioBase != MAP_FAILED) { in xf86DisableIO() 82 munmap(__UNVOLATILE(ioBase), 0x10000); in xf86DisableIO() 83 ioBase = MAP_FAILED; in xf86DisableIO()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/ |
| H A D | lnx_video.c | 83 volatile unsigned char *ioBase = NULL; variable 96 if (ioBase == NULL) { in hwEnableIO() 97 ioBase = (volatile unsigned char *) mmap(0, 0x20000, in hwEnableIO() 103 return ioBase != MAP_FAILED; in hwEnableIO() 109 munmap(ioBase, 0x20000); in hwDisableIO() 110 ioBase = NULL; in hwDisableIO()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | compiler.h | 606 extern _X_EXPORT volatile unsigned char *ioBase; 716 if (ioBase == MAP_FAILED) in outb() 718 xf86WriteMmio8((void *) ioBase, port, value); in outb() 724 if (ioBase == MAP_FAILED) in outw() 726 xf86WriteMmio16Le((void *) ioBase, port, value); in outw() 732 if (ioBase == MAP_FAILED) in outl() 734 xf86WriteMmio32Le((void *) ioBase, port, value); in outl() 740 if (ioBase == MAP_FAILED) in inb() 742 return xf86ReadMmio8((void *) ioBase, port); in inb() 748 if (ioBase == MAP_FAILED) in inw() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-xserver/xserver-xorg/ |
| H A D | 0001-Avoid-duplicate-definitions-of-IOPortBase.patch | 29 volatile unsigned char *ioBase = NULL;
|