#include <linux/clk.h>
#include <linux/clk-provider.h>
#include "mdp4_kms.h"
struct mdp4_lvds_pll { … };
#define to_mdp4_lvds_pll(x) …
static struct mdp4_kms *get_kms(struct mdp4_lvds_pll *lvds_pll)
{ … }
struct pll_rate { … };
static const struct pll_rate freqtbl[] = …;
static const struct pll_rate *find_rate(unsigned long rate)
{ … }
static int mpd4_lvds_pll_enable(struct clk_hw *hw)
{ … }
static void mpd4_lvds_pll_disable(struct clk_hw *hw)
{ … }
static unsigned long mpd4_lvds_pll_recalc_rate(struct clk_hw *hw,
unsigned long parent_rate)
{ … }
static long mpd4_lvds_pll_round_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *parent_rate)
{ … }
static int mpd4_lvds_pll_set_rate(struct clk_hw *hw, unsigned long rate,
unsigned long parent_rate)
{ … }
static const struct clk_ops mpd4_lvds_pll_ops = …;
static const char *mpd4_lvds_pll_parents[] = …;
static struct clk_init_data pll_init = …;
struct clk *mpd4_lvds_pll_init(struct drm_device *dev)
{ … }