Home
last modified time | relevance | path

Searched refs:scr_readw (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/include/linux/
Dvt_buffer.h25 #define scr_readw(addr) (*(addr)) macro
47 scr_writew(scr_readw(s++), d++); in scr_memcpyw()
65 scr_writew(scr_readw(--s), --d); in scr_memmovew()
/Linux-v4.19/drivers/video/console/
Dmdacon.c211 p_save = scr_readw(p); in mda_detect()
212 q_save = scr_readw(q); in mda_detect()
215 if (scr_readw(p) == 0xAA55) in mda_detect()
219 if (scr_readw(p) == 0x55AA) in mda_detect()
232 if (scr_readw(q) == 0xA55A) in mda_detect()
237 if (scr_readw(q) == 0x5AA5) in mda_detect()
418 scr_writew(scr_readw(p) ^ 0x0800, p); in mdacon_invert_region()
439 scr_writew(mda_convert_attr(scr_readw(s++)), dest++); in mdacon_putcs()
Dnewport_con.c407 charattr = (scr_readw(s) >> 8) & 0xff; in newport_putcs()
427 p = &font_data[vc->vc_num][(scr_readw(s++) & 0xff) << 4]; in newport_putcs()
610 chattr = scr_readw(s++); in newport_scroll()
611 if (chattr != scr_readw(d)) { in newport_scroll()
626 if (scr_readw(d) != vc->vc_video_erase_char) { in newport_scroll()
645 chattr = scr_readw(s--); in newport_scroll()
646 if (chattr != scr_readw(d)) { in newport_scroll()
661 if (scr_readw(d) != vc->vc_video_erase_char) { in newport_scroll()
Dvgacon.c538 saved1 = scr_readw(p); in vgacon_startup()
539 saved2 = scr_readw(p + 1); in vgacon_startup()
542 if (scr_readw(p) != 0xAA55 || scr_readw(p + 1) != 0x55AA) { in vgacon_startup()
549 if (scr_readw(p) != 0x55AA || scr_readw(p + 1) != 0xAA55) { in vgacon_startup()
668 u16 a = scr_readw(p); in vgacon_invert_region()
Dsticon.c124 sti_putc(sticon_sti, scr_readw(s++), ypos, xpos++); in sticon_putcs()
308 u16 a = scr_readw(p); in sticon_invert_region()
/Linux-v4.19/arch/sparc/include/asm/
Dvga.h21 #undef scr_readw
30 static inline u16 scr_readw(const u16 *addr) in scr_readw() function
/Linux-v4.19/arch/mips/include/asm/
Dvga.h33 #undef scr_readw
40 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/Linux-v4.19/arch/powerpc/include/asm/
Dvga.h32 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/Linux-v4.19/drivers/video/fbdev/core/
Dbitblit.c87 src = vc->vc_font.data + (scr_readw(s++)& in bit_putcs_aligned()
122 src = vc->vc_font.data + (scr_readw(s++)& in bit_putcs_unaligned()
154 u32 attribute = get_attribute(info, scr_readw(s)); in bit_putcs()
259 c = scr_readw((u16 *) vc->vc_pos); in bit_cursor()
Dfbcon_ud.c96 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ud_putcs_aligned()
131 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ud_putcs_unaligned()
163 u32 attribute = get_attribute(info, scr_readw(s)); in ud_putcs()
279 c = scr_readw((u16 *) vc->vc_pos); in ud_cursor()
Dfbcon_ccw.c109 src = ops->fontbuffer + (scr_readw(s--) & charmask)*cellsize; in ccw_putcs_aligned()
141 u32 attribute = get_attribute(info, scr_readw(s)); in ccw_putcs()
248 c = scr_readw((u16 *) vc->vc_pos); in ccw_cursor()
Dfbcon_cw.c94 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize; in cw_putcs_aligned()
126 u32 attribute = get_attribute(info, scr_readw(s)); in cw_putcs()
231 c = scr_readw((u16 *) vc->vc_pos); in cw_cursor()
Dfbcon.c396 c = scr_readw((u16 *) vc->vc_pos); in fb_flashcursor()
603 if (scr_readw(r) != vc->vc_video_erase_char) in fbcon_prepare_logo()
1321 get_color(vc, info, scr_readw(s), 1), in fbcon_putcs()
1322 get_color(vc, info, scr_readw(s), 0)); in fbcon_putcs()
1347 int c = scr_readw((u16 *) vc->vc_pos); in fbcon_cursor()
1634 c = scr_readw(s); in fbcon_redraw_softback()
1644 if (c == scr_readw(d)) { in fbcon_redraw_softback()
1686 c = scr_readw(s); in fbcon_redraw_move()
1722 c = scr_readw(s); in fbcon_redraw_blit()
1724 if (c == scr_readw(d)) { in fbcon_redraw_blit()
[all …]
Dtileblit.c71 blit.indices[i] = (u32)(scr_readw(s++) & charmask); in tile_putcs()
/Linux-v4.19/arch/alpha/include/asm/
Dvga.h25 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/Linux-v4.19/drivers/tty/vt/
Dvt.c534 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_check()
578 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_copy_line()
605 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_debug_check()
661 u16 attrib = scr_readw(p) & 0xff00; in do_update_region()
665 if (attrib != (scr_readw(p) & 0xff00)) { in do_update_region()
670 attrib = scr_readw(p) & 0xff00; in do_update_region()
771 a = scr_readw(q); in invert_screen()
778 a = scr_readw(q); in invert_screen()
785 a = scr_readw(q); in invert_screen()
822 old = scr_readw(p); in complement_pos()
[all …]
/Linux-v4.19/drivers/staging/speakup/
Dmain.c261 return (scr_readw(pos) & ~vc->vc_hi_font_mask) >> 8; in get_attributes()
469 w = scr_readw(pos); in get_char()