Searched refs:bits (Results 1 – 2 of 2) sorted by relevance
70 void *bits; in get_framebuffer() local125 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in get_framebuffer()126 if (bits == MAP_FAILED) { in get_framebuffer()136 fb->data = bits; in get_framebuffer()146 fb->data = (void*) (((unsigned) bits) + vi.yres * fi.line_length); in get_framebuffer()276 unsigned char *bits, *rle; in gr_init_font() local282 bits = malloc(font.width * font.height); in gr_init_font()288 ftex->data = (void*) bits; in gr_init_font()293 memset(bits, (data & 0x80) ? 255 : 0, data & 0x7f); in gr_init_font()294 bits += (data & 0x7f); in gr_init_font()
31 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits)))) argument