/drivers/firmware/efi/libstub/ |
D | gop.c | 40 struct efi_pixel_bitmask pixel_info, int pixel_format) in setup_pixel_info() argument 42 if (pixel_format == PIXEL_RGB_RESERVED_8BIT_PER_COLOR) { in setup_pixel_info() 53 } else if (pixel_format == PIXEL_BGR_RESERVED_8BIT_PER_COLOR) { in setup_pixel_info() 64 } else if (pixel_format == PIXEL_BIT_MASK) { in setup_pixel_info() 99 int pixel_format; in setup_gop32() local 132 info->pixel_format != PIXEL_BLT_ONLY) { in setup_gop32() 142 pixel_format = info->pixel_format; in setup_gop32() 176 setup_pixel_info(si, pixels_per_scan_line, pixel_info, pixel_format); in setup_gop32() 196 int pixel_format; in setup_gop64() local 229 info->pixel_format != PIXEL_BLT_ONLY) { in setup_gop64() [all …]
|
/drivers/gpu/drm/msm/ |
D | msm_fb.c | 143 int ret, i, n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_create() 180 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init() 182 n = drm_format_num_planes(mode_cmd->pixel_format); in msm_framebuffer_init() 183 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init() 184 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init() 186 format = kms->funcs->get_format(kms, mode_cmd->pixel_format); in msm_framebuffer_init() 189 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init() 215 + width * drm_format_plane_cpp(mode_cmd->pixel_format, i) in msm_framebuffer_init() 248 .pixel_format = format, in msm_alloc_stolen_fb()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 125 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create() 126 vsub = drm_format_vert_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create() 127 num_planes = min(drm_format_num_planes(mode_cmd->pixel_format), in rockchip_user_fb_create() 144 width * drm_format_plane_cpp(mode_cmd->pixel_format, i); in rockchip_user_fb_create()
|
/drivers/gpu/drm/mediatek/ |
D | mtk_drm_fb.c | 78 if (drm_format_num_planes(mode->pixel_format) != 1) in mtk_drm_framebuffer_init() 138 if (drm_format_num_planes(cmd->pixel_format) != 1) in mtk_drm_mode_fb_create() 145 bpp = drm_format_plane_cpp(cmd->pixel_format, 0); in mtk_drm_mode_fb_create()
|
/drivers/gpu/drm/msm/mdp/ |
D | mdp_format.c | 75 .base = { .pixel_format = DRM_FORMAT_ ## name }, \ 168 pixel_formats[i] = f->base.pixel_format; in mdp_get_formats() 179 if (f->base.pixel_format == format) in mdp_get_format()
|
/drivers/gpu/drm/armada/ |
D | armada_fb.c | 44 switch (mode->pixel_format) { in armada_framebuffer_create() 111 mode->width, mode->height, mode->pixel_format, in armada_fb_create() 116 if (drm_format_num_planes(mode->pixel_format) > 1 && in armada_fb_create()
|
/drivers/gpu/drm/tegra/ |
D | fb.c | 161 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 162 vsub = drm_format_vert_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 164 for (i = 0; i < drm_format_num_planes(cmd->pixel_format); i++) { in tegra_fb_create() 175 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_fb_create() 233 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 362 unsigned int num_planes = drm_format_num_planes(mode_cmd->pixel_format); in omap_framebuffer_create() 399 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init() 401 format = drm_format_info(mode_cmd->pixel_format); in omap_framebuffer_init() 404 if (formats[i] == mode_cmd->pixel_format) in omap_framebuffer_init() 410 (char *)&mode_cmd->pixel_format); in omap_framebuffer_init()
|
/drivers/gpu/drm/ |
D | drm_framebuffer.c | 118 r.pixel_format = drm_mode_legacy_fb_format(or->bpp, or->depth); in drm_mode_addfb() 121 if (r.pixel_format == DRM_FORMAT_XRGB2101010 && in drm_mode_addfb() 123 r.pixel_format = DRM_FORMAT_XBGR2101010; in drm_mode_addfb() 159 info = __drm_format_info(r->pixel_format & ~DRM_FORMAT_BIG_ENDIAN); in framebuffer_check() 163 drm_get_format_name(r->pixel_format, in framebuffer_check() 221 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check()
|
/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 507 (mode_cmd->pixel_format) & 0xff, in bochs_user_framebuffer_create() 508 (mode_cmd->pixel_format >> 8) & 0xff, in bochs_user_framebuffer_create() 509 (mode_cmd->pixel_format >> 16) & 0xff, in bochs_user_framebuffer_create() 510 (mode_cmd->pixel_format >> 24) & 0xff); in bochs_user_framebuffer_create() 512 if (mode_cmd->pixel_format != DRM_FORMAT_XRGB8888) in bochs_user_framebuffer_create()
|
/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()
|
/drivers/gpu/drm/arm/ |
D | hdlcd_crtc.c | 85 uint32_t pixel_format; in hdlcd_set_pxl_fmt() local 89 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt() 92 if (supported_formats[i].fourcc == pixel_format) in hdlcd_set_pxl_fmt()
|
/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_ttm.c | 535 (mode_cmd->pixel_format) & 0xff, in hibmc_user_framebuffer_create() 536 (mode_cmd->pixel_format >> 8) & 0xff, in hibmc_user_framebuffer_create() 537 (mode_cmd->pixel_format >> 16) & 0xff, in hibmc_user_framebuffer_create() 538 (mode_cmd->pixel_format >> 24) & 0xff); in hibmc_user_framebuffer_create()
|
/drivers/gpu/drm/i915/ |
D | intel_dsi_pll.c | 122 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_compute_dsi_pll() 323 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in vlv_dsi_get_pclk() 352 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in bxt_dsi_get_pclk() 491 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in gen9lp_compute_dsi_pll()
|
D | intel_dsi.h | 69 enum mipi_dsi_pixel_format pixel_format; member
|
D | intel_dsi_vbt.c | 526 intel_dsi->pixel_format = in intel_dsi_vbt_init() 529 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in intel_dsi_vbt_init() 770 DRM_DEBUG_KMS("Pixel Format %d\n", intel_dsi->pixel_format); in intel_dsi_vbt_init()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 609 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scalex_steps() argument 624 hsub = drm_format_horz_chroma_subsampling(pixel_format); in calc_scalex_steps() 634 uint32_t pixel_format, uint32_t src, uint32_t dest, in calc_scaley_steps() argument 649 vsub = drm_format_vert_chroma_subsampling(pixel_format); in calc_scaley_steps() 662 uint32_t sub, pix_fmt = format->base.pixel_format; in get_scale_config() 716 uint32_t pix_fmt = format->base.pixel_format; in mdp5_write_pixel_ext() 913 pix_format = format->base.pixel_format; in mdp5_plane_mode_set()
|
/drivers/gpu/drm/arc/ |
D | arcpgu_crtc.c | 39 uint32_t pixel_format = fb->format->format; in arc_pgu_set_pxl_fmt() local 44 if (supported_formats[i].fourcc == pixel_format) in arc_pgu_set_pxl_fmt()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 241 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new() 242 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new() 243 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new() 244 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new() 251 drm_get_format_name(mode_cmd->pixel_format, in nouveau_framebuffer_new()
|
/drivers/gpu/drm/cirrus/ |
D | cirrus_fbdev.c | 146 bpp = drm_format_plane_cpp(mode_cmd->pixel_format, 0) * 8; in cirrusfb_create_object() 178 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in cirrusfb_create()
|
/drivers/gpu/drm/hisilicon/kirin/ |
D | kirin_drm_ade.c | 79 u32 pixel_format; member 121 static u32 ade_get_format(u32 pixel_format) in ade_get_format() argument 126 if (ade_formats[i].pixel_format == pixel_format) in ade_get_format() 131 pixel_format); in ade_get_format()
|
/drivers/input/touchscreen/ |
D | sur40.c | 888 if ((f->index != 0) || ((f->pixel_format != V4L2_TCH_FMT_TU08) in sur40_vidioc_enum_framesizes() 889 && (f->pixel_format != V4L2_PIX_FMT_GREY))) in sur40_vidioc_enum_framesizes() 903 if ((f->index > 0) || ((f->pixel_format != V4L2_TCH_FMT_TU08) in sur40_vidioc_enum_frameintervals() 904 && (f->pixel_format != V4L2_PIX_FMT_GREY)) in sur40_vidioc_enum_frameintervals()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 138 cpp = drm_format_plane_cpp(mode_cmd->pixel_format, 0); in amdgpufb_create_pinned_object() 212 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in amdgpufb_create()
|
/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 138 cpp = drm_format_plane_cpp(mode_cmd->pixel_format, 0); in radeonfb_create_pinned_object() 229 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create()
|
/drivers/media/pci/cx25821/ |
D | cx25821-video-upstream.c | 602 int pixel_format) in cx25821_vidupstream_init() argument 631 out->_pixel_format = pixel_format; in cx25821_vidupstream_init() 642 out->_pixel_format = pixel_format; in cx25821_vidupstream_init()
|