Home
last modified time | relevance | path

Searched refs:NBITS (Results 1 – 7 of 7) sorted by relevance

/u-boot/include/
A Dlcd.h171 #define NBITS(bit_code) (1 << (bit_code)) macro
172 #define NCOLORS(bit_code) (1 << NBITS(bit_code))
194 #define NBYTES(bit_code) (NBITS(bit_code) >> 3)
/u-boot/drivers/video/
A Dpxa_lcd.c402 int line_length = (panel_info.vl_col * NBITS (panel_info.vl_bpix)) / 8; in calc_fbsize()
414 int fb_size = vid->vl_row * (vid->vl_col * NBITS (vid->vl_bpix)) / 8; in pxafb_init_mem()
418 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem()
559 (vid->vl_col * vid->vl_row * NBITS(vid->vl_bpix) / 8 / 2) : \ in pxafb_init()
560 (vid->vl_col * vid->vl_row * NBITS(vid->vl_bpix) / 8)) in pxafb_init()
578 if( NBITS(vid->vl_bpix) < 12) in pxafb_init()
A Datmel_lcdfb.c242 NBITS(panel_info.vl_bpix)) / 8) + PAGE_SIZE; in calc_fbsize()
A Datmel_hlcdfb.c180 switch (NBITS(panel_info.vl_bpix)) { in lcd_ctrl_init()
/u-boot/common/
A Dlcd.c149 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size()
290 panel_info.vl_row, NBITS(panel_info.vl_bpix)); in lcd_setmem()
341 unsigned bpix = NBITS(panel_info.vl_bpix); in lcd_logo_plot()
589 bpix = NBITS(panel_info.vl_bpix); in lcd_display_bitmap()
/u-boot/drivers/video/ti/
A Dam335x-fb.c126 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size()
/u-boot/board/compulab/common/
A Domap3_display.c145 lcd_line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in set_resolution_params()

Completed in 12 milliseconds