Home
last modified time | relevance | path

Searched refs:panel_bridge (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/gpu/drm/bridge/
H A Dpanel.c18 struct panel_bridge { struct
39 struct panel_bridge *panel_bridge = in panel_bridge_connector_get_modes() local
61 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() local
100 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_detach() local
117 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_atomic_pre_enable() local
291 struct panel_bridge *panel_bridge; in drm_panel_bridge_add_typed() local
296 panel_bridge = devm_kzalloc(panel->dev, sizeof(*panel_bridge), in drm_panel_bridge_add_typed()
298 if (!panel_bridge) in drm_panel_bridge_add_typed()
325 struct panel_bridge *panel_bridge; in drm_panel_bridge_remove() local
352 struct panel_bridge *panel_bridge; in drm_panel_bridge_set_orientation() local
[all …]
H A Dnxp-ptn3460.c32 struct drm_bridge *panel_bridge; member
222 ret = drm_bridge_attach(bridge->encoder, ptn_bridge->panel_bridge, in ptn3460_bridge_attach()
264 struct drm_bridge *panel_bridge; in ptn3460_probe() local
272 panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 0, 0); in ptn3460_probe()
273 if (IS_ERR(panel_bridge)) in ptn3460_probe()
274 return PTR_ERR(panel_bridge); in ptn3460_probe()
276 ptn_bridge->panel_bridge = panel_bridge; in ptn3460_probe()
H A Dtc358762.c75 struct drm_bridge *panel_bridge; member
206 return drm_bridge_attach(bridge->encoder, ctx->panel_bridge, in tc358762_attach()
232 struct drm_bridge *panel_bridge; in tc358762_parse_dt() local
235 panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 1, 0); in tc358762_parse_dt()
236 if (IS_ERR(panel_bridge)) in tc358762_parse_dt()
237 return PTR_ERR(panel_bridge); in tc358762_parse_dt()
239 ctx->panel_bridge = panel_bridge; in tc358762_parse_dt()
H A Dparade-ps8622.c46 struct drm_bridge *panel_bridge; member
426 return drm_bridge_attach(ps8622->bridge.encoder, ps8622->panel_bridge, in ps8622_attach()
449 struct drm_bridge *panel_bridge; in ps8622_probe() local
456 panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 0, 0); in ps8622_probe()
457 if (IS_ERR(panel_bridge)) in ps8622_probe()
458 return PTR_ERR(panel_bridge); in ps8622_probe()
460 ps8622->panel_bridge = panel_bridge; in ps8622_probe()
H A Dlvds-codec.c22 struct drm_bridge *panel_bridge; member
40 return drm_bridge_attach(bridge->encoder, lvds_codec->panel_bridge, in lvds_codec_attach()
157 lvds_codec->panel_bridge = in lvds_codec_probe()
160 if (IS_ERR(lvds_codec->panel_bridge)) in lvds_codec_probe()
161 return PTR_ERR(lvds_codec->panel_bridge); in lvds_codec_probe()
H A Dlontium-lt9211.c48 struct drm_bridge *panel_bridge; member
106 return drm_bridge_attach(bridge->encoder, ctx->panel_bridge, in lt9211_attach()
629 struct drm_bridge *panel_bridge; in lt9211_parse_dt() local
659 ret = drm_of_find_panel_or_bridge(dev->of_node, 2, 0, &panel, &panel_bridge); in lt9211_parse_dt()
663 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in lt9211_parse_dt()
664 if (IS_ERR(panel_bridge)) in lt9211_parse_dt()
665 return PTR_ERR(panel_bridge); in lt9211_parse_dt()
668 ctx->panel_bridge = panel_bridge; in lt9211_parse_dt()
H A Dti-sn65dsi83.c145 struct drm_bridge *panel_bridge; member
250 return drm_bridge_attach(bridge->encoder, ctx->panel_bridge, in sn65dsi83_attach()
581 struct drm_bridge *panel_bridge; in sn65dsi83_parse_dt() local
607 panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 2, 0); in sn65dsi83_parse_dt()
608 if (IS_ERR(panel_bridge)) in sn65dsi83_parse_dt()
609 return PTR_ERR(panel_bridge); in sn65dsi83_parse_dt()
611 ctx->panel_bridge = panel_bridge; in sn65dsi83_parse_dt()
H A Dfsl-ldb.c89 struct drm_bridge *panel_bridge; member
120 return drm_bridge_attach(bridge->encoder, fsl_ldb->panel_bridge, in fsl_ldb_attach()
344 fsl_ldb->panel_bridge = devm_drm_panel_bridge_add(dev, panel); in fsl_ldb_probe()
345 if (IS_ERR(fsl_ldb->panel_bridge)) in fsl_ldb_probe()
346 return PTR_ERR(fsl_ldb->panel_bridge); in fsl_ldb_probe()
H A Dtc358767.c288 struct drm_bridge *panel_bridge; member
1599 if (tc->panel_bridge) { in tc_connector_get_modes()
1643 if (tc->panel_bridge) in tc_connector_detect()
1663 if (!tc->panel_bridge) in tc_dpi_bridge_attach()
1678 if (tc->panel_bridge) { in tc_edp_bridge_attach()
2125 tc->panel_bridge = bridge; in tc_probe_dpi_bridge_endpoint()
2147 struct drm_bridge *panel_bridge; in tc_probe_edp_bridge_endpoint() local
2149 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in tc_probe_edp_bridge_endpoint()
2150 if (IS_ERR(panel_bridge)) in tc_probe_edp_bridge_endpoint()
2151 return PTR_ERR(panel_bridge); in tc_probe_edp_bridge_endpoint()
[all …]
H A Dparade-ps8640.c99 struct drm_bridge *panel_bridge; member
522 ret = drm_bridge_attach(bridge->encoder, ps_bridge->panel_bridge, in ps8640_bridge_attach()
621 ps_bridge->panel_bridge = devm_drm_of_get_bridge(dev, np, 1, 0); in ps8640_bridge_link_panel()
622 if (IS_ERR(ps_bridge->panel_bridge)) in ps8640_bridge_link_panel()
623 return PTR_ERR(ps_bridge->panel_bridge); in ps8640_bridge_link_panel()
H A Dtc358775.c262 struct drm_bridge *panel_bridge; member
586 return drm_bridge_attach(bridge->encoder, tc->panel_bridge, in tc_bridge_attach()
647 tc->panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, in tc_probe()
649 if (IS_ERR(tc->panel_bridge)) in tc_probe()
650 return PTR_ERR(tc->panel_bridge); in tc_probe()
H A Dchipone-icn6211.c149 struct drm_bridge *panel_bridge; member
588 return drm_bridge_attach(bridge->encoder, icn->panel_bridge, bridge, flags); in chipone_attach()
681 icn->panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 1, 0); in chipone_parse_dt()
682 if (IS_ERR(icn->panel_bridge)) in chipone_parse_dt()
683 return PTR_ERR(icn->panel_bridge); in chipone_parse_dt()
H A Dnwl-dsi.c918 struct drm_bridge *panel_bridge; in nwl_dsi_bridge_attach() local
920 panel_bridge = devm_drm_of_get_bridge(dsi->dev, dsi->dev->of_node, 1, 0); in nwl_dsi_bridge_attach()
921 if (IS_ERR(panel_bridge)) in nwl_dsi_bridge_attach()
922 return PTR_ERR(panel_bridge); in nwl_dsi_bridge_attach()
924 return drm_bridge_attach(bridge->encoder, panel_bridge, bridge, flags); in nwl_dsi_bridge_attach()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_bridge_connector.c319 struct drm_bridge *bridge, *panel_bridge = NULL; in drm_bridge_connector_init() local
364 panel_bridge = bridge; in drm_bridge_connector_init()
388 if (panel_bridge) in drm_bridge_connector_init()
389 drm_panel_bridge_set_orientation(connector, panel_bridge); in drm_bridge_connector_init()
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dsi.h119 struct drm_bridge *panel_bridge; member
H A Dsprd_dsi.c888 dsi->panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 1, 0); in sprd_dsi_bridge_init()
889 if (IS_ERR(dsi->panel_bridge)) in sprd_dsi_bridge_init()
890 return PTR_ERR(dsi->panel_bridge); in sprd_dsi_bridge_init()
892 ret = drm_bridge_attach(&dsi->encoder, dsi->panel_bridge, NULL, 0); in sprd_dsi_bridge_init()
/openbmc/linux/drivers/gpu/drm/bridge/analogix/
H A Danx7625.c1506 if (!ctx->pdata.panel_bridge && ctx->bridge_attached) in _anx7625_hpd_polling()
1721 if (IS_ERR(pdata->panel_bridge)) { in anx7625_parse_dt_panel()
1722 if (PTR_ERR(pdata->panel_bridge) == -ENODEV) { in anx7625_parse_dt_panel()
1723 pdata->panel_bridge = NULL; in anx7625_parse_dt_panel()
1727 return PTR_ERR(pdata->panel_bridge); in anx7625_parse_dt_panel()
1829 if (ctx->pdata.panel_bridge) in anx7625_sink_detect()
2218 if (ctx->pdata.panel_bridge) { in anx7625_bridge_attach()
2220 ctx->pdata.panel_bridge, in anx7625_bridge_attach()
2319 if (!ctx->pdata.panel_bridge) in anx7625_bridge_mode_fixup()
2625 if (!platform->pdata.panel_bridge) in anx7625_link_bridge()
[all …]
H A Danx7625.h433 struct drm_bridge *panel_bridge; member
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c243 struct drm_bridge *panel_bridge; member
337 dsi->panel_bridge = bridge; in dw_mipi_dsi_host_attach()
1002 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge, in dw_mipi_dsi_bridge_attach()