Home
last modified time | relevance | path

Searched refs:ioBase (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/
H A Dppc_video.c57 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 Dlnx_video.c83 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 Dcompiler.h606 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 D0001-Avoid-duplicate-definitions-of-IOPortBase.patch29 volatile unsigned char *ioBase = NULL;