Home
last modified time | relevance | path

Searched refs:planes (Results 1 – 64 of 64) sorted by relevance

/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vid-common.c53 .planes = 1,
63 .planes = 1,
72 .planes = 1,
81 .planes = 1,
90 .planes = 3,
99 .planes = 3,
108 .planes = 3,
117 .planes = 2,
126 .planes = 2,
135 .planes = 2,
[all …]
Dvivid-vid-out.c40 unsigned planes = vfmt->buffers; in vid_out_queue_setup() local
45 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_queue_setup()
79 if (mp->num_planes != planes) in vid_out_queue_setup()
84 for (p = 1; p < planes; p++) { in vid_out_queue_setup()
90 for (p = 0; p < planes; p++) in vid_out_queue_setup()
97 *nplanes = planes; in vid_out_queue_setup()
105 for (p = 0; p < planes; p++) in vid_out_queue_setup()
114 unsigned planes; in vid_out_buf_prepare() local
122 planes = dev->fmt_out->planes; in vid_out_buf_prepare()
139 for (p = 0; p < planes; p++) { in vid_out_buf_prepare()
[all …]
Dvivid-tpg.c181 tpg->planes = 1; in tpg_s_fourcc()
199 tpg->planes = 2; in tpg_s_fourcc()
241 tpg->planes = 3; in tpg_s_fourcc()
249 tpg->planes = 3; in tpg_s_fourcc()
261 tpg->planes = 2; in tpg_s_fourcc()
273 tpg->planes = 2; in tpg_s_fourcc()
280 tpg->planes = 2; in tpg_s_fourcc()
401 for (p = 0; p < tpg->planes; p++) in tpg_reset_source()
1330 for (p = 0; p < tpg->planes; p++) { in tpg_precalculate_line()
1340 if (tpg->vdownsampling[tpg->planes - 1] > 1) { in tpg_precalculate_line()
[all …]
Dvivid-tpg.h142 unsigned planes; member
351 return tpg->interleaved ? 1 : tpg->planes; in tpg_g_planes()
Dvivid-core.h86 u8 planes; member
Dvivid-vid-cap.c47 .planes = 1,
55 .planes = 1,
63 .planes = 1,
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c64 if (state->format->planes == 2) in rcar_du_plane_setup_fb()
93 if (state->format->planes == 2) { in rcar_du_plane_setup_fb()
191 if (state->format->planes == 2) { in __rcar_du_plane_setup()
228 if (state->format->planes == 2) in rcar_du_plane_setup()
334 if (property == rgrp->planes.alpha) in rcar_du_plane_atomic_set_property()
336 else if (property == rgrp->planes.colorkey) in rcar_du_plane_atomic_set_property()
338 else if (property == rgrp->planes.zpos) in rcar_du_plane_atomic_set_property()
355 if (property == rgrp->planes.alpha) in rcar_du_plane_atomic_get_property()
357 else if (property == rgrp->planes.colorkey) in rcar_du_plane_atomic_get_property()
359 else if (property == rgrp->planes.zpos) in rcar_du_plane_atomic_get_property()
[all …]
Drcar_du_kms.c40 .planes = 1,
46 .planes = 1,
52 .planes = 1,
58 .planes = 1,
64 .planes = 1,
70 .planes = 1,
76 .planes = 1,
82 .planes = 2,
88 .planes = 2,
95 .planes = 2,
[all …]
Drcar_du_crtc.c209 struct rcar_du_plane *planes[RCAR_DU_NUM_HW_PLANES]; in rcar_du_crtc_update_planes() local
216 for (i = 0; i < ARRAY_SIZE(rcrtc->group->planes.planes); ++i) { in rcar_du_crtc_update_planes()
217 struct rcar_du_plane *plane = &rcrtc->group->planes.planes[i]; in rcar_du_crtc_update_planes()
225 if (plane_zpos(planes[j-1]) <= plane_zpos(plane)) in rcar_du_crtc_update_planes()
227 planes[j] = planes[j-1]; in rcar_du_crtc_update_planes()
230 planes[j] = plane; in rcar_du_crtc_update_planes()
231 prio += plane_format(plane)->planes * 4; in rcar_du_crtc_update_planes()
235 struct rcar_du_plane *plane = planes[i]; in rcar_du_crtc_update_planes()
243 if (plane_format(plane)->planes == 2) { in rcar_du_crtc_update_planes()
430 for (i = 0; i < ARRAY_SIZE(rcrtc->group->planes.planes); ++i) { in rcar_du_crtc_resume()
[all …]
Drcar_du_kms.h27 unsigned int planes; member
Drcar_du_group.h43 struct rcar_du_planes planes; member
Drcar_du_plane.h42 struct rcar_du_plane planes[RCAR_DU_NUM_KMS_PLANES]; member
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_fb.c37 } planes[4]; member
91 struct plane planes[4]; member
100 omap_fb->planes[0].bo, handle); in omap_framebuffer_create_handle()
113 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_destroy()
140 (x * format->planes[n].stride_bpp) + in get_linear_addr()
141 (y * plane->pitch / format->planes[n].sub_y); in get_linear_addr()
153 struct plane *plane = &omap_fb->planes[0]; in omap_framebuffer_update_scanout()
230 info->screen_width /= format->planes[0].stride_bpp; in omap_framebuffer_update_scanout()
233 plane = &omap_fb->planes[1]; in omap_framebuffer_update_scanout()
259 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin()
[all …]
Domap_drv.c148 priv->planes[id] = plane; in omap_modeset_create_crtc()
284 BUG_ON(priv->num_planes >= ARRAY_SIZE(priv->planes)); in omap_modeset_init()
285 priv->planes[priv->num_planes++] = plane; in omap_modeset_init()
599 drm_object_property_set_value(&priv->planes[i]->base, in dev_lastclose()
Domap_drv.h96 struct drm_plane *planes[8]; member
Domap_crtc.c478 struct drm_plane *plane = priv->planes[i]; in omap_crtc_dpms()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dfb.c36 return fb->planes[index]; in tegra_fb_get_plane()
43 if (fb->planes[0]->flags & TEGRA_BO_BOTTOM_UP) in tegra_fb_is_bottom_up()
55 *tiling = fb->planes[0]->tiling; in tegra_fb_get_tiling()
66 struct tegra_bo *bo = fb->planes[i]; in tegra_fb_destroy()
77 kfree(fb->planes); in tegra_fb_destroy()
86 return drm_gem_handle_create(file, &fb->planes[0]->gem, handle); in tegra_fb_create_handle()
96 struct tegra_bo **planes, in tegra_fb_alloc() argument
107 fb->planes = kzalloc(num_planes * sizeof(*planes), GFP_KERNEL); in tegra_fb_alloc()
108 if (!fb->planes) { in tegra_fb_alloc()
118 fb->planes[i] = planes[i]; in tegra_fb_alloc()
[all …]
Ddc.c51 u32 planes; member
500 tegra->planes |= WIN_A_ACT_REQ << plane->index; in tegra_plane_state_add()
1034 copy->planes = state->planes; in tegra_crtc_atomic_duplicate_state()
1299 tegra_dc_writel(dc, state->planes << 8, DC_CMD_STATE_CONTROL); in tegra_crtc_atomic_flush()
1300 tegra_dc_writel(dc, state->planes, DC_CMD_STATE_CONTROL); in tegra_crtc_atomic_flush()
Ddrm.h28 struct tegra_bo **planes; member
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_fb.c27 struct drm_gem_object *planes[MAX_PLANE]; member
38 msm_fb->planes[0], handle); in msm_framebuffer_create_handle()
51 struct drm_gem_object *bo = msm_fb->planes[i]; in msm_framebuffer_destroy()
85 msm_gem_describe(msm_fb->planes[i], m); in msm_framebuffer_describe()
102 ret = msm_gem_get_iova(msm_fb->planes[i], id, &iova); in msm_framebuffer_prepare()
117 msm_gem_put_iova(msm_fb->planes[i], id); in msm_framebuffer_cleanup()
123 if (!msm_fb->planes[plane]) in msm_framebuffer_iova()
125 return msm_gem_iova(msm_fb->planes[plane], id) + fb->offsets[plane]; in msm_framebuffer_iova()
131 return msm_fb->planes[plane]; in msm_framebuffer_bo()
207 if (n > ARRAY_SIZE(msm_fb->planes)) { in msm_framebuffer_init()
[all …]
Dmsm_atomic.c207 struct drm_plane *plane = state->planes[i]; in msm_atomic_commit()
Dmsm_drv.h117 struct drm_plane *planes[8]; member
/linux-4.1.27/drivers/video/fbdev/
Dsh_mobile_meram.c138 struct sh_mobile_meram_fb_plane planes[2]; member
273 struct sh_mobile_meram_icb *icb = cache->planes[0].marker; in meram_set_next_addr()
280 meram_write_icb(priv->base, cache->planes[0].cache->index, target, in meram_set_next_addr()
282 meram_write_icb(priv->base, cache->planes[0].marker->index, target, in meram_set_next_addr()
283 base_addr_y + cache->planes[0].marker->cache_unit); in meram_set_next_addr()
286 meram_write_icb(priv->base, cache->planes[1].cache->index, in meram_set_next_addr()
288 meram_write_icb(priv->base, cache->planes[1].marker->index, in meram_set_next_addr()
290 cache->planes[1].marker->cache_unit); in meram_set_next_addr()
300 struct sh_mobile_meram_icb *icb = cache->planes[0].marker; in meram_get_next_icb_addr()
308 *icb_addr_y = icb_offset | (cache->planes[0].marker->index << 24); in meram_get_next_icb_addr()
[all …]
Dsticore.h177 s32 planes; /* number of fb planes in system */ member
Datafb.c2814 int xres, xres_virtual, yres, depth, planes; in atafb_setup_ext() local
2854 planes = FB_TYPE_INTERLEAVED_PLANES; in atafb_setup_ext()
2856 planes = FB_TYPE_PACKED_PIXELS; in atafb_setup_ext()
2858 planes = FB_TYPE_PLANES; in atafb_setup_ext()
2860 planes = -1; /* true color */ in atafb_setup_ext()
2909 external_pmode = planes; in atafb_setup_ext()
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-core.c210 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()
218 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()
219 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()
233 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()
234 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()
249 if (vb->planes[plane].mem_priv) in __vb2_buf_userptr_put()
250 call_void_memop(vb, put_userptr, vb->planes[plane].mem_priv); in __vb2_buf_userptr_put()
251 vb->planes[plane].mem_priv = NULL; in __vb2_buf_userptr_put()
281 __vb2_plane_dmabuf_put(vb, &vb->planes[plane]); in __vb2_buf_dmabuf_put()
465 if (vb && vb->planes[0].mem_priv) in __vb2_queue_free()
[all …]
Dv4l2-compat-ioctl32.c326 compat_caddr_t planes; member
413 kp->m.planes = NULL; in get_v4l2_buffer32()
419 if (get_user(p, &up->m.planes)) in get_v4l2_buffer32()
431 kp->m.planes = (__force struct v4l2_plane *)uplane; in get_v4l2_buffer32()
501 uplane = (__force struct v4l2_plane __user *)kp->m.planes; in put_v4l2_buffer32()
502 if (get_user(p, &up->m.planes)) in put_v4l2_buffer32()
Dv4l2-ioctl.c452 if (V4L2_TYPE_IS_MULTIPLANAR(p->type) && p->m.planes) { in v4l_print_buffer()
455 plane = &p->m.planes[i]; in v4l_print_buffer()
2429 *user_ptr = (void __user *)buf->m.planes; in check_array_args()
2430 *kernel_ptr = (void **)&buf->m.planes; in check_array_args()
Dv4l2-mem2mem.c385 buf->m.planes[i].m.mem_offset in v4l2_m2m_querybuf()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c232 struct atmel_hlcdc_planes *planes; in atmel_hlcdc_dc_modeset_init() local
244 planes = atmel_hlcdc_create_planes(dev); in atmel_hlcdc_dc_modeset_init()
245 if (IS_ERR(planes)) { in atmel_hlcdc_dc_modeset_init()
247 return PTR_ERR(planes); in atmel_hlcdc_dc_modeset_init()
250 dc->planes = planes; in atmel_hlcdc_dc_modeset_init()
252 dc->layers[planes->primary->layer.desc->id] = in atmel_hlcdc_dc_modeset_init()
253 &planes->primary->layer; in atmel_hlcdc_dc_modeset_init()
255 if (planes->cursor) in atmel_hlcdc_dc_modeset_init()
256 dc->layers[planes->cursor->layer.desc->id] = in atmel_hlcdc_dc_modeset_init()
257 &planes->cursor->layer; in atmel_hlcdc_dc_modeset_init()
[all …]
Datmel_hlcdc_crtc.c331 struct atmel_hlcdc_planes *planes = dc->planes; in atmel_hlcdc_crtc_create() local
343 &planes->primary->base, in atmel_hlcdc_crtc_create()
344 planes->cursor ? &planes->cursor->base : NULL, in atmel_hlcdc_crtc_create()
351 if (planes->cursor) in atmel_hlcdc_crtc_create()
352 planes->cursor->base.possible_crtcs = 1 << crtc->id; in atmel_hlcdc_crtc_create()
354 for (i = 0; i < planes->noverlays; i++) in atmel_hlcdc_crtc_create()
355 planes->overlays[i]->base.possible_crtcs = 1 << crtc->id; in atmel_hlcdc_crtc_create()
Datmel_hlcdc_plane.c985 struct atmel_hlcdc_planes *planes; in atmel_hlcdc_create_planes() local
990 planes = devm_kzalloc(dev->dev, sizeof(*planes), GFP_KERNEL); in atmel_hlcdc_create_planes()
991 if (!planes) in atmel_hlcdc_create_planes()
996 planes->noverlays++; in atmel_hlcdc_create_planes()
999 if (planes->noverlays) { in atmel_hlcdc_create_planes()
1000 planes->overlays = devm_kzalloc(dev->dev, in atmel_hlcdc_create_planes()
1001 planes->noverlays * in atmel_hlcdc_create_planes()
1002 sizeof(*planes->overlays), in atmel_hlcdc_create_planes()
1004 if (!planes->overlays) in atmel_hlcdc_create_planes()
1012 planes->noverlays = 0; in atmel_hlcdc_create_planes()
[all …]
Datmel_hlcdc_dc.h137 struct atmel_hlcdc_planes *planes; member
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-platform-sh_mobile_lcdc_fb6 to overlay planes.
17 to overlay planes.
30 to overlay planes.
40 to overlay planes.
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_vidi.c43 struct exynos_drm_plane planes[WINDOWS_NR]; member
131 plane = &ctx->planes[win]; in vidi_win_commit()
149 plane = &ctx->planes[win]; in vidi_win_disable()
173 plane = &ctx->planes[i]; in vidi_power_on()
475 ret = exynos_plane_init(drm_dev, &ctx->planes[zpos], in vidi_bind()
481 exynos_plane = &ctx->planes[ctx->default_win]; in vidi_bind()
Dexynos7_drm_decon.c49 struct exynos_drm_plane planes[WINDOWS_NR]; member
286 struct exynos_drm_plane *plane = &ctx->planes[win]; in decon_win_set_pixfmt()
411 plane = &ctx->planes[win]; in decon_win_commit()
522 plane = &ctx->planes[win]; in decon_win_disable()
554 plane = &ctx->planes[i]; in decon_window_suspend()
567 plane = &ctx->planes[i]; in decon_window_resume()
579 plane = &ctx->planes[i]; in decon_apply()
772 ret = exynos_plane_init(drm_dev, &ctx->planes[zpos], in decon_bind()
778 exynos_plane = &ctx->planes[ctx->default_win]; in decon_bind()
Dexynos_drm_fimd.c151 struct exynos_drm_plane planes[WINDOWS_NR]; member
495 struct exynos_drm_plane *plane = &ctx->planes[win]; in fimd_win_set_pixfmt()
635 plane = &ctx->planes[win]; in fimd_win_commit()
745 plane = &ctx->planes[win]; in fimd_win_disable()
773 plane = &ctx->planes[i]; in fimd_window_suspend()
786 plane = &ctx->planes[i]; in fimd_window_resume()
798 plane = &ctx->planes[i]; in fimd_apply()
1030 ret = exynos_plane_init(drm_dev, &ctx->planes[zpos], in fimd_bind()
1036 exynos_plane = &ctx->planes[ctx->default_win]; in fimd_bind()
Dexynos_mixer.c77 struct exynos_drm_plane planes[MIXER_WIN_NR]; member
393 plane = &ctx->planes[win]; in vp_video_buffer()
526 plane = &ctx->planes[win]; in mixer_graph_buffer()
941 mixer_ctx->planes[win].enabled = true; in mixer_win_commit()
955 mixer_ctx->planes[win].resume = false; in mixer_win_disable()
968 mixer_ctx->planes[win].enabled = false; in mixer_win_disable()
1009 plane = &ctx->planes[i]; in mixer_window_suspend()
1022 plane = &ctx->planes[i]; in mixer_window_resume()
1213 ret = exynos_plane_init(drm_dev, &ctx->planes[zpos], in mixer_bind()
1219 exynos_plane = &ctx->planes[MIXER_DEFAULT_WIN]; in mixer_bind()
/linux-4.1.27/drivers/gpu/drm/sti/
DNOTES9 - The graphics planes are internally processed by the Generic Display
41 - The Framebuffers and planes are mapped to the Compositor GDP (non video
47 FB & planes Cursor CRTC Encoders Bridges/Connectors
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_atomic.c60 struct intel_plane *plane = to_intel_plane(state->planes[i]); in intel_atomic_check()
149 struct drm_plane *plane = state->planes[i]; in intel_atomic_commit()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dmixer_video.c273 static void mxr_mplane_fill(struct v4l2_plane_pix_format *planes, in mxr_mplane_fill() argument
279 if (!planes) in mxr_mplane_fill()
282 memset(planes, 0, sizeof(*planes) * fmt->num_subframes); in mxr_mplane_fill()
284 struct v4l2_plane_pix_format *plane = planes in mxr_mplane_fill()
892 struct v4l2_plane_pix_format planes[3]; in queue_setup() local
899 mxr_mplane_fill(planes, fmt, layer->geo.src.full_width, in queue_setup()
905 sizes[i] = planes[i].sizeimage; in queue_setup()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_atomic.c39 kfree(state->planes); in kfree_state()
74 state->planes = kcalloc(dev->mode_config.num_total_plane, in drm_atomic_state_alloc()
75 sizeof(*state->planes), GFP_KERNEL); in drm_atomic_state_alloc()
76 if (!state->planes) in drm_atomic_state_alloc()
154 struct drm_plane *plane = state->planes[i]; in drm_atomic_state_clear()
161 state->planes[i] = NULL; in drm_atomic_state_clear()
357 state->planes[index] = plane; in drm_atomic_get_plane_state()
Ddrm_atomic_helper.c1049 struct drm_plane *plane = state->planes[i]; in drm_atomic_helper_prepare_planes()
1072 struct drm_plane *plane = state->planes[i]; in drm_atomic_helper_prepare_planes()
1244 struct drm_plane *plane = state->planes[i]; in drm_atomic_helper_swap_state()
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_video.h43 unsigned int planes; member
Dvsp1_video.c248 for (i = 0; i < max(info->planes, 2U); ++i) { in __vsp1_video_try_format()
263 if (info->planes == 3) { in __vsp1_video_try_format()
269 pix->num_planes = info->planes; in __vsp1_video_try_format()
/linux-4.1.27/include/drm/
Ddrm_atomic.h97 ((plane) = (state)->planes[__i], \
Ddrm_crtc.h934 struct drm_plane **planes; member
/linux-4.1.27/Documentation/fb/
Dapi.txt68 Macropixels are split across multiple planes. The number of planes is equal to
76 Macropixels are split across multiple planes. The number of planes is equal to
82 belonging to different planes, is stored in the fixed screen information
Dvt8623fb.txt35 with interleaved planes (1 byte interleave), MSB first. Both modes support
Darkfb.txt38 with interleaved planes (1 byte interleave), MSB first. Both modes support
Ds3fb.txt47 with interleaved planes (1 byte interleave), MSB first. Both modes support
Dframebuffer.txt83 organization of the screen memory (planes, packed pixels, ...) and address
/linux-4.1.27/include/video/
Duvesafb.h48 u8 planes; member
/linux-4.1.27/Documentation/video4linux/cx2341x/
DREADME.hm129 The data is encoded as two macroblock planes, the first containing the Y
30 Y, U and V planes. This code assumes frames of 720x576 (PAL) pixels.
Dfw-decoder-regs.txt206 planes. The higher the value, the greater the shift to the left. Use
338 order of the planes can be swapped, only the byte order of the second plane
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c274 priv->planes[priv->num_planes++] = plane; in modeset_init()
282 priv->planes[priv->num_planes++] = plane; in modeset_init()
/linux-4.1.27/include/media/
Dvideobuf2-core.h199 struct vb2_plane planes[VIDEO_MAX_PLANES]; member
/linux-4.1.27/Documentation/m68k/
Dkernel-options.txt423 planes (depth). The depth is the logarithm to base 2 of the number
430 'n': "normal planes", i.e. one whole plane after another
431 'i': "interleaved planes", i.e. 16 bit of the first plane, than 16 bit
436 planes of one pixel; this is the most common mode for 8 planes
729 Syntax: depth:<nr. of bit-planes>
731 Specify the number of bit-planes for the selected video-mode.
/linux-4.1.27/Documentation/video4linux/
Dpxa_camera.txt8 This is due to DMA constraints, which transfers only planes of 8 byte
/linux-4.1.27/Documentation/arm/OMAP/
DDSS26 - OMAP DISPC planes
232 Here's the default setup on OMAP3 SDP board. All planes go to LCD. DVI
/linux-4.1.27/drivers/video/console/
Dsticore.c410 sti->sti_data->inq_outptr.planes, in sti_dump_outptr()
/linux-4.1.27/include/uapi/linux/
Dvideodev2.h774 struct v4l2_plane *planes; member
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c610 buf->m.planes[i].m.mem_offset += DST_QUEUE_OFF_BASE; in vidioc_querybuf()
Ds5p_mfc_enc.c1231 buf->m.planes[0].m.mem_offset += DST_QUEUE_OFF_BASE; in vidioc_querybuf()