Searched refs:ioBase (Results 1 - 25 of 44) sorted by relevance

12

/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/
H A Dppc_video.c60 volatile unsigned char *ioBase = MAP_FAILED; variable in typeref:typename:volatile unsigned char *
74 if (ioBase == MAP_FAILED) {
75 ioBase = mmap(NULL, 0x10000, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
77 xf86MsgVerb(X_INFO, 3, "xf86EnableIO: %p\n", ioBase);
78 if (ioBase == MAP_FAILED) {
84 IOPortBase = (unsigned int)ioBase;
95 if (ioBase != MAP_FAILED) {
96 munmap(__UNVOLATILE(ioBase), 0x10000);
97 ioBase = MAP_FAILED;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/
H A Dppc_video.c72 volatile unsigned char *ioBase = MAP_FAILED; variable in typeref:typename:volatile unsigned char *
158 if (ioBase == MAP_FAILED)
160 ioBase = mmap(NULL, 0x10000, PROT_READ|PROT_WRITE, MAP_SHARED, fd,
163 (unsigned long)ioBase);
164 if (ioBase == MAP_FAILED) {
170 IOPortBase = (unsigned int)ioBase;
181 if (ioBase != MAP_FAILED)
183 munmap(__UNVOLATILE(ioBase), 0x10000);
184 ioBase = MAP_FAILED;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/linux/
H A Dlnx_video.c83 volatile unsigned char *ioBase = NULL; variable in typeref:typename:volatile unsigned char *
96 if (ioBase == NULL) {
97 ioBase = (volatile unsigned char *) mmap(0, 0x20000,
103 return ioBase != MAP_FAILED;
109 munmap(ioBase, 0x20000);
110 ioBase = NULL;
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di810_io.c66 addr += pI810->ioBase;
74 addr += pI810->ioBase;
82 outb(pI810->ioBase + addr, val);
88 return inb(pI810->ioBase + addr);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/int10/
H A Dhelper_exec.c334 val = inb(Int10Current->ioBase + port);
356 val = inw(Int10Current->ioBase + port);
390 outb(Int10Current->ioBase + port, val);
401 outw(Int10Current->ioBase + port, val);
411 val = inl(Int10Current->ioBase + port);
424 outl(Int10Current->ioBase + port, val);
659 vga->save_msr = inb(pInt->ioBase + 0x03CC);
660 vga->save_vse = inb(pInt->ioBase + 0x03C3);
662 vga->save_46e8 = inb(pInt->ioBase + 0x46E8);
664 vga->save_pos102 = inb(pInt->ioBase
[all...]
/xsrc/external/mit/xf86-video-vesa/dist/src/
H A Dvesa.h114 unsigned long ioBase; member in struct:_VESARec
H A Dvesa.c1394 pVesa->ioBase = pScrn->domainIOBase;
1396 pVesa->ioBase = 0;
1447 (void)inb(pVesa->ioBase + VGA_IOBASE_COLOR + VGA_IN_STAT_1_OFFSET); \
1448 (void)inb(pVesa->ioBase + VGA_IOBASE_COLOR + VGA_IN_STAT_1_OFFSET); \
1453 outb(pVesa->ioBase + VGA_DAC_WRITE_ADDR, idx);
1455 outb(pVesa->ioBase + VGA_DAC_DATA, colors[idx].red);
1457 outb(pVesa->ioBase + VGA_DAC_DATA, colors[idx].green);
1459 outb(pVesa->ioBase + VGA_DAC_DATA, colors[idx].blue);
1494 (void) inb(pVesa->ioBase + VGA_IOBASE_COLOR + VGA_IN_STAT_1_OFFSET);
1497 outb(pVesa->ioBase
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dcompiler.h602 extern _X_EXPORT volatile unsigned char *ioBase;
712 if (ioBase == MAP_FAILED)
714 xf86WriteMmio8((void *) ioBase, port, value);
720 if (ioBase == MAP_FAILED)
722 xf86WriteMmio16Le((void *) ioBase, port, value);
728 if (ioBase == MAP_FAILED)
730 xf86WriteMmio32Le((void *) ioBase, port, value);
736 if (ioBase == MAP_FAILED)
738 return xf86ReadMmio8((void *) ioBase, port);
744 if (ioBase
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dcompiler.h791 extern _X_EXPORT volatile unsigned char *ioBase;
952 if(ioBase == MAP_FAILED) return;
953 xf86WriteMmio8(ioBase, port, value);
959 if(ioBase == MAP_FAILED) return;
960 xf86WriteMmio16Le(ioBase, port, value);
966 if(ioBase == MAP_FAILED) return;
967 xf86WriteMmio32Le(ioBase, port, value);
973 if(ioBase == MAP_FAILED) return 0;
974 return xf86ReadMmio8(ioBase, port);
980 if(ioBase
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/
H A Dlnx_video.c485 volatile unsigned char *ioBase = NULL; variable in typeref:typename:volatile unsigned char *
508 if (ioBase == NULL) {
509 ioBase = (volatile unsigned char *)mmap(0, 0x20000,
514 if (ioBase == MAP_FAILED) {
550 munmap(ioBase, 0x20000);
551 ioBase = NULL;
/xsrc/external/mit/xf86-video-s3/dist/src/
H A Ds3_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Ds3v_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-siliconmotion/dist/src/
H A Dsmi_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-tga/dist/src/
H A Dtga_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-trident/dist/src/
H A Dpci_rename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-tseng/dist/src/
H A Dtseng_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-i128/dist/src/
H A Di128pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-i740/dist/src/
H A Di740_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-apm/dist/src/
H A Dapm_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-ast/dist/src/
H A Dast_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Datipcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-chips/dist/src/
H A Dct_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-geode/dist/src/
H A Dgeode_pcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Datipcirename.h63 : (_pcidev)->ioBase[(_b)])
/xsrc/external/mit/xf86-video-neomagic/dist/src/
H A Dneo_pcirename.h63 : (_pcidev)->ioBase[(_b)])

Completed in 22 milliseconds

12