Home
last modified time | relevance | path

Searched refs:con2fb (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/video/fbdev/core/
Dfbmem.c1083 struct fb_con2fbmap con2fb; in do_fb_ioctl() local
1155 if (copy_from_user(&con2fb, argp, sizeof(con2fb))) in do_fb_ioctl()
1157 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in do_fb_ioctl()
1159 con2fb.framebuffer = -1; in do_fb_ioctl()
1160 event.data = &con2fb; in do_fb_ioctl()
1166 ret = copy_to_user(argp, &con2fb, sizeof(con2fb)) ? -EFAULT : 0; in do_fb_ioctl()
1169 if (copy_from_user(&con2fb, argp, sizeof(con2fb))) in do_fb_ioctl()
1171 if (con2fb.console < 1 || con2fb.console > MAX_NR_CONSOLES) in do_fb_ioctl()
1173 if (con2fb.framebuffer >= FB_MAX) in do_fb_ioctl()
1175 if (!registered_fb[con2fb.framebuffer]) in do_fb_ioctl()
[all …]
Dfbcon.c3324 struct fb_con2fbmap *con2fb; in fbcon_event_notify() local
3365 con2fb = event->data; in fbcon_event_notify()
3366 ret = set_con2fb_map(con2fb->console - 1, in fbcon_event_notify()
3367 con2fb->framebuffer, 1); in fbcon_event_notify()
3370 con2fb = event->data; in fbcon_event_notify()
3371 con2fb->framebuffer = con2fb_map[con2fb->console - 1]; in fbcon_event_notify()
/Linux-v4.19/Documentation/fb/
Dsstfb.txt57 # con2fb /dev/fbx /dev/ttyx
61 cat /proc/fb. You can find a copy of con2fb in tools/ directory.
67 # con2fb /dev/fbx /dev/ttyx
119 - con2fb , maps a tty to a fbramebuffer .
120 con2fb /dev/fb1 /dev/tty5
/Linux-v4.19/drivers/staging/sm750fb/
Dreadme20 and user can use con2fb to link fbX and ttyX