/** * enum drm_lvds_dual_link_pixels - Pixel order of an LVDS dual-link connection * @DRM_LVDS_DUAL_LINK_EVEN_ODD_PIXELS: Even pixels are expected to be generated * from the first port, odd pixels from the second port * @DRM_LVDS_DUAL_LINK_ODD_EVEN_PIXELS: Odd pixels are expected to be generated * from the first port, even pixels from the second port
*/ enum drm_lvds_dual_link_pixels {
DRM_LVDS_DUAL_LINK_EVEN_ODD_PIXELS = 0,
DRM_LVDS_DUAL_LINK_ODD_EVEN_PIXELS = 1,
};
#ifdef CONFIG_OF
uint32_t drm_of_crtc_port_mask(struct drm_device *dev, struct device_node *port);
uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, struct device_node *port); void drm_of_component_match_add(struct device *master, struct component_match **matchptr, int (*compare)(struct device *, void *), struct device_node *node); int drm_of_component_probe(struct device *dev, int (*compare_of)(struct device *, void *), conststruct component_master_ops *m_ops); int drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint); int drm_of_find_panel_or_bridge(conststruct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge); int drm_of_lvds_get_dual_link_pixel_order(conststruct device_node *port1, conststruct device_node *port2); int drm_of_lvds_get_dual_link_pixel_order_sink(struct device_node *port1, struct device_node *port2); int drm_of_lvds_get_data_mapping(conststruct device_node *port); int drm_of_get_data_lanes_count(conststruct device_node *endpoint, constunsignedint min, constunsignedint max); int drm_of_get_data_lanes_count_ep(conststruct device_node *port, int port_reg, int reg, constunsignedint min, constunsignedint max); #else staticinline uint32_t drm_of_crtc_port_mask(struct drm_device *dev, struct device_node *port)
{ return 0;
}
/* * drm_of_panel_bridge_remove - remove panel bridge * @np: device tree node containing panel bridge output ports * * Remove the panel bridge of a given DT node's port and endpoint number * * Returns zero if successful, or one of the standard error codes if it fails.
*/ staticinlineint drm_of_panel_bridge_remove(conststruct device_node *np, int port, int endpoint)
{ #if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_DRM_PANEL_BRIDGE) struct drm_bridge *bridge; struct device_node *remote;
remote = of_graph_get_remote_node(np, port, endpoint); if (!remote) return -ENODEV;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.