/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | panel.c | 18 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 D | nxp-ptn3460.c | 32 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 D | tc358762.c | 75 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 D | parade-ps8622.c | 46 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 D | lvds-codec.c | 22 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 D | lontium-lt9211.c | 48 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 D | ti-sn65dsi83.c | 145 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 D | fsl-ldb.c | 89 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 D | tc358767.c | 288 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 D | parade-ps8640.c | 99 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 D | tc358775.c | 262 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 D | chipone-icn6211.c | 149 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 D | nwl-dsi.c | 918 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 D | drm_bridge_connector.c | 319 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 D | sprd_dsi.h | 119 struct drm_bridge *panel_bridge; member
|
H A D | sprd_dsi.c | 888 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 D | anx7625.c | 1506 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 D | anx7625.h | 433 struct drm_bridge *panel_bridge; member
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 243 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()
|