Lines Matching defs:sunFbs
249 fbFd sunFbs[MAXSCREENS];
283 sunFbs[screen].fd = -1;
288 if ((sunFbs[screen].fd = open(device, O_RDWR, 0)) == -1)
292 if (ioctl(sunFbs[screen].fd, FBIOGATTR, fbattr) == -1) {
304 if (ioctl(sunFbs[screen].fd, FBIOGTYPE, &sunFbs[screen].info) == -1) {
306 (void) close(sunFbs[screen].fd);
307 sunFbs[screen].fd = -1;
321 (void) close(sunFbs[screen].fd);
322 sunFbs[screen].fd = -1;
325 sunFbs[screen].info = fbattr->fbtype;
327 sunFbs[screen].fbPriv = (pointer) fbattr;
333 sunFbs[screen].info.fb_type = fbattr->emu_types[_i];
342 sunFbData[fbattr ? fbattr->fbtype.fb_type : sunFbs[screen].info.fb_type].name);
346 sunFbs[screen].fd = -1;
625 sunFbs[scr].fd = -1;
634 if (sunFbs[scr].fd != -1)
635 (void) AddScreen (sunFbData[sunFbs[scr].info.fb_type].init,