Lines Matching refs:companion
75 struct drm_bridge *companion; member
403 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in __rcar_lvds_atomic_enable()
404 __rcar_lvds_atomic_enable(lvds->companion, state, crtc, in __rcar_lvds_atomic_enable()
450 | (lvds->companion && swap_pixels ? in __rcar_lvds_atomic_enable()
460 if (lvds->link_type == RCAR_LVDS_SINGLE_LINK || lvds->companion) { in __rcar_lvds_atomic_enable()
549 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_atomic_disable()
550 lvds->companion->funcs->atomic_disable(lvds->companion, in rcar_lvds_atomic_disable()
619 struct device_node *companion; in rcar_lvds_parse_dt_companion() local
627 companion = of_parse_phandle(dev->of_node, "renesas,companion", 0); in rcar_lvds_parse_dt_companion()
628 if (!companion) in rcar_lvds_parse_dt_companion()
636 if (!of_device_is_compatible(companion, match->compatible)) { in rcar_lvds_parse_dt_companion()
649 port1 = of_graph_get_port_by_id(companion, 1); in rcar_lvds_parse_dt_companion()
680 lvds->companion = of_drm_find_bridge(companion); in rcar_lvds_parse_dt_companion()
681 if (!lvds->companion) { in rcar_lvds_parse_dt_companion()
688 companion); in rcar_lvds_parse_dt_companion()
702 companion_lvds = bridge_to_rcar_lvds(lvds->companion); in rcar_lvds_parse_dt_companion()
706 of_node_put(companion); in rcar_lvds_parse_dt_companion()