Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/drivers/video/
Dpromcon.c56 cs = scr_readw(s); in promcon_start()
59 u16 ct = scr_readw(t); in promcon_start()
90 cs = scr_readw(s); in promcon_end()
93 u16 ct = scr_readw(t); in promcon_end()
215 u16 c = scr_readw(s); in promcon_repaint_line()
242 unsigned short attr = scr_readw(s); in promcon_putcs()
257 save = scr_readw((unsigned short *)(conp->vc_origin in promcon_putcs()
268 b += sprintf(b, "\033[7m%c\033[m", scr_readw(s++)); in promcon_putcs()
270 b += sprintf(b, "%c", scr_readw(s++)); in promcon_putcs()
307 *b++ = scr_readw(s++); in promcon_putcs()
[all …]
Dmdacon.c224 p_save = scr_readw(p); q_save = scr_readw(q); in mda_detect()
226 scr_writew(0xAA55, p); if (scr_readw(p) == 0xAA55) count++; in mda_detect()
227 scr_writew(0x55AA, p); if (scr_readw(p) == 0x55AA) count++; in mda_detect()
237 if (scr_readw(q) == 0xA55A) count++; in mda_detect()
240 if (scr_readw(q) == 0x5AA5) count++; in mda_detect()
425 scr_writew(scr_readw(p) ^ 0x0800, p); in mdacon_invert_region()
443 scr_writew(mda_convert_attr(scr_readw(s++)), dest++); in mdacon_putcs()
Dfbcon-ilbm.c157 c1 = scr_readw(s); in fbcon_ilbm_putcs()
163 c1 = scr_readw(s++) & p->charmask; in fbcon_ilbm_putcs()
189 c1 = scr_readw(&s[0]) & p->charmask; in fbcon_ilbm_putcs()
190 c2 = scr_readw(&s[1]) & p->charmask; in fbcon_ilbm_putcs()
191 c3 = scr_readw(&s[2]) & p->charmask; in fbcon_ilbm_putcs()
192 c4 = scr_readw(&s[3]) & p->charmask; in fbcon_ilbm_putcs()
Dleofb.c295 c = scr_readw(s); in leo_putcs()
314 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in leo_putcs()
315 fd2 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in leo_putcs()
316 fd3 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in leo_putcs()
317 fd4 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in leo_putcs()
319 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in leo_putcs()
320 fd2 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in leo_putcs()
321 fd3 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in leo_putcs()
322 fd4 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in leo_putcs()
350 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) << (fontheightlog(p) + 1)); in leo_putcs()
[all …]
Dcgsixfb.c373 c = scr_readw(s); in cg6_putcs()
401 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in cg6_putcs()
402 fd2 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in cg6_putcs()
403 fd3 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in cg6_putcs()
404 fd4 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in cg6_putcs()
406 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in cg6_putcs()
407 fd2 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in cg6_putcs()
408 fd3 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in cg6_putcs()
409 fd4 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in cg6_putcs()
443 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) << (fontheightlog(p) + 1)); in cg6_putcs()
[all …]
Dfbcon-afb.c293 c1 = scr_readw(s); in fbcon_afb_putcs()
299 c1 = scr_readw(s++) & p->charmask; in fbcon_afb_putcs()
326 c1 = scr_readw(&s[0]) & p->charmask; in fbcon_afb_putcs()
327 c2 = scr_readw(&s[1]) & p->charmask; in fbcon_afb_putcs()
328 c3 = scr_readw(&s[2]) & p->charmask; in fbcon_afb_putcs()
329 c4 = scr_readw(&s[3]) & p->charmask; in fbcon_afb_putcs()
Dcreatorfb.c482 c = scr_readw(s); in ffb_putcs()
506 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in ffb_putcs()
507 fd2 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in ffb_putcs()
508 fd3 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in ffb_putcs()
509 fd4 = p->fontdata + ((scr_readw(s++) & p->charmask) << fontheightlog(p)); in ffb_putcs()
511 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in ffb_putcs()
512 fd2 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in ffb_putcs()
513 fd3 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in ffb_putcs()
514 fd4 = p->fontdata + ((scr_readw(s++) & p->charmask) * fontheight(p)); in ffb_putcs()
541 fd1 = p->fontdata + ((scr_readw(s++) & p->charmask) << (fontheightlog(p) + 1)); in ffb_putcs()
[all …]
Dnewport_con.c388 charattr = (scr_readw(s) >> 8) & 0xff; in newport_putcs()
408 p = &font_data[vc->vc_num][(scr_readw(s++) & 0xff) << 4]; in newport_putcs()
605 chattr = scr_readw(s++); in newport_scroll()
606 if (chattr != scr_readw(d)) { in newport_scroll()
621 if (scr_readw(d) != vc->vc_video_erase_char) { in newport_scroll()
640 chattr = scr_readw(s--); in newport_scroll()
641 if (chattr != scr_readw(d)) { in newport_scroll()
656 if (scr_readw(d) != vc->vc_video_erase_char) { in newport_scroll()
Dfbcon-vga.c158 vga_writew(scr_readw(s++), dst++); in fbcon_vga_putcs()
160 sattr = fbcon_vga_attr(p, scr_readw(s)); in fbcon_vga_putcs()
162 vga_writew(sattr | ((int) (scr_readw(s++)) & 0xff), dst++); in fbcon_vga_putcs()
Dfbcon-cfb8.c166 c = scr_readw(s); in fbcon_cfb8_putcs()
177 c = scr_readw(s++) & p->charmask; in fbcon_cfb8_putcs()
187 c = scr_readw(s++) & p->charmask; in fbcon_cfb8_putcs()
200 c = scr_readw(s++) & p->charmask; in fbcon_cfb8_putcs()
Dfbcon-vga-planes.c239 u16 c = scr_readw(s); in fbcon_ega_planes_putcs()
258 int c = scr_readw(s++) & p->charmask; in fbcon_ega_planes_putcs()
278 u16 c = scr_readw(s); in fbcon_vga_planes_putcs()
300 int c = scr_readw(s++) & p->charmask; in fbcon_vga_planes_putcs()
Dvgacon.c291 saved1 = scr_readw(p); in vgacon_startup()
292 saved2 = scr_readw(p + 1); in vgacon_startup()
295 if (scr_readw(p) != 0xAA55 || scr_readw(p + 1) != 0x55AA) { in vgacon_startup()
302 if (scr_readw(p) != 0x55AA || scr_readw(p + 1) != 0xAA55) { in vgacon_startup()
391 u16 a = scr_readw(p); in vgacon_invert_region()
Dfbcon-cfb2.c157 c = scr_readw(s); in fbcon_cfb2_putcs()
166 c = scr_readw(s++) & p->charmask; in fbcon_cfb2_putcs()
Dfbcon-cfb4.c159 c = scr_readw(s); in fbcon_cfb4_putcs()
170 c = scr_readw(s++) & p->charmask; in fbcon_cfb4_putcs()
Dfbcon-cfb16.c181 c = scr_readw(s); in fbcon_cfb16_putcs()
192 c = scr_readw(s++) & p->charmask; in fbcon_cfb16_putcs()
209 c = scr_readw(s++) & p->charmask; in fbcon_cfb16_putcs()
Dfbcon-hga.c151 c = scr_readw(s); in fbcon_hga_putcs()
158 c = scr_readw(s++) & p->charmask; in fbcon_hga_putcs()
Dfbcon-mfb.c120 c = scr_readw(s); in fbcon_mfb_putcs()
126 c = scr_readw(s++) & p->charmask; in fbcon_mfb_putcs()
/linux-2.4.37.9/include/linux/
Dvt_buffer.h24 #define scr_readw(addr) (*(addr)) macro
45 scr_writew(scr_readw(s++), d++); in scr_memcpyw()
59 scr_writew(scr_readw(--s), --d); in scr_memmovew()
/linux-2.4.37.9/drivers/video/riva/
Daccel.c214 c = scr_readw(s); in fbcon_riva8_putcs()
218 c = scr_readw(s++); in fbcon_riva8_putcs()
336 c = scr_readw(s); in fbcon_riva16_putcs()
342 c = scr_readw(s++); in fbcon_riva16_putcs()
419 c = scr_readw(s); in fbcon_riva32_putcs()
423 c = scr_readw(s++); in fbcon_riva32_putcs()
/linux-2.4.37.9/include/asm-ia64/
Dvga.h33 scr_readw (volatile const u16 *addr) in scr_readw() function
/linux-2.4.37.9/include/asm-sparc64/
Dvga.h22 static inline u16 scr_readw(const u16 *addr) in scr_readw() function
/linux-2.4.37.9/include/asm-ppc64/
Dvga.h34 static inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/linux-2.4.37.9/include/asm-ppc/
Dvga.h30 extern inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/linux-2.4.37.9/include/asm-alpha/
Dvga.h24 extern inline u16 scr_readw(volatile const u16 *addr) in scr_readw() function
/linux-2.4.37.9/drivers/char/
Dconsole.c310 u16 attrib = scr_readw(p) & 0xff00; in do_update_region()
314 if (attrib != (scr_readw(p) & 0xff00)) { in do_update_region()
319 attrib = scr_readw(p) & 0xff00; in do_update_region()
416 a = scr_readw(q); in invert_screen()
423 a = scr_readw(q); in invert_screen()
430 a = scr_readw(q); in invert_screen()
459 old = scr_readw(p); in complement_pos()
476 scr_writew(scr_readw(p), p + nr); in insert_char()
497 scr_writew(scr_readw(p+nr), p); in delete_char()
519 int i = scr_readw((u16 *) pos); in add_softcursor()
[all …]

12