/linux/drivers/clk/ti/ |
H A D | clkt_dflt.c | 60 if ((ti_clk_ll_ops->clk_readl(reg) & mask) == ena) in _wait_idlest_generic() 95 if (!(ti_clk_ll_ops->clk_readl(&companion_reg) & in _omap2_module_wait_ready() 101 r = ti_clk_ll_ops->cm_split_idlest_reg(&idlest_reg, &prcm_mod, in _omap2_module_wait_ready() 108 ti_clk_ll_ops->cm_wait_module_ready(0, prcm_mod, idlest_reg_id, in _omap2_module_wait_ready() 209 ret = ti_clk_ll_ops->clkdm_clk_enable(clk->clkdm, hw->clk); in omap2_dflt_clk_enable() 220 v = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in omap2_dflt_clk_enable() 225 ti_clk_ll_ops->clk_writel(v, &clk->enable_reg); in omap2_dflt_clk_enable() 250 v = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in omap2_dflt_clk_disable() 255 ti_clk_ll_ops->clk_writel(v, &clk->enable_reg); in omap2_dflt_clk_disable() 260 ti_clk_ll_ops->clkdm_clk_disable(clk->clkdm, hw->clk); in omap2_dflt_clk_disable() [all …]
|
H A D | dpll3xxx.c | 54 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in _omap3_dpll_write_clken() 57 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in _omap3_dpll_write_clken() 399 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap3_noncore_dpll_program() 402 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in omap3_noncore_dpll_program() 406 v = ti_clk_ll_ops->clk_readl(&dd->mult_div1_reg); in omap3_noncore_dpll_program() 456 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap3_noncore_dpll_program() 472 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in omap3_noncore_dpll_program() 741 v = ti_clk_ll_ops->clk_readl(&dd->autoidle_reg); in omap3_dpll_autoidle_read() 775 v = ti_clk_ll_ops->clk_readl(&dd->autoidle_reg); in omap3_dpll_allow_idle() 884 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap3_core_dpll_save_context() [all …]
|
H A D | apll.c | 50 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 55 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable() 58 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in dra7_apll_enable() 63 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 94 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_disable() 97 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in dra7_apll_disable() 108 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_is_enabled() 241 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in omap2_apll_is_enabled() 267 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in omap2_apll_enable() 270 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in omap2_apll_enable() [all …]
|
H A D | clkt_iclk.c | 36 v = ti_clk_ll_ops->clk_readl(&r); in omap2_clkt_iclk_allow_idle() 38 ti_clk_ll_ops->clk_writel(v, &r); in omap2_clkt_iclk_allow_idle() 51 v = ti_clk_ll_ops->clk_readl(&r); in omap2_clkt_iclk_deny_idle() 53 ti_clk_ll_ops->clk_writel(v, &r); in omap2_clkt_iclk_deny_idle()
|
H A D | dpll44xx.c | 49 v = ti_clk_ll_ops->clk_readl(&clk->clksel_reg); in omap4_dpllmx_allow_gatectrl() 52 ti_clk_ll_ops->clk_writel(v, &clk->clksel_reg); in omap4_dpllmx_allow_gatectrl() 67 v = ti_clk_ll_ops->clk_readl(&clk->clksel_reg); in omap4_dpllmx_deny_gatectrl() 70 ti_clk_ll_ops->clk_writel(v, &clk->clksel_reg); in omap4_dpllmx_deny_gatectrl() 129 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap4_dpll_regm4xen_recalc()
|
H A D | autoidle.c | 121 val = ti_clk_ll_ops->clk_readl(&clk->reg); in _allow_autoidle() 128 ti_clk_ll_ops->clk_writel(val, &clk->reg); in _allow_autoidle() 135 val = ti_clk_ll_ops->clk_readl(&clk->reg); in _deny_autoidle() 142 ti_clk_ll_ops->clk_writel(val, &clk->reg); in _deny_autoidle()
|
H A D | clk.c | 31 struct ti_clk_ll_ops *ti_clk_ll_ops; variable 102 int ti_clk_setup_ll_ops(struct ti_clk_ll_ops *ops) in ti_clk_setup_ll_ops() 104 if (ti_clk_ll_ops) { in ti_clk_setup_ll_ops() 109 ti_clk_ll_ops = ops; in ti_clk_setup_ll_ops() 394 ti_clk_ll_ops->clk_rmw(latch, latch, reg); in ti_clk_latch() 395 ti_clk_ll_ops->clk_rmw(0, latch, reg); in ti_clk_latch() 396 ti_clk_ll_ops->clk_readl(reg); /* OCP barrier */ in ti_clk_latch()
|
H A D | clkctrl.c | 138 ret = ti_clk_ll_ops->clkdm_clk_enable(clk->clkdm, hw->clk); in _omap4_clkctrl_clk_enable() 151 val = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in _omap4_clkctrl_clk_enable() 156 ti_clk_ll_ops->clk_writel(val, &clk->enable_reg); in _omap4_clkctrl_clk_enable() 162 while (!_omap4_is_ready(ti_clk_ll_ops->clk_readl(&clk->enable_reg))) { in _omap4_clkctrl_clk_enable() 181 val = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in _omap4_clkctrl_clk_disable() 185 ti_clk_ll_ops->clk_writel(val, &clk->enable_reg); in _omap4_clkctrl_clk_disable() 191 while (!_omap4_is_idle(ti_clk_ll_ops->clk_readl(&clk->enable_reg))) { in _omap4_clkctrl_clk_disable() 201 ti_clk_ll_ops->clkdm_clk_disable(clk->clkdm, hw->clk); in _omap4_clkctrl_clk_disable() 209 val = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in _omap4_clkctrl_clk_is_enabled() 743 val = ti_clk_ll_ops->clk_readl(&hwclk->enable_reg); in ti_clk_is_in_standby()
|
H A D | clockdomain.c | 53 ret = ti_clk_ll_ops->clkdm_clk_enable(clk->clkdm, hw->clk); in omap2_clkops_enable_clkdm() 87 ti_clk_ll_ops->clkdm_clk_disable(clk->clkdm, hw->clk); in omap2_clkops_disable_clkdm() 109 clkdm = ti_clk_ll_ops->clkdm_lookup(clk->clkdm_name); in omap2_init_clk_clkdm()
|
H A D | divider.c | 99 val = ti_clk_ll_ops->clk_readl(÷r->reg) >> divider->shift; in ti_clk_divider_recalc_rate() 256 val = ti_clk_ll_ops->clk_readl(÷r->reg); in ti_clk_divider_set_rate() 259 ti_clk_ll_ops->clk_writel(val, ÷r->reg); in ti_clk_divider_set_rate() 277 val = ti_clk_ll_ops->clk_readl(÷r->reg) >> divider->shift; in clk_divider_save_context() 294 val = ti_clk_ll_ops->clk_readl(÷r->reg); in clk_divider_restore_context() 297 ti_clk_ll_ops->clk_writel(val, ÷r->reg); in clk_divider_restore_context()
|
H A D | clkt_dpll.c | 213 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap2_init_dpll_parent() 249 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap2_get_dpll_rate() 256 v = ti_clk_ll_ops->clk_readl(&dd->mult_div1_reg); in omap2_get_dpll_rate()
|
H A D | gate.c | 74 orig_v = ti_clk_ll_ops->clk_readl(&parent->reg); in omap36xx_gate_clk_enable_with_hsdiv_restore() 79 ti_clk_ll_ops->clk_writel(dummy_v, &parent->reg); in omap36xx_gate_clk_enable_with_hsdiv_restore() 82 ti_clk_ll_ops->clk_writel(orig_v, &parent->reg); in omap36xx_gate_clk_enable_with_hsdiv_restore()
|
H A D | mux.c | 34 val = ti_clk_ll_ops->clk_readl(&mux->reg) >> mux->shift; in ti_clk_mux_get_parent() 76 val = ti_clk_ll_ops->clk_readl(&mux->reg); in ti_clk_mux_set_parent() 80 ti_clk_ll_ops->clk_writel(val, &mux->reg); in ti_clk_mux_set_parent()
|
H A D | clock.h | 306 extern struct ti_clk_ll_ops *ti_clk_ll_ops;
|
/linux/include/linux/clk/ |
H A D | ti.h | 247 struct ti_clk_ll_ops { struct 278 int ti_clk_setup_ll_ops(struct ti_clk_ll_ops *ops); argument
|
/linux/arch/arm/mach-omap2/ |
H A D | clock.h | 64 extern struct ti_clk_ll_ops omap_clk_ll_ops;
|
H A D | clock.c | 52 struct ti_clk_ll_ops omap_clk_ll_ops = {
|