Lines Matching +full:5 +full:bg

112 				       u16 bg, u16 fg, u32 w, u32 h)  in nvidiafb_load_cursor_image()  argument
127 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image()
129 tmp |= (b & (1 << 31)) ? fg : bg; in nvidiafb_load_cursor_image()
132 tmp = (b & 1) ? fg : bg; in nvidiafb_load_cursor_image()
134 tmp |= (b & 1) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image()
303 info->var.hsync_len + info->var.left_margin) / 8 - 5; in nvidia_calc_regs()
326 h_start = h_total - 5; in nvidia_calc_regs()
337 state->crtc[0x5] = SetBitField(h_blank_e, 5: 5, 7:7) in nvidia_calc_regs()
345 | SetBitField(v_total, 9: 9, 5:5) in nvidia_calc_regs()
348 state->crtc[0x9] = SetBitField(v_blank_s, 9: 9, 5:5) in nvidia_calc_regs()
352 state->crtc[0x11] = SetBitField(v_end, 3: 0, 3:0) | SetBit(5); in nvidia_calc_regs()
437 state->fifo = VGA_RD08(par->PCIO, 0x03D5) & ~(1<<5); in nvidia_calc_regs()
530 u16 fg, bg; in nvidiafb_cursor() local
583 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in nvidiafb_cursor()
593 nvidiafb_load_cursor_image(par, data, bg, fg, in nvidiafb_cursor()
724 if (info->var.green.length == 5) { in nvidiafb_setcolreg()
794 var->green.length = (var->green.length < 6) ? 5 : 6; in nvidiafb_check_var()
795 var->red.length = 5; in nvidiafb_check_var()
796 var->blue.length = 5; in nvidiafb_check_var()
799 var->green.offset = 5; in nvidiafb_check_var()
800 var->red.offset = 5 + var->green.length; in nvidiafb_check_var()
801 var->transp.offset = (5 + var->red.offset) & 15; in nvidiafb_check_var()
1485 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup()
1495 } else if (!strncmp(this_opt, "vram:", 5)) { in nvidiafb_setup()
1496 vram = simple_strtoul(this_opt+5, NULL, 0); in nvidiafb_setup()