Searched refs:crg (Results 1 – 4 of 4) sorted by relevance
140 struct hi3519_crg_data *crg = platform_get_drvdata(pdev); in hi3519_clk_unregister() local146 crg->clk_data); in hi3519_clk_unregister()149 crg->clk_data); in hi3519_clk_unregister()152 crg->clk_data); in hi3519_clk_unregister()157 struct hi3519_crg_data *crg; in hi3519_clk_probe() local159 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3519_clk_probe()160 if (!crg) in hi3519_clk_probe()163 crg->rstc = hisi_reset_init(pdev); in hi3519_clk_probe()164 if (!crg->rstc) in hi3519_clk_probe()167 crg->clk_data = hi3519_clk_register(pdev); in hi3519_clk_probe()[all …]
187 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3516cv300_clk_unregister() local192 ARRAY_SIZE(hi3516cv300_gate_clks), crg->clk_data); in hi3516cv300_clk_unregister()194 ARRAY_SIZE(hi3516cv300_mux_clks), crg->clk_data); in hi3516cv300_clk_unregister()196 ARRAY_SIZE(hi3516cv300_fixed_rate_clks), crg->clk_data); in hi3516cv300_clk_unregister()246 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3516cv300_sysctrl_clk_unregister() local252 crg->clk_data); in hi3516cv300_sysctrl_clk_unregister()275 struct hisi_crg_dev *crg; in hi3516cv300_crg_probe() local277 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3516cv300_crg_probe()278 if (!crg) in hi3516cv300_crg_probe()281 crg->funcs = of_device_get_match_data(&pdev->dev); in hi3516cv300_crg_probe()[all …]
268 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3798cv200_clk_unregister() local274 crg->clk_data); in hi3798cv200_clk_unregister()277 crg->clk_data); in hi3798cv200_clk_unregister()280 crg->clk_data); in hi3798cv200_clk_unregister()333 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3798cv200_sysctrl_clk_unregister() local339 crg->clk_data); in hi3798cv200_sysctrl_clk_unregister()358 struct hisi_crg_dev *crg; in hi3798cv200_crg_probe() local360 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3798cv200_crg_probe()361 if (!crg) in hi3798cv200_crg_probe()364 crg->funcs = of_device_get_match_data(&pdev->dev); in hi3798cv200_crg_probe()[all …]
11 obj-$(CONFIG_COMMON_CLK_HI3516CV300) += crg-hi3516cv300.o14 obj-$(CONFIG_COMMON_CLK_HI3798CV200) += crg-hi3798cv200.o