Lines Matching refs:desc
20 const struct sunxi_ccu_desc *desc; member
114 const struct sunxi_ccu_desc *desc) in sunxi_ccu_probe() argument
119 ccu->desc = desc; in sunxi_ccu_probe()
123 for (i = 0; i < desc->num_ccu_clks; i++) { in sunxi_ccu_probe()
124 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
133 for (i = 0; i < desc->hw_clks->num ; i++) { in sunxi_ccu_probe()
134 struct clk_hw *hw = desc->hw_clks->hws[i]; in sunxi_ccu_probe()
151 for (i = 0; i < desc->num_ccu_clks; i++) { in sunxi_ccu_probe()
152 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe()
167 desc->hw_clks); in sunxi_ccu_probe()
175 reset->rcdev.nr_resets = desc->num_resets; in sunxi_ccu_probe()
178 reset->reset_map = desc->resets; in sunxi_ccu_probe()
190 struct clk_hw *hw = desc->hw_clks->hws[i]; in sunxi_ccu_probe()
202 const struct sunxi_ccu_desc *desc = ccu->desc; in devm_sunxi_ccu_release() local
208 for (i = 0; i < desc->hw_clks->num; i++) { in devm_sunxi_ccu_release()
209 struct clk_hw *hw = desc->hw_clks->hws[i]; in devm_sunxi_ccu_release()
218 const struct sunxi_ccu_desc *desc) in devm_sunxi_ccu_probe() argument
227 ret = sunxi_ccu_probe(ccu, dev, dev->of_node, reg, desc); in devm_sunxi_ccu_probe()
240 const struct sunxi_ccu_desc *desc) in of_sunxi_ccu_probe() argument
249 ret = sunxi_ccu_probe(ccu, NULL, node, reg, desc); in of_sunxi_ccu_probe()