Home
last modified time | relevance | path

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

/drivers/staging/clocking-wizard/
Dclk-xlnx-clock-wizard.c52 struct clk_wzrd { struct
64 #define to_clk_wzrd(_nb) container_of(_nb, struct clk_wzrd, nb) argument
78 struct clk_wzrd *clk_wzrd = to_clk_wzrd(nb); in clk_wzrd_clk_notifier() local
80 if (clk_wzrd->suspended) in clk_wzrd_clk_notifier()
83 if (ndata->clk == clk_wzrd->clk_in1) in clk_wzrd_clk_notifier()
84 max = clk_wzrd_max_freq[clk_wzrd->speed_grade - 1]; in clk_wzrd_clk_notifier()
85 else if (ndata->clk == clk_wzrd->axi_clk) in clk_wzrd_clk_notifier()
104 struct clk_wzrd *clk_wzrd = dev_get_drvdata(dev); in clk_wzrd_suspend() local
106 clk_disable_unprepare(clk_wzrd->axi_clk); in clk_wzrd_suspend()
107 clk_wzrd->suspended = true; in clk_wzrd_suspend()
[all …]