#include <linux/delay.h>
#include <drm/drm_crtc.h>
#include <drm/drm_probe_helper.h>
#include "mdp4_kms.h"
struct mdp4_lcdc_encoder { … };
#define to_mdp4_lcdc_encoder(x) …
static struct mdp4_kms *get_kms(struct drm_encoder *encoder)
{ … }
static struct drm_connector *get_connector(struct drm_encoder *encoder)
{ … }
static void setup_phy(struct drm_encoder *encoder)
{ … }
static void mdp4_lcdc_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{ … }
static void mdp4_lcdc_encoder_disable(struct drm_encoder *encoder)
{ … }
static void mdp4_lcdc_encoder_enable(struct drm_encoder *encoder)
{ … }
static const struct drm_encoder_helper_funcs mdp4_lcdc_encoder_helper_funcs = …;
long mdp4_lcdc_round_pixclk(struct drm_encoder *encoder, unsigned long rate)
{ … }
struct drm_encoder *mdp4_lcdc_encoder_init(struct drm_device *dev,
struct device_node *panel_node)
{ … }