Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-core.c623 clk_disable_unprepare(ss->ssclks[i]); in sun8i_ss_pm_suspend()
635 err = clk_prepare_enable(ss->ssclks[i]); in sun8i_ss_pm_resume()
786 ss->ssclks[i] = devm_clk_get(ss->dev, ss->variant->ss_clks[i].name); in sun8i_ss_get_clks()
787 if (IS_ERR(ss->ssclks[i])) { in sun8i_ss_get_clks()
788 err = PTR_ERR(ss->ssclks[i]); in sun8i_ss_get_clks()
793 cr = clk_get_rate(ss->ssclks[i]); in sun8i_ss_get_clks()
803 err = clk_set_rate(ss->ssclks[i], ss->variant->ss_clks[i].freq); in sun8i_ss_get_clks()
H A Dsun8i-ss.h159 struct clk *ssclks[SS_MAX_CLOCKS]; member