Home
last modified time | relevance | path

Searched refs:BITS_PER_PIXEL (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/video/fbdev/
Dw100fb.c61 #define BITS_PER_PIXEL 16 macro
195 …_io(remapped_fbuf + (W100_FB_BASE-MEM_WINDOW_BASE), 0, (par->xres * par->yres * BITS_PER_PIXEL/8)); in w100fb_clear_screen()
481 if (par->mach->mem && ((var->xres*var->yres*BITS_PER_PIXEL/8) > (par->mach->mem->size+1))) in w100fb_check_var()
484 if (!par->mach->mem && ((var->xres*var->yres*BITS_PER_PIXEL/8) > (MEM_INT_SIZE+1))) in w100fb_check_var()
490 if (var->bits_per_pixel > BITS_PER_PIXEL) in w100fb_check_var()
493 var->bits_per_pixel = BITS_PER_PIXEL; in w100fb_check_var()
531 info->fix.line_length = par->xres * BITS_PER_PIXEL / 8; in w100fb_set_par()
534 if ((par->xres*par->yres*BITS_PER_PIXEL/8) > (MEM_INT_SIZE+1)) { in w100fb_set_par()
1507 writel(W100_FB_BASE + ((offset * BITS_PER_PIXEL/8)&~0x03UL), remapped_regs + mmGRAPHIC_OFFSET); in w100_set_dispregs()
1508 writel((par->xres*BITS_PER_PIXEL/8), remapped_regs + mmGRAPHIC_PITCH); in w100_set_dispregs()
Dxilinxfb.c77 #define BITS_PER_PIXEL (BYTES_PER_PIXEL * 8) macro
121 .bits_per_pixel = BITS_PER_PIXEL,
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.h134 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, BITS_PER_PIXEL, mask_sh), \
305 type BITS_PER_PIXEL; \
Ddcn20_dsc.c163 REG_GET(DSCC_PPS_CONFIG1, BITS_PER_PIXEL, &s->dsc_bits_per_pixel); in dsc2_read_state()
614 BITS_PER_PIXEL, temp_int, in dsc_write_to_registers()