Searched refs:NBITS (Results 1 – 7 of 7) sorted by relevance
171 #define NBITS(bit_code) (1 << (bit_code)) macro172 #define NCOLORS(bit_code) (1 << NBITS(bit_code))194 #define NBYTES(bit_code) (NBITS(bit_code) >> 3)
402 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()
242 NBITS(panel_info.vl_bpix)) / 8) + PAGE_SIZE; in calc_fbsize()
180 switch (NBITS(panel_info.vl_bpix)) { in lcd_ctrl_init()
149 *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()
126 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size()
145 lcd_line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in set_resolution_params()
Completed in 12 milliseconds