Home
last modified time | relevance | path

Searched refs:clk_hw_omap (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/arch/arm/mach-omap2/
Dclock.h69 static struct clk_hw_omap _name##_hw = { \
80 static struct clk_hw_omap _name##_hw = { \
96 static struct clk_hw_omap _name##_hw = { \
183 u32 omap3_dpll_autoidle_read(struct clk_hw_omap *clk);
184 void omap3_dpll_allow_idle(struct clk_hw_omap *clk);
185 void omap3_dpll_deny_idle(struct clk_hw_omap *clk);
186 void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk);
187 void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk);
192 u32 omap2_clksel_round_rate_div(struct clk_hw_omap *clk,
204 extern void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk);
[all …]
Ddpll3xxx.c43 static void _omap3_dpll_write_clken(struct clk_hw_omap *clk, u8 clken_bits) in _omap3_dpll_write_clken()
57 static int _omap3_wait_dpll_status(struct clk_hw_omap *clk, u8 state) in _omap3_wait_dpll_status()
89 static u16 _omap3_dpll_compute_freqsel(struct clk_hw_omap *clk, u8 n) in _omap3_dpll_compute_freqsel()
134 static int _omap3_noncore_dpll_lock(struct clk_hw_omap *clk) in _omap3_noncore_dpll_lock()
179 static int _omap3_noncore_dpll_bypass(struct clk_hw_omap *clk) in _omap3_noncore_dpll_bypass()
211 static int _omap3_noncore_dpll_stop(struct clk_hw_omap *clk) in _omap3_noncore_dpll_stop()
242 static void _lookup_dco(struct clk_hw_omap *clk, u8 *dco, u16 m, u8 n) in _lookup_dco()
267 static void _lookup_sddiv(struct clk_hw_omap *clk, u8 *sd_div, u16 m, u8 n) in _lookup_sddiv()
297 static int omap3_noncore_dpll_program(struct clk_hw_omap *clk, u16 freqsel) in omap3_noncore_dpll_program()
387 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_dpll_recalc()
[all …]
Dclkt_clksel.c61 static const struct clksel *_get_clksel_by_parent(struct clk_hw_omap *clk, in _get_clksel_by_parent()
96 static void _write_clksel_reg(struct clk_hw_omap *clk, u32 field_val) in _write_clksel_reg()
119 static u32 _clksel_to_divisor(struct clk_hw_omap *clk, u32 field_val) in _clksel_to_divisor()
160 static u32 _divisor_to_clksel(struct clk_hw_omap *clk, u32 div) in _divisor_to_clksel()
200 static u32 _read_divisor(struct clk_hw_omap *clk) in _read_divisor()
228 u32 omap2_clksel_round_rate_div(struct clk_hw_omap *clk, in omap2_clksel_round_rate_div()
308 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_find_parent_index()
360 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_recalc()
391 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_round_rate()
415 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_clksel_set_rate()
[all …]
Dclock.c111 void omap2_clk_writel(u32 val, struct clk_hw_omap *clk, void __iomem *reg) in omap2_clk_writel()
119 u32 omap2_clk_readl(struct clk_hw_omap *clk, void __iomem *reg) in omap2_clk_readl()
205 static int _wait_idlest_generic(struct clk_hw_omap *clk, void __iomem *reg, in _wait_idlest_generic()
235 static void _omap2_module_wait_ready(struct clk_hw_omap *clk) in _omap2_module_wait_ready()
273 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_clk_clkdm()
327 void omap2_clk_dflt_find_companion(struct clk_hw_omap *clk, in omap2_clk_dflt_find_companion()
356 void omap2_clk_dflt_find_idlest(struct clk_hw_omap *clk, in omap2_clk_dflt_find_idlest()
387 struct clk_hw_omap *clk; in omap2_dflt_clk_enable()
441 struct clk_hw_omap *clk; in omap2_dflt_clk_disable()
481 struct clk_hw_omap *clk; in omap2_clkops_enable_clkdm()
[all …]
Ddpll44xx.c39 void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_allow_gatectrl()
57 void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk) in omap4_dpllmx_deny_gatectrl()
117 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_recalc()
153 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_round_rate()
210 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap4_dpll_regm4xen_determine_rate()
Dclock3517.c50 static void am35xx_clk_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_find_idlest()
74 static void am35xx_clk_find_companion(struct clk_hw_omap *clk, in am35xx_clk_find_companion()
100 static void am35xx_clk_ipss_find_idlest(struct clk_hw_omap *clk, in am35xx_clk_ipss_find_idlest()
Dclock34xx.c40 static void omap3430es2_clk_ssi_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_ssi_find_idlest()
78 static void omap3430es2_clk_dss_usbhost_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_dss_usbhost_find_idlest()
115 static void omap3430es2_clk_hsotgusb_find_idlest(struct clk_hw_omap *clk, in omap3430es2_clk_hsotgusb_find_idlest()
Dclkt2xxx_dpll.c32 static void _allow_idle(struct clk_hw_omap *clk) in _allow_idle()
46 static void _deny_idle(struct clk_hw_omap *clk) in _deny_idle()
Dclkt_iclk.c26 void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_allow_idle()
40 void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk) in omap2_clkt_iclk_deny_idle()
Dclkt_dpll.c68 static int _dpll_test_fint(struct clk_hw_omap *clk, unsigned int n) in _dpll_test_fint()
206 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_init_dpll_parent()
239 unsigned long omap2_get_dpll_rate(struct clk_hw_omap *clk) in omap2_get_dpll_rate()
286 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_dpll_round_rate()
Dclkt2xxx_dpllcore.c43 static struct clk_hw_omap *dpll_core_ck;
114 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_reprogram_dpllcore()
Dclock2430.c43 static void omap2430_clk_i2chs_find_idlest(struct clk_hw_omap *clk, in omap2430_clk_i2chs_find_idlest()
Dclock36xx.c46 struct clk_hw_omap *omap_clk = to_clk_hw_omap(clk); in omap36xx_pwrdn_clk_enable_with_hsdiv_restore()
Dclkt34xx_dpll3m2.c50 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap3_core_dpll_m2_set_rate()
Dclkt2xxx_virt_prcm_set.c232 struct clk_hw_omap *hw = NULL; in omap2xxx_clkt_vps_init()
Domap_hwmod.c689 struct clk_hw_omap *clk; in _get_clkdm()
3588 struct clk_hw_omap *clk; in omap_hwmod_get_pwrdm()
/linux-4.1.27/drivers/clk/ti/
Dapll.c39 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_enable()
90 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_disable()
107 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in dra7_apll_is_enabled()
136 struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); in omap_clk_register_apll()
170 struct clk_hw_omap *clk_hw = NULL; in of_dra7_apll_setup()
228 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_is_enabled()
243 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_recalc()
253 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_enable()
284 struct clk_hw_omap *clk = to_clk_hw_omap(hw); in omap2_apll_disable()
301 static void omap2_apll_set_autoidle(struct clk_hw_omap *clk, u32 val) in omap2_apll_set_autoidle()
[all …]
Dgate.c102 struct clk_hw_omap *clk_hw; in _register_gate()
184 struct clk_hw_omap *gate; in ti_clk_build_component_gate()
259 struct clk_hw_omap *gate; in _of_ti_composite_gate_clk_setup()
Ddpll.c145 struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); in _register_dpll()
195 struct clk_hw_omap *clk_hw; in ti_clk_register_dpll()
294 struct clk_hw_omap *clk_hw; in _register_dpll_x2()
340 struct clk_hw_omap *clk_hw = NULL; in of_ti_dpll_setup()
Dinterface.c41 struct clk_hw_omap *clk_hw; in _register_interface()
/linux-4.1.27/include/linux/clk/
Dti.h102 struct clk_hw_omap;
113 void (*find_idlest)(struct clk_hw_omap *oclk,
116 void (*find_companion)(struct clk_hw_omap *oclk,
119 void (*allow_idle)(struct clk_hw_omap *oclk);
120 void (*deny_idle)(struct clk_hw_omap *oclk);
137 struct clk_hw_omap { struct
260 #define to_clk_hw_omap(_hw) container_of(_hw, struct clk_hw_omap, hw)