Home
last modified time | relevance | path

Searched refs:clk_nb (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/clk/qcom/
Dapcs-sdx55.c40 clk_nb); in a7cc_notifier_cb()
87 a7cc->clk_nb.notifier_call = a7cc_notifier_cb; in qcom_apcs_sdx55_clk_probe()
88 ret = clk_notifier_register(a7cc->pclk, &a7cc->clk_nb); in qcom_apcs_sdx55_clk_probe()
119 clk_notifier_unregister(a7cc->pclk, &a7cc->clk_nb); in qcom_apcs_sdx55_clk_probe()
128 clk_notifier_unregister(a7cc->pclk, &a7cc->clk_nb); in qcom_apcs_sdx55_clk_remove()
Dapcs-msm8916.c37 clk_nb); in a53cc_notifier_cb()
93 a53cc->clk_nb.notifier_call = a53cc_notifier_cb; in qcom_apcs_msm8916_clk_probe()
94 ret = clk_notifier_register(a53cc->pclk, &a53cc->clk_nb); in qcom_apcs_msm8916_clk_probe()
118 clk_notifier_unregister(a53cc->pclk, &a53cc->clk_nb); in qcom_apcs_msm8916_clk_probe()
126 clk_notifier_unregister(a53cc->pclk, &a53cc->clk_nb); in qcom_apcs_msm8916_clk_remove()
Dclk-regmap-mux-div.h38 struct notifier_block clk_nb; member
Dclk-krait.h21 struct notifier_block clk_nb; member
Dkrait-cc.c49 clk_nb); in krait_notifier_cb()
74 mux->clk_nb.notifier_call = krait_notifier_cb; in krait_notifier_register()
75 ret = devm_clk_notifier_register(dev, clk, &mux->clk_nb); in krait_notifier_register()
/linux-6.6.21/drivers/clk/tegra/
Dclk-device.c24 struct notifier_block clk_nb; member
69 clk_dev = container_of(nb, struct tegra_clk_device, clk_nb); in tegra_clock_change_notify()
131 clk_dev->clk_nb.notifier_call = tegra_clock_change_notify; in tegra_clock_probe()
147 err = clk_notifier_register(clk, &clk_dev->clk_nb); in tegra_clock_probe()
165 clk_notifier_unregister(clk, &clk_dev->clk_nb); in tegra_clock_probe()
/linux-6.6.21/drivers/clk/samsung/
Dclk-cpu.c368 cpuclk = container_of(nb, struct exynos_cpuclk, clk_nb); in exynos_cpuclk_notifier_cb()
391 cpuclk = container_of(nb, struct exynos_cpuclk, clk_nb); in exynos5433_cpuclk_notifier_cb()
437 cpuclk->clk_nb.notifier_call = exynos5433_cpuclk_notifier_cb; in exynos_register_cpu_clock()
439 cpuclk->clk_nb.notifier_call = exynos_cpuclk_notifier_cb; in exynos_register_cpu_clock()
442 ret = clk_notifier_register(parent->clk, &cpuclk->clk_nb); in exynos_register_cpu_clock()
467 clk_notifier_unregister(parent->clk, &cpuclk->clk_nb); in exynos_register_cpu_clock()
Dclk-cpu.h54 struct notifier_block clk_nb; member
/linux-6.6.21/drivers/clk/rockchip/
Dclk-cpu.c56 struct notifier_block clk_nb; member
65 container_of(nb, struct rockchip_cpuclk, clk_nb)
336 cpuclk->clk_nb.notifier_call = rockchip_cpuclk_notifier_cb; in rockchip_clk_register_cpuclk()
363 ret = clk_notifier_register(clk, &cpuclk->clk_nb); in rockchip_clk_register_cpuclk()
393 clk_notifier_unregister(clk, &cpuclk->clk_nb); in rockchip_clk_register_cpuclk()
Dclk.c126 struct notifier_block clk_nb; member
139 container_of(nb, struct rockchip_clk_frac, clk_nb)
272 frac->clk_nb.notifier_call = rockchip_clk_frac_notifier_cb; in rockchip_clk_register_frac_branch()
301 ret = clk_notifier_register(hw->clk, &frac->clk_nb); in rockchip_clk_register_frac_branch()
Dclk-pll.c32 struct notifier_block clk_nb; member
48 container_of(nb, struct rockchip_clk_pll, clk_nb)
/linux-6.6.21/drivers/clk/sunxi-ng/
Dccu_common.h62 struct notifier_block clk_nb; member
69 #define to_ccu_pll_nb(_nb) container_of(_nb, struct ccu_pll_nb, clk_nb)
Dccu_mux.h153 struct notifier_block clk_nb; member
162 #define to_ccu_mux_nb(_nb) container_of(_nb, struct ccu_mux_nb, clk_nb)
Dccu_common.c95 pll_nb->clk_nb.notifier_call = ccu_pll_notifier_cb; in ccu_pll_notifier_register()
98 &pll_nb->clk_nb); in ccu_pll_notifier_register()
Dccu_mux.c307 mux_nb->clk_nb.notifier_call = ccu_mux_notifier_cb; in ccu_mux_notifier_register()
309 return clk_notifier_register(clk, &mux_nb->clk_nb); in ccu_mux_notifier_register()
/linux-6.6.21/drivers/memory/tegra/
Dtegra20-emc.c201 struct notifier_block clk_nb; member
327 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in tegra_emc_clk_change_notify()
1074 clk_notifier_unregister(emc->clk, &emc->clk_nb); in devm_tegra_emc_unreg_clk_notifier()
1094 err = clk_notifier_register(emc->clk, &emc->clk_nb); in tegra_emc_init_clk()
1207 emc->clk_nb.notifier_call = tegra_emc_clk_change_notify; in tegra_emc_probe()
Dtegra30-emc.c359 struct notifier_block clk_nb; member
858 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in emc_clk_change_notify()
1586 clk_notifier_unregister(emc->clk, &emc->clk_nb); in devm_tegra_emc_unreg_clk_notifier()
1606 err = clk_notifier_register(emc->clk, &emc->clk_nb); in tegra_emc_init_clk()
1636 emc->clk_nb.notifier_call = emc_clk_change_notify; in tegra_emc_probe()
/linux-6.6.21/drivers/media/rc/img-ir/
Dimg-ir-hw.c940 hw.clk_nb); in img_ir_clk_notify()
1061 hw->clk_nb.notifier_call = img_ir_clk_notify; in img_ir_probe_hw()
1062 error = clk_notifier_register(priv->clk, &hw->clk_nb); in img_ir_probe_hw()
1109 clk_notifier_unregister(priv->clk, &hw->clk_nb); in img_ir_probe_hw()
1125 clk_notifier_unregister(priv->clk, &hw->clk_nb); in img_ir_remove_hw()
Dimg-ir-hw.h235 struct notifier_block clk_nb; member
/linux-6.6.21/drivers/clk/
Dclk_test.c2276 struct notifier_block clk_nb; member
2289 clk_nb); in clk_mux_notifier_callback()
2318 ctx->clk_nb.notifier_call = clk_mux_notifier_callback; in clk_mux_notifier_test_init()
2347 ret = clk_notifier_register(ctx->clk, &ctx->clk_nb); in clk_mux_notifier_test_init()
2359 clk_notifier_unregister(clk, &ctx->clk_nb); in clk_mux_notifier_test_exit()
/linux-6.6.21/drivers/soc/tegra/
Dpmc.c460 struct notifier_block clk_nb; member
2550 struct tegra_pmc *pmc = container_of(nb, struct tegra_pmc, clk_nb); in tegra_pmc_clk_notify_cb()
2994 pmc->clk_nb.notifier_call = tegra_pmc_clk_notify_cb; in tegra_pmc_probe()
2996 &pmc->clk_nb); in tegra_pmc_probe()