Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c130 u32 bus_format; member
264 if (panel->desc->bus_format) in panel_simple_get_non_edid_modes()
266 &panel->desc->bus_format, 1); in panel_simple_get_non_edid_modes()
558 if (panel->desc->bpc != bpc || panel->desc->bus_format != ret) { in panel_simple_override_nondefault_lvds_datamapping()
565 override_desc->bus_format = ret; in panel_simple_override_nondefault_lvds_datamapping()
644 WARN_ON(desc->bus_format != MEDIA_BUS_FMT_RGB666_1X7X3_SPWG && in panel_simple_probe()
645 desc->bus_format != MEDIA_BUS_FMT_RGB888_1X7X4_SPWG && in panel_simple_probe()
646 desc->bus_format != MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA); in panel_simple_probe()
647 WARN_ON(desc->bus_format == MEDIA_BUS_FMT_RGB666_1X7X3_SPWG && in panel_simple_probe()
649 WARN_ON((desc->bus_format == MEDIA_BUS_FMT_RGB888_1X7X4_SPWG || in panel_simple_probe()
[all …]
H A Dpanel-newvision-nv3052c.c32 u32 bus_format, bus_flags; member
760 &panel_info->bus_format, 1); in nv3052c_get_modes()
889 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
900 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
911 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
H A Dpanel-seiko-43wvf1g.c41 u32 bus_format; member
115 if (panel->desc->bus_format) in seiko_panel_get_fixed_modes()
117 &panel->desc->bus_format, 1); in seiko_panel_get_fixed_modes()
269 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
H A Dpanel-lvds.c35 unsigned int bus_format; member
100 &lvds->bus_format, 1); in panel_lvds_get_modes()
153 lvds->bus_format = ret; in panel_lvds_parse_dt()
H A Dpanel-innolux-ej030na.c27 u32 bus_format, bus_flags; member
181 &panel_info->bus_format, 1); in ej030na_get_modes()
287 .bus_format = MEDIA_BUS_FMT_RGB888_3X8_DELTA,
H A Dpanel-orisetech-ota5601a.c30 u32 bus_format, bus_flags; member
219 &panel_info->bus_format, 1); in ota5601a_get_modes()
334 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
H A Dpanel-olimex-lcd-olinuxino.c46 u32 bus_format; member
153 if (lcd_info->bus_format) in lcd_olinuxino_get_modes()
155 &lcd_info->bus_format, 1); in lcd_olinuxino_get_modes()
H A Dpanel-auo-a030jtn01.c36 u32 bus_format, bus_flags; member
165 &panel_info->bus_format, 1); in a030jtn01_get_modes()
279 .bus_format = MEDIA_BUS_FMT_RGB888_3X8_DELTA,
H A Dpanel-novatek-nt39016.c53 u32 bus_format, bus_flags; member
229 &panel_info->bus_format, 1); in nt39016_get_modes()
336 .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
H A Dpanel-abt-y030xx067a.c118 u32 bus_format, bus_flags; member
255 &panel_info->bus_format, 1); in y030xx067a_get_modes()
362 .bus_format = MEDIA_BUS_FMT_RGB888_3X8_DELTA,
H A Dpanel-ronbo-rb070d30.c110 static const u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in rb070d30_panel_get_modes() local
128 &bus_format, 1); in rb070d30_panel_get_modes()
H A Dpanel-samsung-s6d27a1.c212 static const u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in s6d27a1_get_modes() local
226 &bus_format, 1); in s6d27a1_get_modes()
/linux/drivers/gpu/drm/imx/ipuv3/
H A Dimx-ldb.c68 u32 bus_format; member
95 u32 bus_format) in imx_ldb_ch_set_bus_format() argument
100 switch (bus_format) { in imx_ldb_ch_set_bus_format()
212 u32 bus_format = imx_ldb_ch->bus_format; in imx_ldb_encoder_atomic_mode_set() local
257 if (!bus_format) { in imx_ldb_encoder_atomic_mode_set()
262 bus_format = di->bus_formats[0]; in imx_ldb_encoder_atomic_mode_set()
264 imx_ldb_ch_set_bus_format(imx_ldb_ch, bus_format); in imx_ldb_encoder_atomic_mode_set()
316 u32 bus_format = imx_ldb_ch->bus_format; in imx_ldb_encoder_atomic_check() local
319 if (!bus_format && di->num_bus_formats) { in imx_ldb_encoder_atomic_check()
320 bus_format = di->bus_formats[0]; in imx_ldb_encoder_atomic_check()
[all …]
H A Dparallel-display.c34 u32 bus_format; member
63 if (!imxpd->bus_format && !di->num_bus_formats) { in imx_pd_bridge_atomic_get_output_bus_fmts()
74 if (!imxpd->bus_format && di->num_bus_formats) in imx_pd_bridge_atomic_get_output_bus_fmts()
77 output_fmts[0] = imxpd->bus_format; in imx_pd_bridge_atomic_get_output_bus_fmts()
111 output_fmt = imxpd->bus_format ? : MEDIA_BUS_FMT_RGB888_1X24; in imx_pd_bridge_atomic_get_input_bus_fmts()
114 if ((imxpd->bus_format && imxpd->bus_format != output_fmt) || in imx_pd_bridge_atomic_get_input_bus_fmts()
157 imx_crtc_state->bus_format = bridge_state->input_bus_cfg.format; in imx_pd_bridge_atomic_check()
227 u32 bus_format = 0; in imx_pd_probe() local
246 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in imx_pd_probe()
248 bus_format = MEDIA_BUS_FMT_RGB565_1X16; in imx_pd_probe()
[all …]
H A Dipuv3-crtc.c301 sig_cfg.bus_format = imx_crtc_state->bus_format; in ipu_crtc_mode_set_nofb()
319 imx_crtc_state->bus_format, sig_cfg.mode.hactive); in ipu_crtc_mode_set_nofb()
/linux/drivers/media/i2c/et8ek8/
H A 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,
/linux/drivers/gpu/drm/mxsfb/
H A Dlcdif_kms.c36 u32 bus_format; member
163 const u32 bus_format) in lcdif_set_formats() argument
170 switch (bus_format) { in lcdif_set_formats()
185 dev_err(drm->dev, "Unknown media bus format 0x%x\n", bus_format); in lcdif_set_formats()
418 lcdif_set_formats(lcdif, plane_state, lcdif_crtc_state->bus_format); in lcdif_crtc_mode_set_nofb()
437 u32 bus_format, bus_flags; in lcdif_crtc_atomic_check() local
462 bus_format = MEDIA_BUS_FMT_FIXED; in lcdif_crtc_atomic_check()
464 bus_format = bridge_state->input_bus_cfg.format; in lcdif_crtc_atomic_check()
466 if (bus_format == MEDIA_BUS_FMT_FIXED) { in lcdif_crtc_atomic_check()
471 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in lcdif_crtc_atomic_check()
[all …]
H A Dmxsfb_kms.c52 const u32 bus_format) in mxsfb_set_formats() argument
59 bus_format); in mxsfb_set_formats()
81 switch (bus_format) { in mxsfb_set_formats()
92 dev_err(drm->dev, "Unknown media bus format 0x%x\n", bus_format); in mxsfb_set_formats()
280 const u32 bus_format) in mxsfb_crtc_mode_set_nofb() argument
304 mxsfb_set_formats(mxsfb, bus_format); in mxsfb_crtc_mode_set_nofb()
354 u32 bus_format = 0; in mxsfb_crtc_atomic_enable() local
368 bus_format = MEDIA_BUS_FMT_FIXED; in mxsfb_crtc_atomic_enable()
370 bus_format = bridge_state->input_bus_cfg.format; in mxsfb_crtc_atomic_enable()
372 if (bus_format == MEDIA_BUS_FMT_FIXED) { in mxsfb_crtc_atomic_enable()
[all …]
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_rgb.c41 u32 bus_format; in rockchip_rgb_encoder_atomic_check() local
44 bus_format = info->bus_formats[0]; in rockchip_rgb_encoder_atomic_check()
46 bus_format = MEDIA_BUS_FMT_RGB888_1X24; in rockchip_rgb_encoder_atomic_check()
48 switch (bus_format) { in rockchip_rgb_encoder_atomic_check()
H A Drockchip_drm_vop2.c474 static bool vop2_output_uv_swap(u32 bus_format, u32 output_mode) in vop2_output_uv_swap() argument
485 if (bus_format == MEDIA_BUS_FMT_YVYU8_1X16 || in vop2_output_uv_swap()
486 bus_format == MEDIA_BUS_FMT_VYUY8_1X16 || in vop2_output_uv_swap()
487 bus_format == MEDIA_BUS_FMT_YVYU8_2X8 || in vop2_output_uv_swap()
488 bus_format == MEDIA_BUS_FMT_VYUY8_2X8 || in vop2_output_uv_swap()
489 ((bus_format == MEDIA_BUS_FMT_YUV8_1X24 || in vop2_output_uv_swap()
490 bus_format == MEDIA_BUS_FMT_YUV10_1X30) && in vop2_output_uv_swap()
498 static bool vop2_output_rg_swap(struct vop2 *vop2, u32 bus_format) in vop2_output_rg_swap() argument
501 if (bus_format == MEDIA_BUS_FMT_YUV8_1X24 || in vop2_output_rg_swap()
502 bus_format == MEDIA_BUS_FMT_YUV10_1X30) in vop2_output_rg_swap()
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dlvds-codec.c28 unsigned int bus_format; member
94 input_fmts[0] = lvds_codec->bus_format; in lvds_codec_atomic_get_input_bus_fmts()
181 lvds_codec->bus_format = ret; in lvds_codec_probe()
184 lvds_codec->bus_format = MEDIA_BUS_FMT_RGB888_1X24; in lvds_codec_probe()
H A Dti-tfp410.c28 u32 bus_format; member
160 &dvi->bus_format, 1); in tfp410_attach()
221 input_fmts[0] = dvi->bus_format; in tfp410_get_input_bus_fmts()
312 dvi->bus_format = MEDIA_BUS_FMT_RGB888_2X12_LE; in tfp410_parse_timings()
315 dvi->bus_format = MEDIA_BUS_FMT_RGB888_1X24; in tfp410_parse_timings()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_encoder.c62 tcrtc_state->bus_format = next_bridge_state->input_bus_cfg.format; in tidss_bridge_atomic_check()
64 tcrtc_state->bus_format = di->bus_formats[0]; in tidss_bridge_atomic_check()
H A Dtidss_crtc.h37 u32 bus_format; member
/linux/drivers/gpu/drm/vc4/
H A Dvc4_dpi.c164 u32 bus_format = connector->display_info.bus_formats[0]; in vc4_dpi_encoder_enable() local
168 switch (bus_format) { in vc4_dpi_encoder_enable()
203 bus_format); in vc4_dpi_encoder_enable()

12