Home
last modified time | relevance | path

Searched refs:line_length (Results 1 – 15 of 15) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/
H A Dconsole_rotate.c22 line = vid_priv->fb + vid_priv->line_length - in console_set_row_1()
56 line += vid_priv->line_length; in console_set_row_1()
71 dst = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
73 src = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
78 src += vid_priv->line_length; in console_move_rows_1()
79 dst += vid_priv->line_length; in console_move_rows_1()
97 vid_priv->line_length - (y + 1) * pbytes; in console_putc_xy_1()
139 line += vid_priv->line_length; in console_putc_xy_1()
154 line = vid_priv->fb + vid_priv->ysize * vid_priv->line_length - in console_set_row_2()
155 (row + 1) * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_set_row_2()
[all …]
H A Dconsole_normal.c24 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_set_row()
67 dst = vid_priv->fb + rowdst * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_move_rows()
68 src = vid_priv->fb + rowsrc * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_move_rows()
69 memmove(dst, src, VIDEO_FONT_HEIGHT * vid_priv->line_length * count); in console_normal_move_rows()
81 void *line = vid_priv->fb + y * vid_priv->line_length + in console_normal_putc_xy()
130 line += vid_priv->line_length; in console_normal_putc_xy()
H A Dconsole_truetype.c130 int pixels = priv->font_size * vid_priv->line_length; in console_truetype_set_row()
133 line = vid_priv->fb + row * priv->font_size * vid_priv->line_length; in console_truetype_set_row()
178 dst = vid_priv->fb + rowdst * priv->font_size * vid_priv->line_length; in console_truetype_move_rows()
179 src = vid_priv->fb + rowsrc * priv->font_size * vid_priv->line_length; in console_truetype_move_rows()
180 memmove(dst, src, priv->font_size * vid_priv->line_length * count); in console_truetype_move_rows()
255 line = vid_priv->fb + y * vid_priv->line_length + in console_truetype_putc_xy()
259 line += linenum * vid_priv->line_length; in console_truetype_putc_xy()
296 line += vid_priv->line_length; in console_truetype_putc_xy()
325 line = vid_priv->fb + ystart * vid_priv->line_length; in console_truetype_erase()
359 line += vid_priv->line_length; in console_truetype_erase()
H A Dvideo_bmp.c69 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap()
81 * priv->line_length + (x + x_off) * 2); in video_display_rle8_bitmap()
265 (y + height - 1) * priv->line_length + x * bpix / 8); in video_bmp_display()
303 fb -= byte_width + priv->line_length; in video_bmp_display()
315 fb -= width * 2 + priv->line_length; in video_bmp_display()
328 fb -= priv->line_length + width * (bpix / 8); in video_bmp_display()
341 fb -= priv->line_length + width * (bpix / 8); in video_bmp_display()
H A Dmxc_ipuv3_fb.c125 fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; in mxcfb_set_fix()
187 fbi->fix.line_length, in setup_disp_channel2()
190 (fbi->fix.line_length * fbi->var.yres)); in setup_disp_channel2()
195 fbi->fix.line_length, in setup_disp_channel2()
197 (fbi->fix.line_length * fbi->var.yres), in setup_disp_channel2()
223 mem_len = fbi->var.yres_virtual * fbi->fix.line_length; in mxcfb_set_par()
400 if (fbi->fix.smem_len < fbi->var.yres_virtual * fbi->fix.line_length) { in mxcfb_map_video_memory()
402 fbi->fix.line_length; in mxcfb_map_video_memory()
534 fbi->fix.line_length = fbi->var.xres * (fbi->var.bits_per_pixel / 8); in mxcfb_probe()
535 fbi->fix.smem_len = fbi->var.yres_virtual * fbi->fix.line_length; in mxcfb_probe()
H A Dam335x-fb.c101 int lcd_get_size(int *line_length) in lcd_get_size() argument
103 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size()
104 return *line_length * panel_info.vl_row + 0x20; in lcd_get_size()
H A Dvideo-uclass.c212 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
213 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
H A Dpxa_lcd.c402 int line_length = (panel_info.vl_col * NBITS (panel_info.vl_bpix)) / 8; in calc_fbsize() local
404 size = line_length * panel_info.vl_row; in calc_fbsize()
H A Dfsl_diu_fb.c301 info.fix.line_length = info.var.xres * info.var.bits_per_pixel / 8; in fsl_diu_init()
H A Dda8xx-fb.c968 da8xx_fb_fix.line_length = (lcd_panel->width * da8xx_lcd_cfg->bpp) / 8; in video_hw_init()
972 da8xx_fb_fix.line_length - 1; in video_hw_init()
H A Dfsl_dcu_fb.c421 info.fix.line_length = info.var.xres * info.var.bits_per_pixel / 8; in video_hw_init()
/rk3399_rockchip-uboot/common/
H A Dlcd.c66 int line_length; in lcd_sync() local
70 (ulong)(lcd_base + lcd_get_size(&line_length))); in lcd_sync()
143 __weak int lcd_get_size(int *line_length) in lcd_get_size() argument
145 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size()
146 return *line_length * panel_info.vl_row; in lcd_get_size()
296 int line_length; in lcd_setmem() local
301 size = lcd_get_size(&line_length); in lcd_setmem()
/rk3399_rockchip-uboot/include/
H A Dvideo.h86 int line_length; member
H A Dlcd.h130 int lcd_get_size(int *line_length);
/rk3399_rockchip-uboot/include/linux/
H A Dfb.h33 __u32 line_length; /* length of a line in bytes */ member