Home
last modified time | relevance | path

Searched refs:supported_formats (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/drivers/gpu/drm/arm/
H A Dhdlcd_crtc.c76 static struct simplefb_format supported_formats[] = SIMPLEFB_FORMATS; variable
92 for (i = 0; i < ARRAY_SIZE(supported_formats); i++) { in hdlcd_set_pxl_fmt()
93 if (supported_formats[i].fourcc == pixel_format) in hdlcd_set_pxl_fmt()
94 format = &supported_formats[i]; in hdlcd_set_pxl_fmt()
301 u32 formats[ARRAY_SIZE(supported_formats)], i; in hdlcd_plane_init()
303 for (i = 0; i < ARRAY_SIZE(supported_formats); i++) in hdlcd_plane_init()
304 formats[i] = supported_formats[i].fourcc; in hdlcd_plane_init()
/linux-6.15/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.h20 static inline bool dpu_find_format(u32 format, const u32 *supported_formats, in dpu_find_format() argument
27 if (format == supported_formats[i]) in dpu_find_format()
H A Ddpu_plane.c703 const u32 *supported_formats; in dpu_plane_check_inline_rotation() local
719 supported_formats = sblk->rotation_cfg->rot_format_list; in dpu_plane_check_inline_rotation()
723 !dpu_find_format(fmt->pixel_format, supported_formats, num_formats)) in dpu_plane_check_inline_rotation()
/linux-6.15/drivers/gpu/drm/display/
H A Ddrm_bridge_connector.c524 unsigned int supported_formats = BIT(HDMI_COLORSPACE_RGB); in drm_bridge_connector_init() local
573 if (bridge->supported_formats) in drm_bridge_connector_init()
574 supported_formats = bridge->supported_formats; in drm_bridge_connector_init()
600 supported_formats &= ~BIT(HDMI_COLORSPACE_YUV420); in drm_bridge_connector_init()
610 supported_formats, in drm_bridge_connector_init()
H A Ddrm_hdmi_state_helper.c112 if (!(connector->hdmi.supported_formats & BIT(format))) { in sink_supports_format_bpc()
/linux-6.15/drivers/media/i2c/
H A Dgc2145.c558 static const struct gc2145_format supported_formats[] = { variable
665 for (i = 0; i < ARRAY_SIZE(supported_formats); i++) { in gc2145_get_format_code()
666 if (supported_formats[i].code == code) in gc2145_get_format_code()
670 if (i >= ARRAY_SIZE(supported_formats)) in gc2145_get_format_code()
673 return &supported_formats[i]; in gc2145_get_format_code()
745 if (code->index >= ARRAY_SIZE(supported_formats)) in gc2145_enum_mbus_code()
748 code->code = supported_formats[code->index].code; in gc2145_enum_mbus_code()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_connector.c576 unsigned long supported_formats, in drmm_connector_hdmi_init() argument
592 if (!supported_formats || !(supported_formats & BIT(HDMI_COLORSPACE_RGB))) in drmm_connector_hdmi_init()
595 if (connector->ycbcr_420_allowed != !!(supported_formats & BIT(HDMI_COLORSPACE_YUV420))) in drmm_connector_hdmi_init()
605 connector->hdmi.supported_formats = supported_formats; in drmm_connector_hdmi_init()
H A Ddrm_bridge.c211 bridge->ycbcr_420_allowed = !!(bridge->supported_formats & in drm_bridge_add()
/linux-6.15/include/drm/
H A Ddrm_connector.h1810 unsigned long supported_formats; member
2286 unsigned long supported_formats,
H A Ddrm_bridge.h907 unsigned int supported_formats; member
/linux-6.15/drivers/media/platform/raspberrypi/pisp_be/
H A Dpisp_be.c1056 for (unsigned int i = 0; i < ARRAY_SIZE(supported_formats); i++) { in pispbe_find_fmt()
1057 if (supported_formats[i].fourcc == fourcc) in pispbe_find_fmt()
1058 return &supported_formats[i]; in pispbe_find_fmt()
1296 if (f->index >= ARRAY_SIZE(supported_formats)) in pispbe_node_enum_fmt()
1299 f->pixelformat = supported_formats[f->index].fourcc; in pispbe_node_enum_fmt()
H A Dpisp_be_formats.h56 static const struct pisp_be_format supported_formats[] = { variable
/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_connector_test.c1099 unsigned long supported_formats; member
1106 .supported_formats = BIT(HDMI_COLORSPACE_RGB) | (_formats), \
1124 t->supported_formats, t->yuv420_allowed); in drm_connector_hdmi_init_formats_yuv420_allowed_desc()
1151 params->supported_formats, in drm_test_connector_hdmi_init_formats_yuv420_allowed()
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Dsh_css.c4440 const enum ia_css_frame_format *supported_formats; in ia_css_pipe_check_format() local
4453 supported_formats = pipe->pipe_settings.video.video_binary.info->output_formats; in ia_css_pipe_check_format()
4457 if (supported_formats[i] == format) { in ia_css_pipe_check_format()