Searched refs:fbattr (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A Dconstype.c157 struct fbgattr fbattr; local in function:wu_fbid
179 if ((*fbtype = ioctl(fd, FBIOGATTR, &fbattr)) < 0)
180 *fbtype = ioctl(fd, FBIOGTYPE, &fbattr.fbtype);
190 *fbtype = fbattr.fbtype.fb_type;
H A DsunInit.c280 struct fbgattr *fbattr; local in function:OpenFrameBuffer
291 fbattr = (struct fbgattr *) xalloc (sizeof (struct fbgattr));
292 if (ioctl(sunFbs[screen].fd, FBIOGATTR, fbattr) == -1) {
302 xfree (fbattr);
303 fbattr = NULL;
318 if (fbattr) {
319 if (fbattr->fbtype.fb_type >= XFBTYPE_LASTPLUSONE) {
325 sunFbs[screen].info = fbattr->fbtype;
327 sunFbs[screen].fbPriv = (pointer) fbattr;
328 if (fbattr
[all...]
/xsrc/external/mit/xorg-server/dist/hw/sun/
H A Dconstype.c157 struct fbgattr fbattr; local in function:wu_fbid
179 if ((*fbtype = ioctl(fd, FBIOGATTR, &fbattr)) < 0)
180 *fbtype = ioctl(fd, FBIOGTYPE, &fbattr.fbtype);
190 *fbtype = fbattr.fbtype.fb_type;
H A DsunInit.c269 struct fbgattr *fbattr; local in function:OpenFrameBuffer
280 fbattr = malloc (sizeof (struct fbgattr));
281 if (ioctl(sunFbs[screen].fd, FBIOGATTR, fbattr) == -1) {
291 free (fbattr);
292 fbattr = NULL;
307 if (fbattr) {
308 if (fbattr->fbtype.fb_type >= XFBTYPE_LASTPLUSONE) {
314 sunFbs[screen].info = fbattr->fbtype;
316 sunFbs[screen].fbPriv = (void *) fbattr;
317 if (fbattr
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
H A Dsun_init.c307 struct fbgattr fbattr; local in function:xf86CloseConsole
309 if ((ioctl(fd, FBIOGATTR, &fbattr) < 0) &&
310 (ioctl(fd, FBIOGTYPE, &fbattr.fbtype) < 0)) {
317 fbdata = mmap(NULL, fbattr.fbtype.fb_size,
324 memset(fbdata, 0, fbattr.fbtype.fb_size);
325 munmap(fbdata, fbattr.fbtype.fb_size);
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
H A Dsun_init.c286 struct fbgattr fbattr; local in function:xf86CloseConsole
288 if ((ioctl(fd, FBIOGATTR, &fbattr) < 0) &&
289 (ioctl(fd, FBIOGTYPE, &fbattr.fbtype) < 0)) {
297 fbdata = mmap(NULL, fbattr.fbtype.fb_size,
305 memset(fbdata, 0, fbattr.fbtype.fb_size);
306 munmap(fbdata, fbattr.fbtype.fb_size);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86sbusBus.c51 struct fbgattr fbattr; local in function:CheckSbusDevice
57 memset(&fbattr, 0, sizeof(fbattr));
58 if (ioctl(fd, FBIOGATTR, &fbattr) < 0) {
59 if (ioctl(fd, FBIOGTYPE, &fbattr.fbtype) < 0) {
66 if (sbusDeviceTable[i].fbType == fbattr.fbtype.fb_type)
76 psdp->width = fbattr.fbtype.fb_width;
77 psdp->height = fbattr.fbtype.fb_height;
78 psdp->size = fbattr.fbtype.fb_size;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86sbusBus.c51 struct fbgattr fbattr; local in function:CheckSbusDevice
57 memset(&fbattr, 0, sizeof(fbattr));
58 if (ioctl(fd, FBIOGATTR, &fbattr) < 0) {
59 if (ioctl(fd, FBIOGTYPE, &fbattr.fbtype) < 0) {
66 if (sbusDeviceTable[i].fbType == fbattr.fbtype.fb_type)
77 psdp->width = fbattr.fbtype.fb_width;
78 psdp->height = fbattr.fbtype.fb_height;

Completed in 6 milliseconds