Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/hisilicon/
Dclk-hi3519.c140 struct hi3519_crg_data *crg = platform_get_drvdata(pdev); in hi3519_clk_unregister() local
146 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() local
159 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 …]
Dcrg-hi3516cv300.c187 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3516cv300_clk_unregister() local
192 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() local
252 crg->clk_data); in hi3516cv300_sysctrl_clk_unregister()
275 struct hisi_crg_dev *crg; in hi3516cv300_crg_probe() local
277 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 …]
Dcrg-hi3798cv200.c268 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3798cv200_clk_unregister() local
274 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() local
339 crg->clk_data); in hi3798cv200_sysctrl_clk_unregister()
358 struct hisi_crg_dev *crg; in hi3798cv200_crg_probe() local
360 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 …]
DMakefile11 obj-$(CONFIG_COMMON_CLK_HI3516CV300) += crg-hi3516cv300.o
14 obj-$(CONFIG_COMMON_CLK_HI3798CV200) += crg-hi3798cv200.o