Lines Matching refs:companion
79 struct drm_bridge *companion; member
412 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in __rcar_lvds_atomic_enable()
413 __rcar_lvds_atomic_enable(lvds->companion, state, crtc, in __rcar_lvds_atomic_enable()
459 | (lvds->companion && swap_pixels ? in __rcar_lvds_atomic_enable()
469 if (lvds->link_type == RCAR_LVDS_SINGLE_LINK || lvds->companion) { in __rcar_lvds_atomic_enable()
584 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_atomic_disable()
585 lvds->companion->funcs->atomic_disable(lvds->companion, in rcar_lvds_atomic_disable()
654 struct device_node *companion; in rcar_lvds_parse_dt_companion() local
662 companion = of_parse_phandle(dev->of_node, "renesas,companion", 0); in rcar_lvds_parse_dt_companion()
663 if (!companion) in rcar_lvds_parse_dt_companion()
671 if (!of_device_is_compatible(companion, match->compatible)) { in rcar_lvds_parse_dt_companion()
684 port1 = of_graph_get_port_by_id(companion, 1); in rcar_lvds_parse_dt_companion()
715 lvds->companion = of_drm_find_bridge(companion); in rcar_lvds_parse_dt_companion()
716 if (!lvds->companion) { in rcar_lvds_parse_dt_companion()
723 companion); in rcar_lvds_parse_dt_companion()
737 companion_lvds = bridge_to_rcar_lvds(lvds->companion); in rcar_lvds_parse_dt_companion()
741 of_node_put(companion); in rcar_lvds_parse_dt_companion()