Lines Matching full:crg
128 struct hi3519_crg_data *crg = platform_get_drvdata(pdev); in hi3519_clk_unregister() local
134 crg->clk_data); in hi3519_clk_unregister()
137 crg->clk_data); in hi3519_clk_unregister()
140 crg->clk_data); in hi3519_clk_unregister()
145 struct hi3519_crg_data *crg; in hi3519_clk_probe() local
147 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3519_clk_probe()
148 if (!crg) in hi3519_clk_probe()
151 crg->rstc = hisi_reset_init(pdev); in hi3519_clk_probe()
152 if (!crg->rstc) in hi3519_clk_probe()
155 crg->clk_data = hi3519_clk_register(pdev); in hi3519_clk_probe()
156 if (IS_ERR(crg->clk_data)) { in hi3519_clk_probe()
157 hisi_reset_exit(crg->rstc); in hi3519_clk_probe()
158 return PTR_ERR(crg->clk_data); in hi3519_clk_probe()
161 platform_set_drvdata(pdev, crg); in hi3519_clk_probe()
167 struct hi3519_crg_data *crg = platform_get_drvdata(pdev); in hi3519_clk_remove() local
169 hisi_reset_exit(crg->rstc); in hi3519_clk_remove()
175 { .compatible = "hisilicon,hi3519-crg" },