Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/bridge/
Dpanel.c20 struct panel_bridge { struct
27 static inline struct panel_bridge * argument
30 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge()
33 static inline struct panel_bridge *
36 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge()
41 struct panel_bridge *panel_bridge = in panel_bridge_connector_get_modes() local
44 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes()
63 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() local
64 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach()
75 panel_bridge->connector_type); in panel_bridge_attach()
[all …]
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()
Dnxp-ptn3460.c32 struct drm_bridge *panel_bridge; member
224 ret = drm_bridge_attach(bridge->encoder, ptn_bridge->panel_bridge, in ptn3460_bridge_attach()
261 struct drm_bridge *panel_bridge; in ptn3460_probe() local
269 panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 0, 0); in ptn3460_probe()
270 if (IS_ERR(panel_bridge)) in ptn3460_probe()
271 return PTR_ERR(panel_bridge); in ptn3460_probe()
273 ptn_bridge->panel_bridge = panel_bridge; in ptn3460_probe()
Dmicrochip-lvds.c61 struct drm_bridge *panel_bridge; member
111 return drm_bridge_attach(bridge->encoder, lvds->panel_bridge, in mchp_lvds_attach()
188 lvds->panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, 1, 0); in mchp_lvds_probe()
190 if (IS_ERR(lvds->panel_bridge)) in mchp_lvds_probe()
191 return PTR_ERR(lvds->panel_bridge); in mchp_lvds_probe()
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()
Dlvds-codec.c23 struct drm_bridge *panel_bridge; member
41 return drm_bridge_attach(bridge->encoder, lvds_codec->panel_bridge, in lvds_codec_attach()
152 lvds_codec->panel_bridge = in lvds_codec_probe()
155 if (IS_ERR(lvds_codec->panel_bridge)) in lvds_codec_probe()
156 return PTR_ERR(lvds_codec->panel_bridge); in lvds_codec_probe()
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()
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()
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()
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()
Dtc358767.c365 struct drm_bridge *panel_bridge; member
1734 if (tc->panel_bridge) { in tc_connector_get_modes()
1735 num_modes = drm_bridge_get_modes(tc->panel_bridge, connector); in tc_connector_get_modes()
1779 if (tc->panel_bridge) in tc_connector_detect()
1799 if (!tc->panel_bridge) in tc_dpi_bridge_attach()
1802 return drm_bridge_attach(tc->bridge.encoder, tc->panel_bridge, in tc_dpi_bridge_attach()
1814 if (tc->panel_bridge) { in tc_edp_bridge_attach()
1816 ret = drm_bridge_attach(tc->bridge.encoder, tc->panel_bridge, in tc_edp_bridge_attach()
2310 tc->panel_bridge = bridge; in tc_probe_dpi_bridge_endpoint()
2332 struct drm_bridge *panel_bridge; in tc_probe_edp_bridge_endpoint() local
[all …]
Dtc358775.c269 struct drm_bridge *panel_bridge; member
598 return drm_bridge_attach(bridge->encoder, tc->panel_bridge, in tc_bridge_attach()
674 tc->panel_bridge = devm_drm_of_get_bridge(dev, dev->of_node, in tc_probe()
676 if (IS_ERR(tc->panel_bridge)) in tc_probe()
677 return PTR_ERR(tc->panel_bridge); in tc_probe()
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()
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()
/linux-6.12.1/drivers/gpu/drm/display/
Ddrm_bridge_connector.c387 struct drm_bridge *bridge, *panel_bridge = NULL; in drm_bridge_connector_init() local
454 panel_bridge = bridge; in drm_bridge_connector_init()
484 if (panel_bridge) in drm_bridge_connector_init()
485 drm_panel_bridge_set_orientation(connector, panel_bridge); in drm_bridge_connector_init()
/linux-6.12.1/drivers/gpu/drm/sprd/
Dsprd_dsi.h119 struct drm_bridge *panel_bridge; member
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()
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/
Danx7625.c1508 if (!ctx->pdata.panel_bridge && ctx->bridge_attached) in _anx7625_hpd_polling()
1713 pdata->panel_bridge = devm_drm_of_get_bridge(dev, np, 1, 0); in anx7625_parse_dt_panel()
1714 if (IS_ERR(pdata->panel_bridge)) { in anx7625_parse_dt_panel()
1715 if (PTR_ERR(pdata->panel_bridge) == -ENODEV) { in anx7625_parse_dt_panel()
1716 pdata->panel_bridge = NULL; in anx7625_parse_dt_panel()
1720 return PTR_ERR(pdata->panel_bridge); in anx7625_parse_dt_panel()
1817 if (ctx->pdata.panel_bridge) in anx7625_sink_detect()
2201 if (ctx->pdata.panel_bridge) { in anx7625_bridge_attach()
2203 ctx->pdata.panel_bridge, in anx7625_bridge_attach()
2302 if (!ctx->pdata.panel_bridge) in anx7625_bridge_mode_fixup()
[all …]
Danx7625.h427 struct drm_bridge *panel_bridge; member
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c246 struct drm_bridge *panel_bridge; member
340 dsi->panel_bridge = bridge; in dw_mipi_dsi_host_attach()
1083 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge, in dw_mipi_dsi_bridge_attach()