#include <linux/media-bus-format.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <drm/drm_bridge.h>
#include <drm/drm_encoder.h>
#include <drm/drm_of.h>
#include <drm/drm_simple_kms_helper.h>
#include "atmel_hlcdc_dc.h"
struct atmel_hlcdc_rgb_output { … };
static struct atmel_hlcdc_rgb_output *
atmel_hlcdc_encoder_to_rgb_output(struct drm_encoder *encoder)
{ … }
int atmel_hlcdc_encoder_get_bus_fmt(struct drm_encoder *encoder)
{ … }
static int atmel_hlcdc_of_bus_fmt(const struct device_node *ep)
{ … }
static int atmel_hlcdc_attach_endpoint(struct drm_device *dev, int endpoint)
{ … }
int atmel_hlcdc_create_outputs(struct drm_device *dev)
{ … }