Home
last modified time | relevance | path

Searched refs:vt_cons (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dvt.c59 struct vt_struct *vt_cons[MAX_NR_CONSOLES]; variable
550 if (vt_cons[console]->vc_mode == (unsigned char) arg) in vt_ioctl()
552 vt_cons[console]->vc_mode = (unsigned char) arg; in vt_ioctl()
565 ucval = vt_cons[console]->vc_mode; in vt_ioctl()
730 vt_cons[console]->vt_mode = tmp; in vt_ioctl()
732 vt_cons[console]->vt_mode.frsig = 0; in vt_ioctl()
733 vt_cons[console]->vt_pid = current->pid; in vt_ioctl()
735 vt_cons[console]->vt_newvt = -1; in vt_ioctl()
740 return copy_to_user((void*)arg, &(vt_cons[console]->vt_mode), in vt_ioctl()
812 if (vt_cons[console]->vt_mode.mode != VT_PROCESS) in vt_ioctl()
[all …]
Dconsole.c684 vt_cons[currcons] = (struct vt_struct *)(p+sizeof(struct vc_data)); in vc_allocate()
692 vt_cons[currcons] = NULL; in vc_allocate()
2407 vt_cons[currcons]->vc_num = currcons; in con_open()
2408 tty->driver_data = vt_cons[currcons]; in con_open()
2448 init_waitqueue_head(&vt_cons[currcons]->paste_wait); in vc_init()
2521 vt_cons[currcons] = (struct vt_struct *) in con_init()
2795 if (!vt_cons[fg_console] || vt_cons[fg_console]->vc_mode == KD_GRAPHICS) in poke_blanked_console()
2891 if (vt_cons[currcons]->vc_mode != KD_TEXT) in con_font_op()
3048 EXPORT_SYMBOL(vt_cons);
Dconsole_macros.h68 #define vcmode (vt_cons[currcons]->vc_mode)
/linux-2.4.37.9/include/linux/
Dvt_kern.h32 } *vt_cons[MAX_NR_CONSOLES]; variable
/linux-2.4.37.9/drivers/video/sti/
Dsticon.c103 if (vt_cons[unit]->vc_mode != KD_TEXT) in sticon_putc()
127 if (vt_cons[unit]->vc_mode != KD_TEXT) in sticon_putcs()
/linux-2.4.37.9/drivers/video/
Dsbusfb.c157 vt_cons[fb->vtconsole]->vc_mode = KD_TEXT; in sbusfb_release()
233 vt_cons [lastconsole]->vc_mode = KD_GRAPHICS; in sbusfb_mmap()
578 if (vt_cons[lastconsole]->vc_mode == KD_TEXT) in sbusfb_ioctl()
693 if (vt_cons[lastconsole]->vc_mode == KD_TEXT) in sbusfb_ioctl()
704 if (vt_cons[lastconsole]->vc_mode == KD_TEXT) in sbusfb_ioctl()
928 else if (vt_cons[i]->vc_mode != KD_GRAPHICS) in sbusfb_palette()
Dfbcon.c742 vt_cons[conp->vc_num]->vc_mode == KD_TEXT) { in fbcon_setup()
852 if (vt_cons[unit]->vc_mode != KD_TEXT) in fbcon_putc()
877 if (vt_cons[unit]->vc_mode != KD_TEXT) in fbcon_putcs()
1309 if (!count || vt_cons[unit]->vc_mode != KD_TEXT) in fbcon_scroll()
1554 if (p->dispsw->clear_margins && vt_cons[unit]->vc_mode == KD_TEXT) in fbcon_switch()
1783 } else if (CON_IS_VISIBLE(p->conp) && vt_cons[unit]->vc_mode == KD_TEXT) { in fbcon_do_set_font()
2055 if (vt_cons[unit]->vc_mode != KD_TEXT || !lines) in fbcon_scrolldelta()
2099 (console_blanked || vt_cons[unit]->vc_mode != KD_TEXT || !lines)) in fbcon_scrolldelta()
Digafb.c304 vt_cons[lastconsole]->vc_mode = KD_GRAPHICS; in igafb_mmap()
Dsun3fb.c514 else if (vt_cons[i]->vc_mode != KD_GRAPHICS) in sun3fb_palette()
Dtdfxfb.c2170 if (old_con>=0 && vt_cons[old_con]->vc_mode!=KD_GRAPHICS) { in tdfxfb_switch_con()
Depson1356fb.c2824 if (old_con>=0 && vt_cons[old_con]->vc_mode!=KD_GRAPHICS) { in e1356fb_switch_con()
/linux-2.4.37.9/drivers/video/intel/
Dintelfbdrv.c1522 dinfo->vc_mode = con >= 0 ? vt_cons[con]->vc_mode : KD_TEXT; in intelfb_switch()
1715 if (vt_cons[dinfo->currcon]->vc_mode != dinfo->vc_mode) { in check_vc_mode()
1716 dinfo->vc_mode = vt_cons[dinfo->currcon]->vc_mode; in check_vc_mode()
/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c1172 vt_cons[fb->vtconsole]->vc_mode = KD_TEXT; in atyfb_release()
1651 vt_cons[lastconsole]->vc_mode = KD_GRAPHICS; in atyfb_mmap()