| /linux/drivers/clk/meson/ |
| A D | clk-pll.c | 58 struct meson_clk_pll_data *pll) in __pll_params_to_rate() 76 struct meson_clk_pll_data *pll = meson_clk_pll_data(clk); in meson_clk_pll_recalc_rate() local 102 struct meson_clk_pll_data *pll) in __pll_params_with_frac() 124 struct meson_clk_pll_data *pll) in meson_clk_pll_is_better() 142 struct meson_clk_pll_data *pll) in meson_clk_get_pll_table_index() 156 struct meson_clk_pll_data *pll) in meson_clk_get_pll_range_m() 171 struct meson_clk_pll_data *pll) in meson_clk_get_pll_range_index() 204 struct meson_clk_pll_data *pll) in meson_clk_get_pll_get_index() 219 struct meson_clk_pll_data *pll) in meson_clk_get_pll_settings() 249 struct meson_clk_pll_data *pll = meson_clk_pll_data(clk); in meson_clk_pll_determine_rate() local [all …]
|
| /linux/drivers/clk/sprd/ |
| A D | pll.c | 18 #define pindex(pll, member) \ argument 21 #define pshift(pll, member) \ argument 24 #define pwidth(pll, member) \ argument 27 #define pmask(pll, member) \ argument 32 #define pinternal(pll, cfg, member) \ argument 35 #define pinternal_val(pll, cfg, member) \ argument 39 sprd_pll_read(const struct sprd_pll *pll, u8 index) in sprd_pll_read() 53 sprd_pll_write(const struct sprd_pll *pll, u8 index, in sprd_pll_write() 234 struct sprd_pll *pll = hw_to_sprd_pll(hw); in sprd_pll_recalc_rate() local 243 struct sprd_pll *pll = hw_to_sprd_pll(hw); in sprd_pll_set_rate() local [all …]
|
| /linux/drivers/clk/qcom/ |
| A D | clk-alpha-pll.c | 223 #define wait_for_pll_enable_active(pll) \ argument 226 #define wait_for_pll_enable_lock(pll) \ argument 229 #define wait_for_zonda_pll_freq_lock(pll) \ argument 232 #define wait_for_pll_disable(pll) \ argument 235 #define wait_for_pll_offline(pll) \ argument 238 #define wait_for_pll_update(pll) \ argument 241 #define wait_for_pll_update_ack_set(pll) \ argument 244 #define wait_for_pll_update_ack_clear(pll) \ argument 298 struct clk_alpha_pll *pll = to_clk_alpha_pll(hw); in clk_alpha_pll_hwfsm_enable() local 323 struct clk_alpha_pll *pll = to_clk_alpha_pll(hw); in clk_alpha_pll_hwfsm_disable() local [all …]
|
| A D | clk-pll.c | 26 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_enable() local 67 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_disable() local 82 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_recalc_rate() local 128 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_determine_rate() local 143 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_set_rate() local 179 static int wait_for_pll(struct clk_pll *pll) in wait_for_pll() 218 static void clk_pll_configure(struct clk_pll *pll, struct regmap *regmap, in clk_pll_configure() 245 void clk_pll_configure_sr(struct clk_pll *pll, struct regmap *regmap, in clk_pll_configure_sr() 254 void clk_pll_configure_sr_hpm_lp(struct clk_pll *pll, struct regmap *regmap, in clk_pll_configure_sr_hpm_lp() 265 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_sr2_enable() local [all …]
|
| /linux/drivers/clk/rockchip/ |
| A D | clk-pll.c | 51 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings() 67 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_pll_round_rate() local 166 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3036_pll_recalc_rate() local 251 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3036_pll_set_rate() local 270 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3036_pll_enable() local 281 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3036_pll_disable() local 290 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3036_pll_is_enabled() local 298 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3036_pll_init() local 403 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3066_pll_recalc_rate() local 486 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_rk3066_pll_set_rate() local [all …]
|
| /linux/drivers/clk/tegra/ |
| A D | clk-pll.c | 1873 struct tegra_clk_pll *pll; in _tegra_init_pll() local 1925 struct tegra_clk_pll *pll; in tegra_clk_register_pll() local 1956 struct tegra_clk_pll *pll; in tegra_clk_register_plle() local 1980 struct tegra_clk_pll *pll; in tegra_clk_register_pllu() local 2048 struct tegra_clk_pll *pll; in tegra_clk_register_pllxc() local 2113 struct tegra_clk_pll *pll; in tegra_clk_register_pllre() local 2161 struct tegra_clk_pll *pll; in tegra_clk_register_pllm() local 2205 struct tegra_clk_pll *pll; in tegra_clk_register_pllc() local 2277 struct tegra_clk_pll *pll; in tegra_clk_register_plle_tegra114() local 2300 struct tegra_clk_pll *pll; in tegra_clk_register_pllu_tegra114() local [all …]
|
| /linux/drivers/clk/pistachio/ |
| A D | clk-pll.c | 107 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_frac_get_mode() local 116 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_frac_set_mode() local 145 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_round_rate() local 159 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_gf40lp_frac_enable() local 178 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_gf40lp_frac_disable() local 188 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_gf40lp_frac_is_enabled() local 196 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_gf40lp_frac_set_rate() local 272 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_gf40lp_frac_recalc_rate() local 316 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_gf40lp_laint_enable() local 452 struct pistachio_clk_pll *pll; in pll_register() local [all …]
|
| /linux/drivers/clk/bcm/ |
| A D | clk-iproc-pll.c | 85 struct iproc_pll *pll; member 318 struct iproc_pll *pll = clk->pll; in pll_set_rate() local 440 struct iproc_pll *pll = clk->pll; in iproc_pll_enable() local 448 struct iproc_pll *pll = clk->pll; in iproc_pll_disable() local 461 struct iproc_pll *pll = clk->pll; in iproc_pll_recalc_rate() local 511 struct iproc_pll *pll = clk->pll; in iproc_pll_determine_rate() local 556 struct iproc_pll *pll = clk->pll; in iproc_pll_set_rate() local 589 struct iproc_pll *pll = clk->pll; in iproc_clk_enable() local 609 struct iproc_pll *pll = clk->pll; in iproc_clk_disable() local 625 struct iproc_pll *pll = clk->pll; in iproc_clk_recalc_rate() local [all …]
|
| /linux/drivers/clk/mediatek/ |
| A D | clk-pll.c | 59 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_is_prepared() local 91 static void __mtk_pll_tuner_enable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_enable() 104 static void __mtk_pll_tuner_disable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_disable() 117 static void mtk_pll_set_rate_regs(struct mtk_clk_pll *pll, u32 pcw, in mtk_pll_set_rate_regs() 201 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_set_rate() local 214 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_recalc_rate() local 230 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_round_rate() local 241 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_prepare() local 277 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_unprepare() local 317 struct mtk_clk_pll *pll; in mtk_clk_register_pll() local [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | pll.c | 30 int dss_pll_register(struct dss_pll *pll) in dss_pll_register() 44 void dss_pll_unregister(struct dss_pll *pll) in dss_pll_unregister() 68 int dss_pll_enable(struct dss_pll *pll) in dss_pll_enable() 96 void dss_pll_disable(struct dss_pll *pll) in dss_pll_disable() 108 int dss_pll_set_config(struct dss_pll *pll, const struct dss_pll_clock_info *cinfo) in dss_pll_set_config() 121 bool dss_pll_hsdiv_calc(const struct dss_pll *pll, unsigned long clkdco, in dss_pll_hsdiv_calc() 146 bool dss_pll_calc(const struct dss_pll *pll, unsigned long clkin, in dss_pll_calc() 214 int dss_pll_wait_reset_done(struct dss_pll *pll) in dss_pll_wait_reset_done() 224 static int dss_wait_hsdiv_ack(struct dss_pll *pll, u32 hsdiv_ack_mask) in dss_wait_hsdiv_ack() 238 int dss_pll_write_config_type_a(struct dss_pll *pll, in dss_pll_write_config_type_a() [all …]
|
| A D | hdmi_pll.c | 23 void hdmi_pll_dump(struct hdmi_pll_data *pll, struct seq_file *s) in hdmi_pll_dump() 39 void hdmi_pll_compute(struct hdmi_pll_data *pll, in hdmi_pll_compute() 101 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_enable() local 111 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_disable() local 174 struct dss_pll *pll = &hpll->pll; in dsi_init_pll_data() local 214 int hdmi_pll_init(struct platform_device *pdev, struct hdmi_pll_data *pll, in hdmi_pll_init() 238 struct dss_pll *pll = &hpll->pll; in hdmi_pll_uninit() local
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_dpll_mgr.c | 123 struct intel_shared_dpll *pll) in intel_get_shared_dpll_id() 137 struct intel_shared_dpll *pll, in assert_shared_dpll() 177 struct intel_shared_dpll *pll) in intel_tc_pll_enable_reg() 397 struct intel_shared_dpll *pll = in intel_shared_dpll_swap_state() local 441 struct intel_shared_dpll *pll) in ibx_pch_dpll_enable() 484 struct intel_shared_dpll *pll; in ibx_get_dpll() local 863 struct intel_shared_dpll *pll; in hsw_ddi_wrpll_get_dpll() local 930 struct intel_shared_dpll *pll; in hsw_ddi_lcpll_get_dpll() local 1029 struct intel_shared_dpll *pll; in hsw_get_dpll() local 1727 struct intel_shared_dpll *pll; in skl_get_dpll() local [all …]
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| A D | pll.c | 28 int dss_pll_register(struct dss_device *dss, struct dss_pll *pll) in dss_pll_register() 43 void dss_pll_unregister(struct dss_pll *pll) in dss_pll_unregister() 72 struct dss_pll *pll; in dss_pll_find_by_src() local 123 int dss_pll_enable(struct dss_pll *pll) in dss_pll_enable() 151 void dss_pll_disable(struct dss_pll *pll) in dss_pll_disable() 205 bool dss_pll_calc_a(const struct dss_pll *pll, unsigned long clkin, in dss_pll_calc_a() 272 bool dss_pll_calc_b(const struct dss_pll *pll, unsigned long clkin, in dss_pll_calc_b() 356 int dss_pll_wait_reset_done(struct dss_pll *pll) in dss_pll_wait_reset_done() 366 static int dss_wait_hsdiv_ack(struct dss_pll *pll, u32 hsdiv_ack_mask) in dss_wait_hsdiv_ack() 396 int dss_pll_write_config_type_a(struct dss_pll *pll, in dss_pll_write_config_type_a() [all …]
|
| A D | hdmi_pll.c | 23 void hdmi_pll_dump(struct hdmi_pll_data *pll, struct seq_file *s) in hdmi_pll_dump() 41 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_enable() local 59 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_disable() local 132 struct dss_pll *pll = &hpll->pll; in hdmi_init_pll_data() local 162 struct hdmi_pll_data *pll, struct hdmi_wp_data *wp) in hdmi_pll_init() 186 struct dss_pll *pll = &hpll->pll; in hdmi_pll_uninit() local
|
| /linux/drivers/video/fbdev/aty/ |
| A D | mach64_gx.c | 124 u32 bpp, union aty_pll *pll) in aty_var_to_pll_514() 162 const union aty_pll *pll) in aty_pll_514_to_var() 176 const union aty_pll *pll) in aty_set_pll_514() 342 u32 bpp, union aty_pll *pll) in aty_var_to_pll_18818() 401 const union aty_pll *pll) in aty_pll_18818_to_var() 430 const union aty_pll *pll) in aty_set_pll18818() 567 const union aty_pll *pll) in aty_pll_1703_to_var() 573 const union aty_pll *pll) in aty_set_pll_1703() 691 const union aty_pll *pll) in aty_set_pll_8398() 803 const union aty_pll *pll) in aty_pll_408_to_var() [all …]
|
| A D | mach64_ct.c | 120 static int aty_dsp_gt(const struct fb_info *info, u32 bpp, struct pll_ct *pll) in aty_dsp_gt() 209 static int aty_valid_pll_ct(const struct fb_info *info, u32 vclk_per, struct pll_ct *pll) in aty_valid_pll_ct() 251 static int aty_var_to_pll_ct(const struct fb_info *info, u32 vclk_per, u32 bpp, union aty_pll *pll) in aty_var_to_pll_ct() 264 static u32 aty_pll_to_var_ct(const struct fb_info *info, const union aty_pll *pll) in aty_pll_to_var_ct() 281 void aty_set_pll_ct(const struct fb_info *info, const union aty_pll *pll) in aty_set_pll_ct() 380 static void aty_get_pll_ct(const struct fb_info *info, union aty_pll *pll) in aty_get_pll_ct() 403 static int aty_init_pll_ct(const struct fb_info *info, union aty_pll *pll) in aty_init_pll_ct() 609 union aty_pll *pll) in aty_resume_pll_ct()
|
| /linux/drivers/clk/mxs/ |
| A D | clk-pll.c | 34 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_prepare() local 45 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_unprepare() local 52 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_enable() local 61 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_disable() local 69 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_recalc_rate() local 85 struct clk_pll *pll; in mxs_clk_pll() local
|
| /linux/drivers/clk/imx/ |
| A D | clk-pll14xx.c | 90 struct clk_pll14xx *pll, unsigned long rate) in imx_get_pll_settings() 105 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll14xx_round_rate() local 121 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll1416x_recalc_rate() local 139 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll1443x_recalc_rate() local 171 static int clk_pll14xx_wait_lock(struct clk_pll14xx *pll) in clk_pll14xx_wait_lock() 182 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll1416x_set_rate() local 248 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll1443x_set_rate() local 313 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll14xx_prepare() local 341 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll14xx_is_prepared() local 351 struct clk_pll14xx *pll = to_clk_pll14xx(hw); in clk_pll14xx_unprepare() local [all …]
|
| A D | clk-frac-pll.c | 44 static int clk_wait_lock(struct clk_frac_pll *pll) in clk_wait_lock() 52 static int clk_wait_ack(struct clk_frac_pll *pll) in clk_wait_ack() 67 struct clk_frac_pll *pll = to_clk_frac_pll(hw); in clk_pll_prepare() local 79 struct clk_frac_pll *pll = to_clk_frac_pll(hw); in clk_pll_unprepare() local 89 struct clk_frac_pll *pll = to_clk_frac_pll(hw); in clk_pll_is_prepared() local 99 struct clk_frac_pll *pll = to_clk_frac_pll(hw); in clk_pll_recalc_rate() local 158 struct clk_frac_pll *pll = to_clk_frac_pll(hw); in clk_pll_set_rate() local 210 struct clk_frac_pll *pll; in imx_clk_hw_frac_pll() local
|
| A D | clk-pllv1.c | 33 static inline bool is_imx1_pllv1(struct clk_pllv1 *pll) in is_imx1_pllv1() 38 static inline bool is_imx21_pllv1(struct clk_pllv1 *pll) in is_imx21_pllv1() 43 static inline bool is_imx27_pllv1(struct clk_pllv1 *pll) in is_imx27_pllv1() 48 static inline bool mfn_is_negative(struct clk_pllv1 *pll, unsigned int mfn) in mfn_is_negative() 56 struct clk_pllv1 *pll = to_clk_pllv1(hw); in clk_pllv1_recalc_rate() local 118 struct clk_pllv1 *pll; in imx_clk_hw_pllv1() local
|
| A D | clk-pllv3.c | 74 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_prepare() local 89 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_unprepare() local 102 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_is_prepared() local 113 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_recalc_rate() local 131 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_set_rate() local 161 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_sys_recalc_rate() local 187 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_sys_set_rate() local 216 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_av_recalc_rate() local 263 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_av_set_rate() local 347 struct clk_pllv3 *pll = to_clk_pllv3(hw); in clk_pllv3_vf610_recalc_rate() local [all …]
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| A D | hdmi_pll_8960.c | 237 static inline void pll_write(struct hdmi_pll_8960 *pll, u32 reg, u32 data) in pll_write() 242 static inline u32 pll_read(struct hdmi_pll_8960 *pll, u32 reg) in pll_read() 247 static inline struct hdmi_phy *pll_get_phy(struct hdmi_pll_8960 *pll) in pll_get_phy() 254 struct hdmi_pll_8960 *pll = hw_clk_to_pll(hw); in hdmi_pll_enable() local 339 struct hdmi_pll_8960 *pll = hw_clk_to_pll(hw); in hdmi_pll_disable() local 371 struct hdmi_pll_8960 *pll = hw_clk_to_pll(hw); in hdmi_pll_recalc_rate() local 387 struct hdmi_pll_8960 *pll = hw_clk_to_pll(hw); in hdmi_pll_set_rate() local 424 struct hdmi_pll_8960 *pll; in msm_hdmi_pll_8960_init() local
|
| /linux/drivers/clk/baikal-t1/ |
| A D | ccu-pll.c | 107 struct ccu_pll *pll = to_ccu_pll(hw); in ccu_pll_enable() local 134 struct ccu_pll *pll = to_ccu_pll(hw); in ccu_pll_disable() local 144 struct ccu_pll *pll = to_ccu_pll(hw); in ccu_pll_is_enabled() local 155 struct ccu_pll *pll = to_ccu_pll(hw); in ccu_pll_recalc_rate() local 306 struct ccu_pll *pll; member 313 struct ccu_pll *pll; member 372 struct ccu_pll *pll = bit->pll; in ccu_pll_dbgfs_bit_set() local 386 struct ccu_pll *pll = fld->pll; in ccu_pll_dbgfs_fld_set() local 414 struct ccu_pll *pll = bit->pll; in ccu_pll_dbgfs_bit_get() local 428 struct ccu_pll *pll = fld->pll; in ccu_pll_dbgfs_fld_get() local [all …]
|
| /linux/drivers/clk/samsung/ |
| A D | clk-pll.c | 55 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll_round_rate() local 118 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll3xxx_enable() local 130 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll3xxx_disable() local 152 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll2126_recalc_rate() local 185 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll3000_recalc_rate() local 222 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll35xx_recalc_rate() local 251 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll35xx_set_rate() local 326 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll36xx_recalc_rate() local 361 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll36xx_set_rate() local 436 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll0822x_recalc_rate() local [all …]
|
| /linux/drivers/clk/actions/ |
| A D | owl-pll.c | 62 struct owl_pll *pll = hw_to_owl_pll(hw); in owl_pll_round_rate() local 84 struct owl_pll *pll = hw_to_owl_pll(hw); in owl_pll_recalc_rate() local 112 struct owl_pll *pll = hw_to_owl_pll(hw); in owl_pll_is_enabled() local 139 struct owl_pll *pll = hw_to_owl_pll(hw); in owl_pll_enable() local 149 struct owl_pll *pll = hw_to_owl_pll(hw); in owl_pll_disable() local 158 struct owl_pll *pll = hw_to_owl_pll(hw); in owl_pll_set_rate() local
|