Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-core.c505 clk_disable_unprepare(ss->ssclks[i]); in sun8i_ss_pm_suspend()
517 err = clk_prepare_enable(ss->ssclks[i]); in sun8i_ss_pm_resume()
668 ss->ssclks[i] = devm_clk_get(ss->dev, ss->variant->ss_clks[i].name); in sun8i_ss_get_clks()
669 if (IS_ERR(ss->ssclks[i])) { in sun8i_ss_get_clks()
670 err = PTR_ERR(ss->ssclks[i]); in sun8i_ss_get_clks()
675 cr = clk_get_rate(ss->ssclks[i]); in sun8i_ss_get_clks()
685 err = clk_set_rate(ss->ssclks[i], ss->variant->ss_clks[i].freq); in sun8i_ss_get_clks()
Dsun8i-ss.h148 struct clk *ssclks[SS_MAX_CLOCKS]; member