Lines Matching defs:sunFbs
238 fbFd sunFbs[MAXSCREENS];
272 sunFbs[screen].fd = -1;
277 if ((sunFbs[screen].fd = open(device, O_RDWR, 0)) == -1)
281 if (ioctl(sunFbs[screen].fd, FBIOGATTR, fbattr) == -1) {
293 if (ioctl(sunFbs[screen].fd, FBIOGTYPE, &sunFbs[screen].info) == -1) {
295 (void) close(sunFbs[screen].fd);
296 sunFbs[screen].fd = -1;
310 (void) close(sunFbs[screen].fd);
311 sunFbs[screen].fd = -1;
314 sunFbs[screen].info = fbattr->fbtype;
316 sunFbs[screen].fbPriv = (void *) fbattr;
322 sunFbs[screen].info.fb_type = fbattr->emu_types[_i];
331 sunFbData[fbattr ? fbattr->fbtype.fb_type : sunFbs[screen].info.fb_type].name);
335 sunFbs[screen].fd = -1;
577 sunFbs[scr].fd = -1;
586 if (sunFbs[scr].fd != -1)
587 (void) AddScreen (sunFbData[sunFbs[scr].info.fb_type].init,