Home
last modified time | relevance | path

Searched refs:bpsl (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/syscons/rain/
H A Drain_saver.c61 static int banksize, scrmode, bpsl, scrw, scrh; variable
94 bpsl = adp->va_line_width; in rain_saver()
96 for (i = 0; i < bpsl*scrh; i += banksize) { in rain_saver()
98 if ((bpsl * scrh - i) < banksize) in rain_saver()
99 bzero(vid, bpsl * scrh - i); in rain_saver()
114 for (i = 0, p = bpsl * (j - 1) - o; i < scrw; i += 2, p+= 2) { in rain_saver()
121 if (p + bpsl < banksize) { in rain_saver()
122 vid[p + bpsl] = temp; in rain_saver()
125 vid[p + bpsl - banksize] = temp; in rain_saver()
/freebsd/sys/dev/syscons/logo/
H A Dlogo_saver.c58 static int banksize, scrmode, bpsl, scrw, scrh; variable
67 for (o = 0, p = y * bpsl + x; p > banksize; p -= banksize) in logo_blit()
74 p += bpsl; in logo_blit()
80 p += bpsl - banksize; in logo_blit()
85 p += bpsl; in logo_blit()
123 bpsl = adp->va_line_width; in logo_saver()
/freebsd/sys/dev/fb/
H A Dsplash_pcx.c65 int bpsl; member
164 uint16_t bpsl; member
183 hdr->bpsl > MAXSCANLINE || in pcx_init()
190 pcx_info.bpsl = hdr->bpsl; in pcx_init()
235 for (j = 0; j < pcx_info.bpsl && i < pcx_info.zlen; ++i) { in pcx_draw()
243 if (j + c > pcx_info.bpsl) in pcx_draw()
H A Dvesa.c714 int bpsl; in vesa_get_bpscanline() local
720 bpsl = vmode->v_width / 8; in vesa_get_bpscanline()
723 bpsl = vmode->v_width / 4; in vesa_get_bpscanline()
726 bpsl = vmode->v_width / 2; in vesa_get_bpscanline()
729 bpsl = vmode->v_width * ((vmode->v_bpp + 7) / 8); in vesa_get_bpscanline()
730 bpsl /= vmode->v_planes; in vesa_get_bpscanline()
737 vmode->v_linbpscanline > bpsl) in vesa_get_bpscanline()
741 if (vmode->v_bpscanline < bpsl) in vesa_get_bpscanline()
742 return (bpsl); in vesa_get_bpscanline()
1372 int bpsl = vesa_bios_get_line_length(); in vesa_set_mode() local
[all …]
/freebsd/sys/dev/syscons/warp/
H A Dwarp_saver.c54 static int banksize, scrmode, bpsl, scrw, scrh; variable
74 p = (star[k] / scrw) * bpsl + (star[k] % scrw); in warp_update()
85 p = (star[k] / scrw) * bpsl + (star[k] % scrw); in warp_update()
112 bpsl = adp->va_line_width; in warp_saver()
/freebsd/sys/dev/syscons/fire/
H A Dfire_saver.c63 static int banksize, scrmode, bpsl, scrw, scrh; variable
76 buf[x + (y * bpsl)] = random() % 160 + 96; in fire_update()
92 for (y = 0, p = 0, o = 0; y < scrh; y++, p += bpsl) { in fire_update()
126 bpsl = adp->va_line_width; in fire_saver()