Lines Matching refs:top
92 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_suspend() local
94 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_ispcrg_suspend()
101 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_resume() local
103 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_ispcrg_resume()
114 struct jh7110_top_sysclk *top; in jh7110_ispcrg_probe() local
124 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNEL); in jh7110_ispcrg_probe()
125 if (!top) in jh7110_ispcrg_probe()
134 top->top_clks = jh7110_isp_top_clks; in jh7110_ispcrg_probe()
135 top->top_clks_num = ARRAY_SIZE(jh7110_isp_top_clks); in jh7110_ispcrg_probe()
136 ret = devm_clk_bulk_get(priv->dev, top->top_clks_num, top->top_clks); in jh7110_ispcrg_probe()
139 dev_set_drvdata(priv->dev, top); in jh7110_ispcrg_probe()