Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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()
420 scr_writew(scr_readw(p) ^ 0x0800, p); in mdacon_invert_region()
441 scr_writew(mda_convert_attr(scr_readw(s++)), dest++); in mdacon_putcs()
Dnewport_con.c406 charattr = (scr_readw(s) >> 8) & 0xff; in newport_putcs()
426 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.c307 saved1 = scr_readw(p); in vgacon_startup()
308 saved2 = scr_readw(p + 1); in vgacon_startup()
311 if (scr_readw(p) != 0xAA55 || scr_readw(p + 1) != 0x55AA) { in vgacon_startup()
318 if (scr_readw(p) != 0x55AA || scr_readw(p + 1) != 0xAA55) { in vgacon_startup()
438 u16 a = scr_readw(p); in vgacon_invert_region()
Dsticon.c95 sti_putc(sticon_sti, scr_readw(s++), ypos, xpos++, in sticon_putcs()
350 u16 a = scr_readw(p); in sticon_invert_region()
/linux-5.19.10/arch/sparc/include/asm/
Dvga.h21 #undef scr_readw
30 static inline u16 scr_readw(const u16 *addr) in scr_readw() function
/linux-5.19.10/arch/mips/include/asm/
Dvga.h33 #undef scr_readw
40 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/linux-5.19.10/arch/powerpc/include/asm/
Dvga.h32 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/linux-5.19.10/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()
250 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()
270 c = scr_readw((u16 *) vc->vc_pos); in ud_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()
222 c = scr_readw((u16 *) vc->vc_pos); in cw_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()
239 c = scr_readw((u16 *) vc->vc_pos); in ccw_cursor()
Dfbcon.c377 c = scr_readw((u16 *) vc->vc_pos); in fb_flashcursor()
577 if (scr_readw(r) != vc->vc_video_erase_char) in fbcon_prepare_logo()
1288 get_color(vc, info, scr_readw(s), 1), in fbcon_putcs()
1289 get_color(vc, info, scr_readw(s), 0)); in fbcon_putcs()
1313 int c = scr_readw((u16 *) vc->vc_pos); in fbcon_cursor()
1551 c = scr_readw(s); in fbcon_redraw_move()
1587 c = scr_readw(s); in fbcon_redraw_blit()
1589 if (c == scr_readw(d)) { in fbcon_redraw_blit()
1636 c = scr_readw(s); in fbcon_redraw()
1646 if (c == scr_readw(d)) { in fbcon_redraw()
[all …]
Dtileblit.c71 blit.indices[i] = (u32)(scr_readw(s++) & charmask); in tile_putcs()
/linux-5.19.10/arch/alpha/include/asm/
Dvga.h25 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/linux-5.19.10/drivers/tty/vt/
Dvt.c533 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_check()
577 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_copy_line()
604 u16 glyph = scr_readw(p++) & mask; in vc_uniscr_debug_check()
660 u16 attrib = scr_readw(p) & 0xff00; in do_update_region()
664 if (attrib != (scr_readw(p) & 0xff00)) { in do_update_region()
669 attrib = scr_readw(p) & 0xff00; in do_update_region()
773 a = scr_readw(q); in invert_screen()
780 a = scr_readw(q); in invert_screen()
789 a = scr_readw(q); in invert_screen()
828 old = scr_readw(p); in complement_pos()
[all …]
/linux-5.19.10/drivers/accessibility/speakup/
Dmain.c260 return (scr_readw(pos) & ~vc->vc_hi_font_mask) >> 8; in get_attributes()
465 w = scr_readw(pos); in get_char()