Lines Matching defs:companion
39 struct drm_bridge *companion;
119 if (p2d->companion) {
120 companion_p2d = bridge_to_p2d(p2d->companion);
125 p2d->companion->funcs->mode_set(p2d->companion, mode,
141 if (p2d->companion)
142 p2d->companion->funcs->atomic_disable(p2d->companion,
328 struct device_node *companion;
334 /* Locate the companion PXL2DPI for dual-link operation, if any. */
335 companion = of_parse_phandle(dev->of_node, "fsl,companion-pxl2dpi", 0);
336 if (!companion)
339 if (!of_device_is_available(companion)) {
340 DRM_DEV_ERROR(dev, "companion PXL2DPI is not available\n");
346 * Sanity check: the companion bridge must have the same compatible
350 if (!of_device_is_compatible(companion, match->compatible)) {
351 DRM_DEV_ERROR(dev, "companion PXL2DPI is incompatible\n");
356 p2d->companion = of_drm_find_bridge(companion);
357 if (!p2d->companion) {
360 "failed to find companion bridge: %d\n",
365 companion_p2d = bridge_to_p2d(p2d->companion);
371 * even pixels and odd pixels than we need to use the companion PXL2DPI.
387 "dual-link configuration detected (companion bridge %pOF)\n",
388 companion);
390 of_node_put(companion);