/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | panel.c | 20 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 …]
|
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()
|
D | nxp-ptn3460.c | 32 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()
|
D | microchip-lvds.c | 61 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()
|
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()
|
D | lvds-codec.c | 23 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()
|
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()
|
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()
|
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()
|
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()
|
D | tc358767.c | 365 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 …]
|
D | tc358775.c | 269 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()
|
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()
|
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()
|
/linux-6.12.1/drivers/gpu/drm/display/ |
D | drm_bridge_connector.c | 387 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/ |
D | sprd_dsi.h | 119 struct drm_bridge *panel_bridge; member
|
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()
|
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.c | 1508 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 …]
|
D | anx7625.h | 427 struct drm_bridge *panel_bridge; member
|
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 246 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()
|