Searched refs:fbattr (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/ |
| H A D | sun_init.c | 286 struct fbgattr fbattr; in xf86CloseConsole() local 288 if ((ioctl(fd, FBIOGATTR, &fbattr) < 0) && in xf86CloseConsole() 289 (ioctl(fd, FBIOGTYPE, &fbattr.fbtype) < 0)) { in xf86CloseConsole() 297 fbdata = mmap(NULL, fbattr.fbtype.fb_size, in xf86CloseConsole() 305 memset(fbdata, 0, fbattr.fbtype.fb_size); in xf86CloseConsole() 306 munmap(fbdata, fbattr.fbtype.fb_size); in xf86CloseConsole()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86sbusBus.c | 51 struct fbgattr fbattr; in CheckSbusDevice() local 57 memset(&fbattr, 0, sizeof(fbattr)); in CheckSbusDevice() 58 if (ioctl(fd, FBIOGATTR, &fbattr) < 0) { in CheckSbusDevice() 59 if (ioctl(fd, FBIOGTYPE, &fbattr.fbtype) < 0) { in CheckSbusDevice() 66 if (sbusDeviceTable[i].fbType == fbattr.fbtype.fb_type) in CheckSbusDevice() 77 psdp->width = fbattr.fbtype.fb_width; in CheckSbusDevice() 78 psdp->height = fbattr.fbtype.fb_height; in CheckSbusDevice()
|