Home
last modified time | relevance | path

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

/linux/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/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.c715 const u32 *supported_formats; in dpu_plane_check_inline_rotation() local
728 supported_formats = sblk->rotation_cfg->rot_format_list; in dpu_plane_check_inline_rotation()
732 !dpu_find_format(fmt->pixel_format, supported_formats, num_formats)) in dpu_plane_check_inline_rotation()
/linux/drivers/gpu/drm/display/
H A Ddrm_bridge_connector.c388 unsigned int supported_formats = BIT(HDMI_COLORSPACE_RGB); in drm_bridge_connector_init() local
435 if (bridge->supported_formats) in drm_bridge_connector_init()
436 supported_formats = bridge->supported_formats; in drm_bridge_connector_init()
467 supported_formats, in drm_bridge_connector_init()
/linux/drivers/media/i2c/
H A Dgc2145.c559 static const struct gc2145_format supported_formats[] = { variable
666 for (i = 0; i < ARRAY_SIZE(supported_formats); i++) { in gc2145_get_format_code()
667 if (supported_formats[i].code == code) in gc2145_get_format_code()
671 if (i >= ARRAY_SIZE(supported_formats)) in gc2145_get_format_code()
674 return &supported_formats[i]; in gc2145_get_format_code()
746 if (code->index >= ARRAY_SIZE(supported_formats)) in gc2145_enum_mbus_code()
749 code->code = supported_formats[code->index].code; in gc2145_enum_mbus_code()
/linux/include/drm/
H A Ddrm_connector.h1683 unsigned long supported_formats; member
2146 unsigned long supported_formats,
H A Ddrm_bridge.h849 unsigned int supported_formats; member
/linux/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/drivers/gpu/drm/
H A Ddrm_connector.c491 unsigned long supported_formats, in drmm_connector_hdmi_init() argument
507 if (!supported_formats || !(supported_formats & BIT(HDMI_COLORSPACE_RGB))) in drmm_connector_hdmi_init()
517 connector->hdmi.supported_formats = supported_formats; in drmm_connector_hdmi_init()
/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css.c4449 const enum ia_css_frame_format *supported_formats; in ia_css_pipe_check_format() local
4462 supported_formats = pipe->pipe_settings.video.video_binary.info->output_formats; in ia_css_pipe_check_format()
4466 if (supported_formats[i] == format) { in ia_css_pipe_check_format()