Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dpanel.c16 struct panel_bridge { struct
23 static inline struct panel_bridge * argument
26 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge()
29 static inline struct panel_bridge *
32 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge()
37 struct panel_bridge *panel_bridge = in panel_bridge_connector_get_modes() local
40 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes()
59 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() local
60 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach()
76 panel_bridge->connector_type); in panel_bridge_attach()
[all …]
Dtc358762.c66 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()
Dnxp-ptn3460.c32 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()
Dlvds-codec.c21 struct drm_bridge *panel_bridge; member
37 return drm_bridge_attach(bridge->encoder, lvds_codec->panel_bridge, in lvds_codec_attach()
121 lvds_codec->panel_bridge = in lvds_codec_probe()
124 if (IS_ERR(lvds_codec->panel_bridge)) in lvds_codec_probe()
125 return PTR_ERR(lvds_codec->panel_bridge); in lvds_codec_probe()
Dtc358764.c158 struct drm_bridge *panel_bridge; member
306 return drm_bridge_attach(bridge->encoder, ctx->panel_bridge, in tc358764_attach()
318 struct drm_bridge *panel_bridge; in tc358764_parse_dt() local
333 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in tc358764_parse_dt()
334 if (IS_ERR(panel_bridge)) in tc358764_parse_dt()
335 return PTR_ERR(panel_bridge); in tc358764_parse_dt()
337 ctx->panel_bridge = panel_bridge; in tc358764_parse_dt()
Dparade-ps8622.c47 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()
Dparade-ps8640.c62 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()
Dnwl-dsi.c74 struct drm_bridge *panel_bridge; member
929 struct drm_bridge *panel_bridge; in nwl_dsi_bridge_attach() local
934 &panel_bridge); in nwl_dsi_bridge_attach()
939 panel_bridge = drm_panel_bridge_add(panel); in nwl_dsi_bridge_attach()
940 if (IS_ERR(panel_bridge)) in nwl_dsi_bridge_attach()
941 return PTR_ERR(panel_bridge); in nwl_dsi_bridge_attach()
943 dsi->panel_bridge = panel_bridge; in nwl_dsi_bridge_attach()
945 if (!dsi->panel_bridge) in nwl_dsi_bridge_attach()
948 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge, in nwl_dsi_bridge_attach()
Dtc358767.c247 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()
1557 struct drm_bridge *panel_bridge; in tc_probe() local
1559 panel_bridge = devm_drm_panel_bridge_add(dev, panel); in tc_probe()
1560 if (IS_ERR(panel_bridge)) in tc_probe()
1561 return PTR_ERR(panel_bridge); in tc_probe()
[all …]
Dtc358775.c262 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c243 struct drm_bridge *panel_bridge; member
344 dsi->panel_bridge = bridge; in dw_mipi_dsi_host_attach()
876 if (dsi->panel_bridge->funcs->post_disable) in dw_mipi_dsi_bridge_post_disable()
877 dsi->panel_bridge->funcs->post_disable(dsi->panel_bridge); in dw_mipi_dsi_bridge_post_disable()
1003 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge, in dw_mipi_dsi_bridge_attach()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch6189 struct drm_bridge *panel_bridge;
6292 + if (of_device_is_compatible(dsi->panel_bridge->of_node,
6388 + * Call panel_bridge's post_disable() callback(if any) so that
6392 + if (dsi->panel_bridge->funcs->post_disable)
6393 + dsi->panel_bridge->funcs->post_disable(dsi->panel_bridge);
6852 + drm_bridge_chain_enable(dsi->panel_bridge);
6867 struct drm_bridge *panel_bridge;
6877 - panel_bridge = drm_panel_bridge_add(panel);
6878 + panel_bridge = drm_panel_bridge_add_typed(panel,
6880 if (IS_ERR(panel_bridge))
[all …]
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch3988 + dsi->panel_bridge = bridge;
3990 + if (!dsi->panel_bridge)
4027 - dsi->panel_bridge = bridge;
4081 return drm_bridge_attach(bridge->encoder, dsi->panel_bridge, bridge,
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch14412 if (dsi->panel_bridge->funcs->post_disable)
14413 dsi->panel_bridge->funcs->post_disable(dsi->panel_bridge);
14553 + return drm_panel_bridge_connector(dsi->panel_bridge);