Lines Matching refs:vc
287 unsigned short *set_translate(enum translation_map m, struct vc_data *vc)
289 inv_translate[vc->vc_num] = m;
453 void con_free_unimap(struct vc_data *vc)
457 p = *vc->uni_pagedict_loc;
460 *vc->uni_pagedict_loc = NULL;
541 static int con_allocate_new(struct vc_data *vc)
543 struct uni_pagedict *new, *old = *vc->uni_pagedict_loc;
550 *vc->uni_pagedict_loc = new;
559 static int con_do_clear_unimap(struct vc_data *vc)
561 struct uni_pagedict *old = *vc->uni_pagedict_loc;
564 return con_allocate_new(vc);
572 int con_clear_unimap(struct vc_data *vc)
576 ret = con_do_clear_unimap(vc);
581 static struct uni_pagedict *con_unshare_unimap(struct vc_data *vc,
589 ret = con_allocate_new(vc);
593 new = *vc->uni_pagedict_loc;
626 *vc->uni_pagedict_loc = old;
638 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list)
654 dict = *vc->uni_pagedict_loc;
661 dict = con_unshare_unimap(vc, dict);
682 if (con_unify_unimap(vc, dict))
686 set_inverse_transl(vc, dict, m);
697 * @vc: the console we are updating
706 int con_set_default_unimap(struct vc_data *vc)
714 dict = *vc->uni_pagedict_loc;
719 *vc->uni_pagedict_loc = dflt;
729 err = con_do_clear_unimap(vc);
733 dict = *vc->uni_pagedict_loc;
743 if (con_unify_unimap(vc, dict)) {
744 dflt = *vc->uni_pagedict_loc;
749 set_inverse_transl(vc, dict, m);
785 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct,
801 dict = *vc->uni_pagedict_loc;