Lines Matching refs:video_size
352 static u16 round_video_size(int coding, u16 video_size) in round_video_size() argument
360 if ((video_size % 2) != 0) in round_video_size()
361 video_size += 1; in round_video_size()
367 return video_size; in round_video_size()
456 u16 video_size; in sprd_dsi_dpi_video() local
473 video_size = round_video_size(coding, vm->hactive); in sprd_dsi_dpi_video()
511 dsi_reg_wr(ctx, VIDEO_PKT_CONFIG, VIDEO_PKT_SIZE, 0, video_size); in sprd_dsi_dpi_video()
536 for (video_size = video_size_step; in sprd_dsi_dpi_video()
537 video_size < vm->hactive; in sprd_dsi_dpi_video()
538 video_size += video_size_step) { in sprd_dsi_dpi_video()
539 if (vm->hactive * 1000 / video_size % 1000) in sprd_dsi_dpi_video()
542 chunks = vm->hactive / video_size; in sprd_dsi_dpi_video()
543 bytes_per_chunk = bpp_x100 * video_size / 100 in sprd_dsi_dpi_video()
566 for (video_size = vm->hactive; in sprd_dsi_dpi_video()
567 (video_size % video_size_step) != 0; in sprd_dsi_dpi_video()
568 video_size++) in sprd_dsi_dpi_video()
572 dsi_reg_wr(ctx, VIDEO_PKT_CONFIG, VIDEO_PKT_SIZE, 0, video_size); in sprd_dsi_dpi_video()