Lines Matching refs:attrp
442 const struct wsscreen_descr *type, int existing, long *attrp) in vga_init_screen() argument
501 WSATTR_WSCOLORS, attrp); in vga_init_screen()
504 res = vga_allocattr(scr, 0, 0, 0, attrp); in vga_init_screen()
1095 vga_allocattr(void *id, int fg, int bg, int flags, long *attrp) in vga_allocattr() argument
1108 *attrp = 0x70; in vga_allocattr()
1110 *attrp = 0x07; in vga_allocattr()
1112 *attrp |= FG_UNDERLINE; in vga_allocattr()
1114 *attrp |= FG_INTENSE; in vga_allocattr()
1119 *attrp = fgansitopc[fg] | bgansitopc[bg]; in vga_allocattr()
1121 *attrp = 7; in vga_allocattr()
1123 *attrp += 8; in vga_allocattr()
1126 *attrp |= FG_BLINK; in vga_allocattr()