/drivers/gpu/drm/bridge/ |
D | panel.c | 17 struct panel_bridge { struct 24 static inline struct panel_bridge * argument 27 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge() 30 static inline struct panel_bridge * 33 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge() 38 struct panel_bridge *panel_bridge = in panel_bridge_connector_get_modes() local 41 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes() 60 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() local 61 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach() 77 panel_bridge->connector_type); in panel_bridge_attach() [all …]
|
D | tc358762.c | 66 struct drm_bridge *panel_bridge; member 168 return drm_bridge_attach(bridge->encoder, ctx->panel_bridge, in tc358762_attach() 180 struct drm_bridge *panel_bridge; in tc358762_parse_dt() local 189 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in tc358762_parse_dt() 191 if (IS_ERR(panel_bridge)) in tc358762_parse_dt() 192 return PTR_ERR(panel_bridge); in tc358762_parse_dt() 194 ctx->panel_bridge = panel_bridge; in tc358762_parse_dt()
|
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() 265 struct drm_bridge *panel_bridge; in ptn3460_probe() local 278 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in ptn3460_probe() 279 if (IS_ERR(panel_bridge)) in ptn3460_probe() 280 return PTR_ERR(panel_bridge); in ptn3460_probe() 282 ptn_bridge->panel_bridge = panel_bridge; in ptn3460_probe()
|
D | lvds-codec.c | 21 struct drm_bridge *panel_bridge; member 37 return drm_bridge_attach(bridge->encoder, lvds_codec->panel_bridge, in lvds_codec_attach() 116 lvds_codec->panel_bridge = in lvds_codec_probe() 119 if (IS_ERR(lvds_codec->panel_bridge)) in lvds_codec_probe() 120 return PTR_ERR(lvds_codec->panel_bridge); in lvds_codec_probe()
|
D | parade-ps8622.c | 47 struct drm_bridge *panel_bridge; member 431 return drm_bridge_attach(ps8622->bridge.encoder, ps8622->panel_bridge, in ps8622_attach() 454 struct drm_bridge *panel_bridge; in ps8622_probe() local 466 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in ps8622_probe() 467 if (IS_ERR(panel_bridge)) in ps8622_probe() 468 return PTR_ERR(panel_bridge); in ps8622_probe() 470 ps8622->panel_bridge = panel_bridge; in ps8622_probe()
|
D | ti-sn65dsi83.c | 144 struct drm_bridge *panel_bridge; member 285 return drm_bridge_attach(bridge->encoder, ctx->panel_bridge, in sn65dsi83_attach() 604 struct drm_bridge *panel_bridge; in sn65dsi83_parse_dt() local 647 ret = drm_of_find_panel_or_bridge(dev->of_node, 2, 0, &panel, &panel_bridge); in sn65dsi83_parse_dt() 651 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in sn65dsi83_parse_dt() 652 if (IS_ERR(panel_bridge)) { in sn65dsi83_parse_dt() 653 ret = PTR_ERR(panel_bridge); in sn65dsi83_parse_dt() 658 ctx->panel_bridge = panel_bridge; in sn65dsi83_parse_dt()
|
D | parade-ps8640.c | 62 struct drm_bridge *panel_bridge; member 263 return drm_bridge_attach(bridge->encoder, ps_bridge->panel_bridge, in ps8640_bridge_attach() 332 ps_bridge->panel_bridge = devm_drm_panel_bridge_add(dev, panel); in ps8640_probe() 333 if (IS_ERR(ps_bridge->panel_bridge)) in ps8640_probe() 334 return PTR_ERR(ps_bridge->panel_bridge); in ps8640_probe()
|
D | chipone-icn6211.c | 136 struct drm_bridge *panel_bridge; member 277 return drm_bridge_attach(bridge->encoder, icn->panel_bridge, bridge, flags); in chipone_attach() 330 icn->panel_bridge = devm_drm_panel_bridge_add(dev, panel); in chipone_parse_dt() 331 if (IS_ERR(icn->panel_bridge)) in chipone_parse_dt() 332 return PTR_ERR(icn->panel_bridge); in chipone_parse_dt()
|
D | nwl-dsi.c | 69 struct drm_bridge *panel_bridge; member 917 struct drm_bridge *panel_bridge; in nwl_dsi_bridge_attach() local 922 &panel_bridge); in nwl_dsi_bridge_attach() 927 panel_bridge = drm_panel_bridge_add(panel); in nwl_dsi_bridge_attach() 928 if (IS_ERR(panel_bridge)) in nwl_dsi_bridge_attach() 929 return PTR_ERR(panel_bridge); in nwl_dsi_bridge_attach() 931 dsi->panel_bridge = panel_bridge; in nwl_dsi_bridge_attach() 933 if (!dsi->panel_bridge) in nwl_dsi_bridge_attach() 936 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge, in nwl_dsi_bridge_attach()
|
D | tc358767.c | 247 struct drm_bridge *panel_bridge; member 1339 if (tc->panel_bridge) { in tc_connector_get_modes() 1340 num_modes = drm_bridge_get_modes(tc->panel_bridge, connector); in tc_connector_get_modes() 1383 if (tc->panel_bridge) in tc_connector_detect() 1406 if (tc->panel_bridge) { in tc_bridge_attach() 1408 ret = drm_bridge_attach(tc->bridge.encoder, tc->panel_bridge, in tc_bridge_attach() 1564 struct drm_bridge *panel_bridge; in tc_probe_edp_bridge_endpoint() local 1566 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in tc_probe_edp_bridge_endpoint() 1567 if (IS_ERR(panel_bridge)) in tc_probe_edp_bridge_endpoint() 1568 return PTR_ERR(panel_bridge); in tc_probe_edp_bridge_endpoint() [all …]
|
D | tc358775.c | 262 struct drm_bridge *panel_bridge; member 633 return drm_bridge_attach(bridge->encoder, tc->panel_bridge, in tc_bridge_attach() 670 tc->panel_bridge = devm_drm_panel_bridge_add(dev, panel); in tc_probe() 671 if (IS_ERR(tc->panel_bridge)) in tc_probe() 672 return PTR_ERR(tc->panel_bridge); in tc_probe()
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 243 struct drm_bridge *panel_bridge; member 331 dsi->panel_bridge = bridge; in dw_mipi_dsi_panel_or_bridge() 333 if (!dsi->panel_bridge) in dw_mipi_dsi_panel_or_bridge() 893 if (dsi->panel_bridge->funcs->post_disable) in dw_mipi_dsi_bridge_post_disable() 894 dsi->panel_bridge->funcs->post_disable(dsi->panel_bridge); in dw_mipi_dsi_bridge_post_disable() 1030 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge, in dw_mipi_dsi_bridge_attach()
|
/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.c | 1120 if (!ctx->pdata.panel_bridge && ctx->bridge_attached) in anx7625_hpd_polling() 1247 pdata->panel_bridge = devm_drm_panel_bridge_add(dev, panel); in anx7625_parse_dt() 1248 if (IS_ERR(pdata->panel_bridge)) in anx7625_parse_dt() 1249 return PTR_ERR(pdata->panel_bridge); in anx7625_parse_dt() 1381 if (ctx->pdata.panel_bridge) { in anx7625_bridge_attach() 1383 ctx->pdata.panel_bridge, in anx7625_bridge_attach()
|
D | anx7625.h | 356 struct drm_bridge *panel_bridge; member
|