Home
last modified time | relevance | path

Searched refs:bus_format (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-simple.c95 u32 bus_format; member
225 if (panel->desc->bus_format) in panel_simple_get_non_edid_modes()
227 &panel->desc->bus_format, 1); in panel_simple_get_non_edid_modes()
579 WARN_ON(desc->bus_format != MEDIA_BUS_FMT_RGB666_1X7X3_SPWG && in panel_simple_probe()
580 desc->bus_format != MEDIA_BUS_FMT_RGB888_1X7X4_SPWG && in panel_simple_probe()
581 desc->bus_format != MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA); in panel_simple_probe()
582 WARN_ON(desc->bus_format == MEDIA_BUS_FMT_RGB666_1X7X3_SPWG && in panel_simple_probe()
584 WARN_ON((desc->bus_format == MEDIA_BUS_FMT_RGB888_1X7X4_SPWG || in panel_simple_probe()
585 desc->bus_format == MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA) && in panel_simple_probe()
589 if (desc->bus_format == 0) in panel_simple_probe()
[all …]
Dpanel-lvds.c33 unsigned int bus_format; member
100 &lvds->bus_format, 1); in panel_lvds_get_modes()
160 lvds->bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG; in panel_lvds_parse_dt()
162 lvds->bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA; in panel_lvds_parse_dt()
164 lvds->bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG; in panel_lvds_parse_dt()
Dpanel-seiko-43wvf1g.c39 u32 bus_format; member
114 if (panel->desc->bus_format) in seiko_panel_get_fixed_modes()
116 &panel->desc->bus_format, 1); in seiko_panel_get_fixed_modes()
306 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
Dpanel-novatek-nt39016.c54 u32 bus_format, bus_flags; member
230 &panel_info->bus_format, 1); in nt39016_get_modes()
345 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
Dpanel-olimex-lcd-olinuxino.c46 u32 bus_format; member
189 if (lcd_info->bus_format) in lcd_olinuxino_get_modes()
191 &lcd_info->bus_format, 1); in lcd_olinuxino_get_modes()
Dpanel-ronbo-rb070d30.c115 static const u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in rb070d30_panel_get_modes() local
133 &bus_format, 1); in rb070d30_panel_get_modes()
Dpanel-raspberrypi-touchscreen.c322 static const u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in rpi_touchscreen_get_modes() local
351 &bus_format, 1); in rpi_touchscreen_get_modes()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dimx-ldb.c67 u32 bus_format; member
100 u32 bus_format) in imx_ldb_ch_set_bus_format() argument
105 switch (bus_format) { in imx_ldb_ch_set_bus_format()
254 u32 bus_format = imx_ldb_ch->bus_format; in imx_ldb_encoder_atomic_mode_set() local
294 if (!bus_format) { in imx_ldb_encoder_atomic_mode_set()
299 bus_format = di->bus_formats[0]; in imx_ldb_encoder_atomic_mode_set()
301 imx_ldb_ch_set_bus_format(imx_ldb_ch, bus_format); in imx_ldb_encoder_atomic_mode_set()
357 u32 bus_format = imx_ldb_ch->bus_format; in imx_ldb_encoder_atomic_check() local
360 if (!bus_format && di->num_bus_formats) { in imx_ldb_encoder_atomic_check()
361 bus_format = di->bus_formats[0]; in imx_ldb_encoder_atomic_check()
[all …]
Dparallel-display.c31 u32 bus_format; member
123 if (!imxpd->bus_format && !di->num_bus_formats) { in imx_pd_bridge_atomic_get_output_bus_fmts()
134 if (!imxpd->bus_format && di->num_bus_formats) in imx_pd_bridge_atomic_get_output_bus_fmts()
137 output_fmts[0] = imxpd->bus_format; in imx_pd_bridge_atomic_get_output_bus_fmts()
171 output_fmt = imxpd->bus_format ? : MEDIA_BUS_FMT_RGB888_1X24; in imx_pd_bridge_atomic_get_input_bus_fmts()
174 if ((imxpd->bus_format && imxpd->bus_format != output_fmt) || in imx_pd_bridge_atomic_get_input_bus_fmts()
220 imx_crtc_state->bus_format = bridge_state->input_bus_cfg.format; in imx_pd_bridge_atomic_check()
303 u32 bus_format = 0; in imx_pd_bind() local
322 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in imx_pd_bind()
324 bus_format = MEDIA_BUS_FMT_RGB565_1X16; in imx_pd_bind()
[all …]
Dimx-drm.h17 u32 bus_format; member
Dipuv3-crtc.c298 sig_cfg.bus_format = imx_crtc_state->bus_format; in ipu_crtc_mode_set_nofb()
307 imx_crtc_state->bus_format, mode->hdisplay); in ipu_crtc_mode_set_nofb()
Ddw_hdmi-imx.c130 imx_crtc_state->bus_format = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_imx_atomic_check()
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/
Det8ek8_mode.c54 .bus_format = MEDIA_BUS_FMT_SGRBG10_1X10,
155 .bus_format = MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,
211 .bus_format = MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,
267 .bus_format = MEDIA_BUS_FMT_SGRBG10_1X10,
323 .bus_format = MEDIA_BUS_FMT_SGRBG10_1X10,
379 .bus_format = MEDIA_BUS_FMT_SGRBG10_1X10,
434 .bus_format = MEDIA_BUS_FMT_SGRBG10_1X10,
490 .bus_format = MEDIA_BUS_FMT_SGRBG10_1X10,
546 .bus_format = MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,
Det8ek8_reg.h43 u32 bus_format; /* MEDIA_BUS_FMT_ */ member
Det8ek8_driver.c399 fmt->code = reglist->mode.bus_format; in et8ek8_reglist_to_mbus()
538 list->mode.bus_format, in et8ek8_reglist_import()
904 if (pixelformat[i] == mode->bus_format) in et8ek8_enum_mbus_code()
911 code->code = mode->bus_format; in et8ek8_enum_mbus_code()
915 pixelformat[npixelformat] = mode->bus_format; in et8ek8_enum_mbus_code()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_rgb.c40 u32 bus_format; in rockchip_rgb_encoder_atomic_check() local
43 bus_format = info->bus_formats[0]; in rockchip_rgb_encoder_atomic_check()
45 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in rockchip_rgb_encoder_atomic_check()
47 switch (bus_format) { in rockchip_rgb_encoder_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dti-tfp410.c26 u32 bus_format; member
163 &dvi->bus_format, 1); in tfp410_attach()
272 dvi->bus_format = MEDIA_BUS_FMT_RGB888_2X12_LE; in tfp410_parse_timings()
275 dvi->bus_format = MEDIA_BUS_FMT_RGB888_1X24; in tfp410_parse_timings()
/kernel/linux/linux-5.10/drivers/gpu/drm/mxsfb/
Dmxsfb_kms.c54 u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in mxsfb_set_formats() local
58 bus_format = mxsfb->connector->display_info.bus_formats[0]; in mxsfb_set_formats()
61 bus_format); in mxsfb_set_formats()
83 switch (bus_format) { in mxsfb_set_formats()
94 dev_err(drm->dev, "Unknown media bus format %d\n", bus_format); in mxsfb_set_formats()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_dpi.c152 u32 bus_format = connector->display_info.bus_formats[0]; in vc4_dpi_encoder_enable() local
154 switch (bus_format) { in vc4_dpi_encoder_enable()
177 DRM_ERROR("Unknown media bus format %d\n", bus_format); in vc4_dpi_encoder_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_crtc.h37 u32 bus_format; member
Dtidss_encoder.c51 tcrtc_state->bus_format = di->bus_formats[0]; in tidss_encoder_atomic_check()
Dtidss_crtc.c375 state->bus_format = current_state->bus_format; in tidss_crtc_duplicate_state()
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-dc.c161 u32 bus_format, u32 width) in ipu_dc_init_sync() argument
170 map = ipu_bus_format_to_map(bus_format); in ipu_dc_init_sync()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c812 static bool hdmi_bus_fmt_is_rgb(unsigned int bus_format) in hdmi_bus_fmt_is_rgb() argument
814 switch (bus_format) { in hdmi_bus_fmt_is_rgb()
826 static bool hdmi_bus_fmt_is_yuv444(unsigned int bus_format) in hdmi_bus_fmt_is_yuv444() argument
828 switch (bus_format) { in hdmi_bus_fmt_is_yuv444()
840 static bool hdmi_bus_fmt_is_yuv422(unsigned int bus_format) in hdmi_bus_fmt_is_yuv422() argument
842 switch (bus_format) { in hdmi_bus_fmt_is_yuv422()
853 static bool hdmi_bus_fmt_is_yuv420(unsigned int bus_format) in hdmi_bus_fmt_is_yuv420() argument
855 switch (bus_format) { in hdmi_bus_fmt_is_yuv420()
867 static int hdmi_bus_fmt_color_depth(unsigned int bus_format) in hdmi_bus_fmt_color_depth() argument
869 switch (bus_format) { in hdmi_bus_fmt_color_depth()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c308 u32 bus_format = 0; in sun4i_tcon0_mode_set_dithering() local
337 bus_format = connector->display_info.bus_formats[0]; in sun4i_tcon0_mode_set_dithering()
340 switch (bus_format) { in sun4i_tcon0_mode_set_dithering()

12