/linux-4.19.296/drivers/clk/ti/ |
D | clkt_dflt.c | 68 if ((ti_clk_ll_ops->clk_readl(reg) & mask) == ena) in _wait_idlest_generic() 103 if (!(ti_clk_ll_ops->clk_readl(&companion_reg) & in _omap2_module_wait_ready() 109 r = ti_clk_ll_ops->cm_split_idlest_reg(&idlest_reg, &prcm_mod, in _omap2_module_wait_ready() 116 ti_clk_ll_ops->cm_wait_module_ready(0, prcm_mod, idlest_reg_id, in _omap2_module_wait_ready() 217 ret = ti_clk_ll_ops->clkdm_clk_enable(clk->clkdm, hw->clk); in omap2_dflt_clk_enable() 228 v = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in omap2_dflt_clk_enable() 233 ti_clk_ll_ops->clk_writel(v, &clk->enable_reg); in omap2_dflt_clk_enable() 234 v = ti_clk_ll_ops->clk_readl(&clk->enable_reg); /* OCP barrier */ in omap2_dflt_clk_enable() 258 v = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in omap2_dflt_clk_disable() 263 ti_clk_ll_ops->clk_writel(v, &clk->enable_reg); in omap2_dflt_clk_disable() [all …]
|
D | apll.c | 58 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 63 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable() 66 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in dra7_apll_enable() 71 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 102 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_disable() 105 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in dra7_apll_disable() 116 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_is_enabled() 246 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in omap2_apll_is_enabled() 272 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in omap2_apll_enable() 275 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in omap2_apll_enable() [all …]
|
D | dpll3xxx.c | 57 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in _omap3_dpll_write_clken() 60 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in _omap3_dpll_write_clken() 76 while (((ti_clk_ll_ops->clk_readl(&dd->idlest_reg) & dd->idlest_mask) in _omap3_wait_dpll_status() 154 if ((ti_clk_ll_ops->clk_readl(&dd->idlest_reg) & dd->idlest_mask) == in _omap3_noncore_dpll_lock() 320 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap3_noncore_dpll_program() 323 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in omap3_noncore_dpll_program() 327 v = ti_clk_ll_ops->clk_readl(&dd->mult_div1_reg); in omap3_noncore_dpll_program() 373 ti_clk_ll_ops->clk_writel(v, &dd->mult_div1_reg); in omap3_noncore_dpll_program() 377 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap3_noncore_dpll_program() 393 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in omap3_noncore_dpll_program() [all …]
|
D | clkt_iclk.c | 39 v = ti_clk_ll_ops->clk_readl(&r); in omap2_clkt_iclk_allow_idle() 41 ti_clk_ll_ops->clk_writel(v, &r); in omap2_clkt_iclk_allow_idle() 54 v = ti_clk_ll_ops->clk_readl(&r); in omap2_clkt_iclk_deny_idle() 56 ti_clk_ll_ops->clk_writel(v, &r); in omap2_clkt_iclk_deny_idle()
|
D | dpll44xx.c | 52 v = ti_clk_ll_ops->clk_readl(&clk->clksel_reg); in omap4_dpllmx_allow_gatectrl() 55 ti_clk_ll_ops->clk_writel(v, &clk->clksel_reg); in omap4_dpllmx_allow_gatectrl() 70 v = ti_clk_ll_ops->clk_readl(&clk->clksel_reg); in omap4_dpllmx_deny_gatectrl() 73 ti_clk_ll_ops->clk_writel(v, &clk->clksel_reg); in omap4_dpllmx_deny_gatectrl() 131 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap4_dpll_regm4xen_recalc()
|
D | clk.c | 34 struct ti_clk_ll_ops *ti_clk_ll_ops; variable 105 int ti_clk_setup_ll_ops(struct ti_clk_ll_ops *ops) in ti_clk_setup_ll_ops() 107 if (ti_clk_ll_ops) { in ti_clk_setup_ll_ops() 112 ti_clk_ll_ops = ops; in ti_clk_setup_ll_ops() 296 ti_clk_ll_ops->clk_rmw(latch, latch, reg); in ti_clk_latch() 297 ti_clk_ll_ops->clk_rmw(0, latch, reg); in ti_clk_latch() 298 ti_clk_ll_ops->clk_readl(reg); /* OCP barrier */ in ti_clk_latch()
|
D | autoidle.c | 76 val = ti_clk_ll_ops->clk_readl(&clk->reg); in _allow_autoidle() 83 ti_clk_ll_ops->clk_writel(val, &clk->reg); in _allow_autoidle() 90 val = ti_clk_ll_ops->clk_readl(&clk->reg); in _deny_autoidle() 97 ti_clk_ll_ops->clk_writel(val, &clk->reg); in _deny_autoidle()
|
D | clkctrl.c | 142 ret = ti_clk_ll_ops->clkdm_clk_enable(clk->clkdm, hw->clk); in _omap4_clkctrl_clk_enable() 155 val = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in _omap4_clkctrl_clk_enable() 160 ti_clk_ll_ops->clk_writel(val, &clk->enable_reg); in _omap4_clkctrl_clk_enable() 166 while (!_omap4_is_ready(ti_clk_ll_ops->clk_readl(&clk->enable_reg))) { in _omap4_clkctrl_clk_enable() 185 val = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in _omap4_clkctrl_clk_disable() 189 ti_clk_ll_ops->clk_writel(val, &clk->enable_reg); in _omap4_clkctrl_clk_disable() 195 while (!_omap4_is_idle(ti_clk_ll_ops->clk_readl(&clk->enable_reg))) { in _omap4_clkctrl_clk_disable() 205 ti_clk_ll_ops->clkdm_clk_disable(clk->clkdm, hw->clk); in _omap4_clkctrl_clk_disable() 213 val = ti_clk_ll_ops->clk_readl(&clk->enable_reg); in _omap4_clkctrl_clk_is_enabled()
|
D | clockdomain.c | 61 ret = ti_clk_ll_ops->clkdm_clk_enable(clk->clkdm, hw->clk); in omap2_clkops_enable_clkdm() 95 ti_clk_ll_ops->clkdm_clk_disable(clk->clkdm, hw->clk); in omap2_clkops_disable_clkdm() 117 clkdm = ti_clk_ll_ops->clkdm_lookup(clk->clkdm_name); in omap2_init_clk_clkdm()
|
D | clkt_dpll.c | 216 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap2_init_dpll_parent() 252 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap2_get_dpll_rate() 259 v = ti_clk_ll_ops->clk_readl(&dd->mult_div1_reg); in omap2_get_dpll_rate()
|
D | gate.c | 79 orig_v = ti_clk_ll_ops->clk_readl(&parent->reg); in omap36xx_gate_clk_enable_with_hsdiv_restore() 84 ti_clk_ll_ops->clk_writel(dummy_v, &parent->reg); in omap36xx_gate_clk_enable_with_hsdiv_restore() 87 ti_clk_ll_ops->clk_writel(orig_v, &parent->reg); in omap36xx_gate_clk_enable_with_hsdiv_restore()
|
D | mux.c | 42 val = ti_clk_ll_ops->clk_readl(&mux->reg) >> mux->shift; in ti_clk_mux_get_parent() 84 val = ti_clk_ll_ops->clk_readl(&mux->reg); in ti_clk_mux_set_parent() 88 ti_clk_ll_ops->clk_writel(val, &mux->reg); in ti_clk_mux_set_parent()
|
D | clock.h | 294 extern struct ti_clk_ll_ops *ti_clk_ll_ops;
|
D | divider.c | 103 val = ti_clk_ll_ops->clk_readl(÷r->reg) >> divider->shift; in ti_clk_divider_recalc_rate() 260 val = ti_clk_ll_ops->clk_readl(÷r->reg); in ti_clk_divider_set_rate() 264 ti_clk_ll_ops->clk_writel(val, ÷r->reg); in ti_clk_divider_set_rate()
|
/linux-4.19.296/include/linux/clk/ |
D | ti.h | 228 struct ti_clk_ll_ops { struct 258 int ti_clk_setup_ll_ops(struct ti_clk_ll_ops *ops); argument
|