/kernel/linux/linux-5.10/include/linux/ |
H A D | consolemap.h | 20 extern u16 inverse_translate(const struct vc_data *conp, int glyph, 28 #define inverse_translate(conp, glyph, uni) ((uint16_t)glyph)
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | consolemap.h | 25 u16 inverse_translate(const struct vc_data *conp, u16 glyph, bool use_unicode); 32 static inline u16 inverse_translate(const struct vc_data *conp, u16 glyph, in inverse_translate() argument 35 return glyph; in inverse_translate()
|
/kernel/linux/linux-6.6/drivers/tty/vt/ |
H A D | consolemap.c | 187 #define MAX_GLYPH 512 /* Max possible glyph value */ 203 #define UNI(dir, row, glyph) (FIELD_PREP(UNI_DIR_BITS, (dir)) | \ 205 FIELD_PREP(UNI_GLYPH_BITS, (glyph))) 245 int glyph = conv_uni_to_pc(conp, t[ch]); in set_inverse_transl() local 246 if (glyph >= 0 && glyph < MAX_GLYPH && inv[glyph] < 32) { in set_inverse_transl() 248 inv[glyph] = ch; in set_inverse_transl() 279 u16 glyph = row[g]; in set_inverse_trans_unicode() local 280 if (glyph < MAX_GLYP in set_inverse_trans_unicode() 300 inverse_translate(const struct vc_data *conp, u16 glyph, bool use_unicode) inverse_translate() argument 866 u16 **dir, *row, glyph; conv_uni_to_pc() local [all...] |
H A D | vt.c | 70 * original codes or '?' as a last resort if replacement glyph is undefined 511 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_check() local 512 line[x] = inverse_translate(vc, glyph, true); in vc_uniscr_check() 557 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_copy_line() local 558 *uni_buf++ = inverse_translate(vc, glyph, true); in vc_uniscr_copy_line() 2711 * as cursor movement) and should not be displayed as a glyph unless in vc_is_control() 2725 * If the original code was a control character we only allow a glyph in vc_is_control() 2773 * In legacy mode use the glyph we get by a 1:1 in vc_con_write_normal()
|
/kernel/linux/linux-5.10/drivers/tty/vt/ |
H A D | consolemap.c | 185 #define MAX_GLYPH 512 /* Max possible glyph value */ 201 int j, glyph; in set_inverse_transl() local 215 glyph = conv_uni_to_pc(conp, t[j]); in set_inverse_transl() 216 if (glyph >= 0 && glyph < MAX_GLYPH && q[glyph] < 32) { in set_inverse_transl() 218 q[glyph] = j; in set_inverse_transl() 226 int i, j, k, glyph; in set_inverse_trans_unicode() local 249 glyph = p2[k]; in set_inverse_trans_unicode() 250 if (glyph > in set_inverse_trans_unicode() 271 inverse_translate(const struct vc_data *conp, int glyph, int use_unicode) inverse_translate() argument [all...] |
H A D | vt.c | 70 * original codes or '?' as a last resort if replacement glyph is undefined 533 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_check() local 534 line[x] = inverse_translate(vc, glyph, true); in vc_uniscr_check() 577 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_copy_line() local 578 *uni_buf++ = inverse_translate(vc, glyph, true); in vc_uniscr_copy_line() 604 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_debug_check() local 611 if (tc != glyph) in vc_uniscr_debug_check() 613 "%s: mismatch at %d,%d: glyph=%#x tc=%#x\n", in vc_uniscr_debug_check() 614 __func__, x, y, glyph, tc); in vc_uniscr_debug_check() 2758 * as cursor movement) and should not be displayed as a glyph unles in vc_is_control() [all...] |
/kernel/linux/linux-5.10/drivers/accessibility/braille/ |
H A D | braille_console.c | 132 u16 glyph = screen_glyph(vc, in vc_refresh() local 134 buf[i] = inverse_translate(vc, glyph, 1); in vc_refresh()
|
/kernel/linux/linux-6.6/drivers/accessibility/braille/ |
H A D | braille_console.c | 131 u16 glyph = screen_glyph(vc, in vc_refresh() local 133 buf[i] = inverse_translate(vc, glyph, true); in vc_refresh()
|