Searched refs:con2fb (Results 1 – 3 of 3) sorted by relevance
1074 struct fb_con2fbmap con2fb; in do_fb_ioctl() local1142 if (copy_from_user(&con2fb, argp, sizeof(con2fb))) in do_fb_ioctl()1144 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in do_fb_ioctl()1146 con2fb.framebuffer = -1; in do_fb_ioctl()1147 event.data = &con2fb; in do_fb_ioctl()1153 ret = copy_to_user(argp, &con2fb, sizeof(con2fb)) ? -EFAULT : 0; in do_fb_ioctl()1156 if (copy_from_user(&con2fb, argp, sizeof(con2fb))) in do_fb_ioctl()1158 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in do_fb_ioctl()1160 if (con2fb.framebuffer < 0 || con2fb.framebuffer >= FB_MAX) in do_fb_ioctl()1162 if (!registered_fb[con2fb.framebuffer]) in do_fb_ioctl()[all …]
57 # con2fb /dev/fbx /dev/ttyx61 cat /proc/fb. You can find a copy of con2fb in tools/ directory.67 # con2fb /dev/fbx /dev/ttyx119 - con2fb , maps a tty to a fbramebuffer .120 con2fb /dev/fb1 /dev/tty5
3253 struct fb_con2fbmap *con2fb; in fbcon_event_notify() local3294 con2fb = event->data; in fbcon_event_notify()3295 ret = set_con2fb_map(con2fb->console - 1, in fbcon_event_notify()3296 con2fb->framebuffer, 1); in fbcon_event_notify()3299 con2fb = event->data; in fbcon_event_notify()3300 con2fb->framebuffer = con2fb_map[con2fb->console - 1]; in fbcon_event_notify()