Lines Matching refs:companion

49 	struct drm_bridge *companion;  member
73 phy_cfg->is_slave = !imx8qxp_ldb->companion; in imx8qxp_ldb_set_phy_cfg()
91 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_check() local
112 if (is_split && companion) { in imx8qxp_ldb_bridge_atomic_check()
113 ret = companion->funcs->atomic_check(companion, in imx8qxp_ldb_bridge_atomic_check()
133 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_mode_set() local
154 if (is_split && companion) { in imx8qxp_ldb_bridge_mode_set()
155 companion_ldb_ch = bridge_to_ldb_ch(companion); in imx8qxp_ldb_bridge_mode_set()
201 if (is_split && companion) in imx8qxp_ldb_bridge_mode_set()
202 companion->funcs->mode_set(companion, mode, adjusted_mode); in imx8qxp_ldb_bridge_mode_set()
212 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_pre_enable() local
218 if (is_split && companion) in imx8qxp_ldb_bridge_atomic_pre_enable()
219 companion->funcs->atomic_pre_enable(companion, old_bridge_state); in imx8qxp_ldb_bridge_atomic_pre_enable()
231 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_enable() local
253 if (is_split && companion) in imx8qxp_ldb_bridge_atomic_enable()
254 companion->funcs->atomic_enable(companion, old_bridge_state); in imx8qxp_ldb_bridge_atomic_enable()
266 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_disable() local
284 if (is_split && companion) in imx8qxp_ldb_bridge_atomic_disable()
285 companion->funcs->atomic_disable(companion, old_bridge_state); in imx8qxp_ldb_bridge_atomic_disable()
464 struct device_node *companion; in imx8qxp_ldb_parse_dt_companion() local
475 companion = of_parse_phandle(dev->of_node, "fsl,companion-ldb", 0); in imx8qxp_ldb_parse_dt_companion()
476 if (!companion) in imx8qxp_ldb_parse_dt_companion()
479 if (!of_device_is_available(companion)) { in imx8qxp_ldb_parse_dt_companion()
490 if (!of_device_is_compatible(companion, match->compatible)) { in imx8qxp_ldb_parse_dt_companion()
496 for_each_available_child_of_node(companion, child) { in imx8qxp_ldb_parse_dt_companion()
557 imx8qxp_ldb->companion = of_drm_find_bridge(companion_port); in imx8qxp_ldb_parse_dt_companion()
558 if (!imx8qxp_ldb->companion) { in imx8qxp_ldb_parse_dt_companion()
568 companion); in imx8qxp_ldb_parse_dt_companion()
570 companion_ldb_ch = bridge_to_ldb_ch(imx8qxp_ldb->companion); in imx8qxp_ldb_parse_dt_companion()
574 of_node_put(companion); in imx8qxp_ldb_parse_dt_companion()