Lines Matching refs:pll
25 void hdmi_pll_dump(struct hdmi_pll_data *pll, struct seq_file *s) in hdmi_pll_dump() argument
28 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump()
41 void hdmi_pll_compute(struct hdmi_pll_data *pll, in hdmi_pll_compute() argument
49 const struct dss_pll_hw *hw = pll->pll.hw; in hdmi_pll_compute()
51 clkin = clk_get_rate(pll->pll.clkin); in hdmi_pll_compute()
103 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_enable() local
104 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_enable()
118 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_disable() local
119 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_disable()
181 struct dss_pll *pll = &hpll->pll; in dsi_init_pll_data() local
191 pll->name = "hdmi"; in dsi_init_pll_data()
192 pll->id = DSS_PLL_HDMI; in dsi_init_pll_data()
193 pll->base = hpll->base; in dsi_init_pll_data()
194 pll->clkin = clk; in dsi_init_pll_data()
200 pll->hw = &dss_omap4_hdmi_pll_hw; in dsi_init_pll_data()
205 pll->hw = &dss_omap5_hdmi_pll_hw; in dsi_init_pll_data()
212 pll->ops = &dsi_pll_ops; in dsi_init_pll_data()
214 r = dss_pll_register(pll); in dsi_init_pll_data()
221 int hdmi_pll_init(struct platform_device *pdev, struct hdmi_pll_data *pll, in hdmi_pll_init() argument
227 pll->wp = wp; in hdmi_pll_init()
235 pll->base = devm_ioremap_resource(&pdev->dev, res); in hdmi_pll_init()
236 if (IS_ERR(pll->base)) { in hdmi_pll_init()
238 return PTR_ERR(pll->base); in hdmi_pll_init()
241 r = dsi_init_pll_data(pdev, pll); in hdmi_pll_init()
252 struct dss_pll *pll = &hpll->pll; in hdmi_pll_uninit() local
254 dss_pll_unregister(pll); in hdmi_pll_uninit()