/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 33 uint32_t pixel_format; member 72 pixel_formats[nformats++] = formats[i].pixel_format; in omap_framebuffer_get_formats() 105 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_destroy() 258 na = a ? drm_format_num_planes(a->pixel_format) : 0; in omap_framebuffer_replace() 259 nb = b ? drm_format_num_planes(b->pixel_format) : 0; in omap_framebuffer_replace() 295 if (p >= drm_format_num_planes(fb->pixel_format)) in omap_framebuffer_bo() 357 int i, n = drm_format_num_planes(fb->pixel_format); in omap_framebuffer_describe() 360 (char *)&fb->pixel_format); in omap_framebuffer_describe() 378 ret = objects_lookup(dev, file, mode_cmd->pixel_format, in omap_framebuffer_create() 385 int i, n = drm_format_num_planes(mode_cmd->pixel_format); in omap_framebuffer_create() [all …]
|
D | omap_drv.h | 282 struct drm_file *filp, uint32_t pixel_format, in objects_lookup() argument 285 int i, n = drm_format_num_planes(pixel_format); in objects_lookup()
|
/drivers/gpu/drm/ |
D | drm_fb_cma_helper.c | 120 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create() 121 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create() 123 for (i = 0; i < drm_format_num_planes(mode_cmd->pixel_format); i++) { in drm_fb_cma_create() 136 + width * drm_format_plane_cpp(mode_cmd->pixel_format, i) in drm_fb_cma_create() 191 int i, n = drm_format_num_planes(fb->pixel_format); in drm_fb_cma_describe() 194 (char *)&fb->pixel_format); in drm_fb_cma_describe() 271 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in drm_fbdev_cma_create()
|
D | drm_crtc_helper.c | 653 } else if (set->fb->pixel_format != in drm_crtc_helper_set_config() 654 set->crtc->fb->pixel_format) { in drm_crtc_helper_set_config() 915 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &fb->depth, in drm_helper_mode_fill_fb_struct() 917 fb->pixel_format = mode_cmd->pixel_format; in drm_helper_mode_fill_fb_struct()
|
D | drm_crtc.c | 1834 if (fb->pixel_format == plane->format_types[i]) in drm_mode_setplane() 1837 DRM_DEBUG_KMS("Invalid pixel format 0x%08x\n", fb->pixel_format); in drm_mode_setplane() 2211 r.pixel_format = drm_mode_legacy_fb_format(or->bpp, or->depth); in drm_mode_addfb() 2240 uint32_t format = r->pixel_format & ~DRM_FORMAT_BIG_ENDIAN; in format_check() 2315 DRM_DEBUG_KMS("bad framebuffer format 0x%08x\n", r->pixel_format); in framebuffer_check() 2319 hsub = drm_format_horz_chroma_subsampling(r->pixel_format); in framebuffer_check() 2320 vsub = drm_format_vert_chroma_subsampling(r->pixel_format); in framebuffer_check() 2321 num_planes = drm_format_num_planes(r->pixel_format); in framebuffer_check() 2336 unsigned int cpp = drm_format_plane_cpp(r->pixel_format, i); in framebuffer_check() 3453 if (crtc->fb->pixel_format != fb->pixel_format) { in drm_mode_page_flip_ioctl()
|
/drivers/gpu/host1x/drm/ |
D | fb.c | 33 if (index >= drm_format_num_planes(framebuffer->pixel_format)) in tegra_fb_get_plane() 115 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 116 vsub = drm_format_vert_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 118 for (i = 0; i < drm_format_num_planes(cmd->pixel_format); i++) { in tegra_fb_create() 129 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_fb_create() 188 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_kms.c | 111 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create() 114 mode_cmd->pixel_format); in shmob_drm_fb_create()
|
D | shmob_drm_plane.c | 186 format = shmob_drm_format_info(fb->pixel_format); in shmob_drm_plane_update() 189 fb->pixel_format); in shmob_drm_plane_update()
|
D | shmob_drm_crtc.c | 168 format = shmob_drm_format_info(crtc->fb->pixel_format); in shmob_drm_crtc_start() 375 format = shmob_drm_format_info(crtc->fb->pixel_format); in shmob_drm_crtc_mode_set() 378 crtc->fb->pixel_format); in shmob_drm_crtc_mode_set()
|
/drivers/staging/imx-drm/ipu-v3/ |
D | imx-ipu-v3.h | 296 void ipu_cpmem_set_yuv_planar(struct ipu_ch_param __iomem *p, u32 pixel_format, 299 u32 pixel_format); 301 u32 pixel_format, int stride, int u_offset, int v_offset);
|
D | ipu-common.c | 230 u32 pixel_format) in ipu_cpmem_set_yuv_interleaved() argument 232 switch (pixel_format) { in ipu_cpmem_set_yuv_interleaved() 248 u32 pixel_format, int stride, int u_offset, int v_offset) in ipu_cpmem_set_yuv_planar_full() argument 250 switch (pixel_format) { in ipu_cpmem_set_yuv_planar_full() 265 void ipu_cpmem_set_yuv_planar(struct ipu_ch_param __iomem *p, u32 pixel_format, in ipu_cpmem_set_yuv_planar() argument 271 switch (pixel_format) { in ipu_cpmem_set_yuv_planar() 277 ipu_cpmem_set_yuv_planar_full(p, pixel_format, stride, in ipu_cpmem_set_yuv_planar()
|
/drivers/gpu/drm/i915/ |
D | intel_sprite.c | 53 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in vlv_update_plane() 62 switch (fb->pixel_format) { in vlv_update_plane() 220 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in ivb_update_plane() 231 switch (fb->pixel_format) { in ivb_update_plane() 409 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0); in ilk_update_plane() 419 switch (fb->pixel_format) { in ilk_update_plane()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_fb.c | 186 if (mode_cmd->pixel_format != DRM_FORMAT_NV12) in exynos_drm_format_num_buffers() 187 return drm_format_num_planes(mode_cmd->pixel_format); in exynos_drm_format_num_buffers()
|
D | exynos_drm_plane.c | 125 overlay->pixel_format = fb->pixel_format; in exynos_plane_mode_set()
|
D | exynos_mixer.c | 47 uint32_t pixel_format; member 387 switch (win_data->pixel_format) { in vp_video_buffer() 401 win_data->pixel_format); in vp_video_buffer() 754 win_data->pixel_format = overlay->pixel_format; in mixer_win_mode_set()
|
D | exynos_drm_drv.h | 125 uint32_t pixel_format; member
|
/drivers/gpu/drm/ast/ |
D | ast_fb.c | 174 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in astfb_create_object() 202 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in astfb_create()
|
/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 118 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in radeonfb_create_pinned_object() 211 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create()
|
/drivers/gpu/drm/cirrus/ |
D | cirrus_fbdev.c | 146 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); in cirrusfb_create_object() 177 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in cirrusfb_create()
|
/drivers/media/pci/cx25821/ |
D | cx25821-video-upstream.c | 605 int pixel_format) in cx25821_vidupstream_init() argument 634 out->_pixel_format = pixel_format; in cx25821_vidupstream_init() 645 out->_pixel_format = pixel_format; in cx25821_vidupstream_init()
|
/drivers/media/i2c/ |
D | tcm825x.h | 162 enum pixel_format { YUV422 = 0, RGB565 }; enum
|
/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 931 if (fsize->pixel_format == V4L2_PIX_FMT_YUV420 || in pwc_enum_framesizes() 932 (fsize->pixel_format == V4L2_PIX_FMT_PWC1 && in pwc_enum_framesizes() 934 (fsize->pixel_format == V4L2_PIX_FMT_PWC2 && in pwc_enum_framesizes() 966 if (size < 0 || fival->pixel_format != V4L2_PIX_FMT_YUV420) in pwc_enum_frameintervals()
|
/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 725 (p->pixel_format & 0xff), in v4l_print_frmsizeenum() 726 (p->pixel_format >> 8) & 0xff, in v4l_print_frmsizeenum() 727 (p->pixel_format >> 16) & 0xff, in v4l_print_frmsizeenum() 728 (p->pixel_format >> 24) & 0xff, in v4l_print_frmsizeenum() 755 (p->pixel_format & 0xff), in v4l_print_frmivalenum() 756 (p->pixel_format >> 8) & 0xff, in v4l_print_frmivalenum() 757 (p->pixel_format >> 16) & 0xff, in v4l_print_frmivalenum() 758 (p->pixel_format >> 24) & 0xff, in v4l_print_frmivalenum() 2092 …ZES, vidioc_enum_framesizes, v4l_print_frmsizeenum, INFO_FL_CLEAR(v4l2_frmsizeenum, pixel_format)),
|
/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 590 if (fsize->pixel_format != V4L2_PIX_FMT_MJPEG && in cpia2_enum_framesizes() 591 fsize->pixel_format != V4L2_PIX_FMT_JPEG) in cpia2_enum_framesizes() 609 if (fival->pixel_format != V4L2_PIX_FMT_MJPEG && in cpia2_enum_frameintervals() 610 fival->pixel_format != V4L2_PIX_FMT_JPEG) in cpia2_enum_frameintervals()
|
/drivers/staging/imx-drm/ |
D | ipuv3-crtc.c | 214 switch (fb->pixel_format) { in ipu_crtc_mode_set() 230 fb->pixel_format); in ipu_crtc_mode_set()
|