Lines Matching refs:companion

50 	struct drm_bridge *companion;  member
74 phy_cfg->is_slave = !imx8qxp_ldb->companion; in imx8qxp_ldb_set_phy_cfg()
92 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_check() local
113 if (is_split && companion) { in imx8qxp_ldb_bridge_atomic_check()
114 ret = companion->funcs->atomic_check(companion, in imx8qxp_ldb_bridge_atomic_check()
134 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_mode_set() local
155 if (is_split && companion) { in imx8qxp_ldb_bridge_mode_set()
156 companion_ldb_ch = bridge_to_ldb_ch(companion); in imx8qxp_ldb_bridge_mode_set()
202 if (is_split && companion) in imx8qxp_ldb_bridge_mode_set()
203 companion->funcs->mode_set(companion, mode, adjusted_mode); in imx8qxp_ldb_bridge_mode_set()
213 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_pre_enable() local
219 if (is_split && companion) in imx8qxp_ldb_bridge_atomic_pre_enable()
220 companion->funcs->atomic_pre_enable(companion, old_bridge_state); in imx8qxp_ldb_bridge_atomic_pre_enable()
232 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_enable() local
254 if (is_split && companion) in imx8qxp_ldb_bridge_atomic_enable()
255 companion->funcs->atomic_enable(companion, old_bridge_state); in imx8qxp_ldb_bridge_atomic_enable()
267 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_disable() local
285 if (is_split && companion) in imx8qxp_ldb_bridge_atomic_disable()
286 companion->funcs->atomic_disable(companion, old_bridge_state); in imx8qxp_ldb_bridge_atomic_disable()
465 struct device_node *companion; in imx8qxp_ldb_parse_dt_companion() local
476 companion = of_parse_phandle(dev->of_node, "fsl,companion-ldb", 0); in imx8qxp_ldb_parse_dt_companion()
477 if (!companion) in imx8qxp_ldb_parse_dt_companion()
480 if (!of_device_is_available(companion)) { in imx8qxp_ldb_parse_dt_companion()
491 if (!of_device_is_compatible(companion, match->compatible)) { in imx8qxp_ldb_parse_dt_companion()
497 for_each_available_child_of_node(companion, child) { in imx8qxp_ldb_parse_dt_companion()
558 imx8qxp_ldb->companion = of_drm_find_bridge(companion_port); in imx8qxp_ldb_parse_dt_companion()
559 if (!imx8qxp_ldb->companion) { in imx8qxp_ldb_parse_dt_companion()
569 companion); in imx8qxp_ldb_parse_dt_companion()
571 companion_ldb_ch = bridge_to_ldb_ch(imx8qxp_ldb->companion); in imx8qxp_ldb_parse_dt_companion()
575 of_node_put(companion); in imx8qxp_ldb_parse_dt_companion()