#include <drm/drm_crtc.h>
#include <drm/drm_probe_helper.h>
#include "mdp4_kms.h"
struct mdp4_dtv_encoder { … };
#define to_mdp4_dtv_encoder(x) …
static struct mdp4_kms *get_kms(struct drm_encoder *encoder)
{ … }
static void mdp4_dtv_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{ … }
static void mdp4_dtv_encoder_disable(struct drm_encoder *encoder)
{ … }
static void mdp4_dtv_encoder_enable(struct drm_encoder *encoder)
{ … }
static const struct drm_encoder_helper_funcs mdp4_dtv_encoder_helper_funcs = …;
long mdp4_dtv_round_pixclk(struct drm_encoder *encoder, unsigned long rate)
{ … }
struct drm_encoder *mdp4_dtv_encoder_init(struct drm_device *dev)
{ … }