Home
last modified time | relevance | path

Searched refs:c6_to_8 (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/display/
H A Dvga_int.h156 static inline int c6_to_8(int v) in c6_to_8() function
H A Dvga.c1052 col = rgb_to_pixel32(c6_to_8(s->palette[v]), in update_palette16()
1053 c6_to_8(s->palette[v + 1]), in update_palette16()
1054 c6_to_8(s->palette[v + 2])); in update_palette16()
1078 col = rgb_to_pixel32(c6_to_8(s->palette[v]), in update_palette256()
1079 c6_to_8(s->palette[v + 1]), in update_palette256()
1080 c6_to_8(s->palette[v + 2])); in update_palette256()
H A Dcirrus_vga.c2304 color0 = rgb_to_pixel32(c6_to_8(palette[0x0 * 3]), in cirrus_cursor_draw_line()
2305 c6_to_8(palette[0x0 * 3 + 1]), in cirrus_cursor_draw_line()
2306 c6_to_8(palette[0x0 * 3 + 2])); in cirrus_cursor_draw_line()
2307 color1 = rgb_to_pixel32(c6_to_8(palette[0xf * 3]), in cirrus_cursor_draw_line()
2308 c6_to_8(palette[0xf * 3 + 1]), in cirrus_cursor_draw_line()
2309 c6_to_8(palette[0xf * 3 + 2])); in cirrus_cursor_draw_line()