Home
last modified time | relevance | path

Searched refs:vsub (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_formats.c20 .vsub = 1,
28 .vsub = 1,
36 .vsub = 1,
44 .vsub = 1,
52 .vsub = 1,
60 .vsub = 1,
68 .vsub = 1,
76 .vsub = 1,
84 .vsub = 1,
92 .vsub = 1,
[all …]
H A Dsun8i-formats.h18 int vsub; member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c41 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
43 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
45 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
47 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
49 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
51 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
53 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
55 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
68 .hsub = 1, .vsub = 1, },
71 .hsub = 1, .vsub = 1, },
[all …]
H A Dintel_atomic_plane.c975 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local
1004 vsub = 2; in intel_plane_check_src_coordinates()
1012 vsub = 1; in intel_plane_check_src_coordinates()
1021 vsub = fb->format->vsub; in intel_plane_check_src_coordinates()
1025 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates()
1033 if (src_y % vsub || src_h % vsub) { in intel_plane_check_src_coordinates()
1035 src_y, src_h, vsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()
H A Dskl_universal_plane.c1838 int vsub; in skl_check_main_ccs_coordinates() local
1840 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_main_ccs_coordinates()
1851 y = aux_y / vsub; in skl_check_main_ccs_coordinates()
1858 aux_y = y * vsub + aux_y % vsub; in skl_check_main_ccs_coordinates()
2075 int hsub, vsub; in skl_check_ccs_aux_surface() local
2083 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_ccs_aux_surface()
2086 vsub *= main_vsub; in skl_check_ccs_aux_surface()
2088 y = src_y / vsub; in skl_check_ccs_aux_surface()
2098 plane_state->view.color_plane[ccs_plane].y = (y * vsub + src_y % vsub) / main_vsub; in skl_check_ccs_aux_surface()
H A Dintel_fb.h68 void intel_fb_plane_get_subsampling(int *hsub, int *vsub,
/linux/arch/arm/crypto/
H A Dcurve25519-core.S105 vsub.i64 q4, q4, q12
107 vsub.i64 q10, q10, q13
113 vsub.i64 q5, q5, q12
120 vsub.i64 q11, q11, q13
122 vsub.i64 q6, q6, q12
131 vsub.i64 q2, q2, q13
133 vsub.i64 q7, q7, q12
144 vsub.i64 q7, q8, q12
153 vsub.i64 q0, q9, q0
155 vsub.i64 q3, q3, q10
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-format.h18 .vsub[(plane)].numerator = (v_fract_num), \
19 .vsub[(plane)].denominator = (v_fract_den), \
48 struct fract vsub[3]; member
H A Dcamss-video.c60 f->vsub[i].numerator * f->vsub[i].denominator * in video_mbus_to_pix_mp()
475 fi->vsub[i].numerator * fi->vsub[i].denominator * bpl; in __video_try_fmt()
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_vi_scaler.c877 if (format->hsub == 1 && format->vsub == 1) { in sun8i_vi_scaler_set_coeff()
950 if (format->hsub == 2 && format->vsub == 2) { in sun8i_vi_scaler_setup()
962 if (format->hsub == 1 && format->vsub == 1) in sun8i_vi_scaler_setup()
986 src_h / format->vsub)); in sun8i_vi_scaler_setup()
992 vscale / format->vsub); in sun8i_vi_scaler_setup()
H A Dsun8i_vi_layer.c89 if (format->vsub > 1) { in sun8i_vi_layer_update_coord()
92 mask = format->vsub - 1; in sun8i_vi_layer_update_coord()
104 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord()
117 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord()
272 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer()
288 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c31 .vsub = 2,
114 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt()
118 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt()
122 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local
127 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
H A Dsun4i_csi.h102 unsigned int vsub; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c585 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
587 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
589 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
592 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
595 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
598 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
600 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
602 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
605 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
608 .cpp = { 2, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
[all …]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c94 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
426 unsigned int vsub = i == 0 ? 1 : format->vsub; in omap_framebuffer_init() local
429 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.c222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords()
257 plane_y = y / (plane ? fb->format->vsub : 1); in komeda_fb_get_pixel_addr()
/linux/drivers/staging/media/starfive/camss/
H A Dstf-capture.c22 .vsub = { 1 },
29 .vsub = { 1 },
36 .vsub = { 1 },
43 .vsub = { 1 },
53 .vsub = { 1, 2 },
H A Dstf-video.h66 u8 vsub[3]; member
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rpf.c303 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition()
304 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition()
321 offset = crop.top / fmtinfo->vsub * bpl in rpf_configure_partition()
H A Dvsp1_wpf.c430 unsigned int vsub = i > 0 ? fmtinfo->vsub : 1; in wpf_configure_partition() local
433 mem.addr[i] += offset / vsub in wpf_configure_partition()
456 offset = (height / fmtinfo->vsub - 1) in wpf_configure_partition()
H A Dvsp1_pipe.h47 unsigned int vsub; member
H A Dvsp1_video.c141 height = round_down(height, info->vsub); in __vsp1_video_try_format()
145 pix->height = clamp(height, info->vsub, VSP1_VIDEO_MAX_HEIGHT); in __vsp1_video_try_format()
154 unsigned int vsub = i > 0 ? info->vsub : 1; in __vsp1_video_try_format() local
164 * pix->height / vsub; in __vsp1_video_try_format()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_plane.c89 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
92 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fb.c107 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
/linux/drivers/gpu/drm/
H A Ddrm_fb_dma_helper.c94 v_div = fb->format->vsub; in drm_fb_dma_get_gem_addr()

12