Home
last modified time | relevance | path

Searched refs:ceclks (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-core.c675 clk_disable_unprepare(ce->ceclks[i]); in sun8i_ce_pm_suspend()
687 err = clk_prepare_enable(ce->ceclks[i]); in sun8i_ce_pm_resume()
736 ce->ceclks[i] = devm_clk_get(ce->dev, ce->variant->ce_clks[i].name); in sun8i_ce_get_clks()
737 if (IS_ERR(ce->ceclks[i])) { in sun8i_ce_get_clks()
738 err = PTR_ERR(ce->ceclks[i]); in sun8i_ce_get_clks()
743 cr = clk_get_rate(ce->ceclks[i]); in sun8i_ce_get_clks()
753 err = clk_set_rate(ce->ceclks[i], ce->variant->ce_clks[i].freq); in sun8i_ce_get_clks()
Dsun8i-ce.h217 struct clk *ceclks[CE_MAX_CLOCKS]; member