Home
last modified time | relevance | path

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

/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()
Dkrait-cc.c39 clk_nb); in krait_notifier_cb()
64 mux->clk_nb.notifier_call = krait_notifier_cb; in krait_notifier_register()
65 ret = clk_notifier_register(clk, &mux->clk_nb); in krait_notifier_register()
Dclk-regmap-mux-div.h38 struct notifier_block clk_nb; member
Dclk-krait.h21 struct notifier_block clk_nb; member
/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()
/drivers/clk/rockchip/
Dclk-cpu.c56 struct notifier_block clk_nb; member
65 container_of(nb, struct rockchip_cpuclk, clk_nb)
283 cpuclk->clk_nb.notifier_call = rockchip_cpuclk_notifier_cb; in rockchip_clk_register_cpuclk()
310 ret = clk_notifier_register(clk, &cpuclk->clk_nb); in rockchip_clk_register_cpuclk()
340 clk_notifier_unregister(clk, &cpuclk->clk_nb); in rockchip_clk_register_cpuclk()
Dclk.c127 struct notifier_block clk_nb; member
140 container_of(nb, struct rockchip_clk_frac, clk_nb)
269 frac->clk_nb.notifier_call = rockchip_clk_frac_notifier_cb; in rockchip_clk_register_frac_branch()
298 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)
/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
/drivers/clk/sunxi-ng/
Dccu_common.h56 struct notifier_block clk_nb; member
63 #define to_ccu_pll_nb(_nb) container_of(_nb, struct ccu_pll_nb, clk_nb)
Dccu_mux.h137 struct notifier_block clk_nb; member
146 #define to_ccu_mux_nb(_nb) container_of(_nb, struct ccu_mux_nb, clk_nb)
Dccu_common.c83 pll_nb->clk_nb.notifier_call = ccu_pll_notifier_cb; in ccu_pll_notifier_register()
86 &pll_nb->clk_nb); in ccu_pll_notifier_register()
Dccu_mux.c296 mux_nb->clk_nb.notifier_call = ccu_mux_notifier_cb; in ccu_mux_notifier_register()
298 return clk_notifier_register(clk, &mux_nb->clk_nb); in ccu_mux_notifier_register()
/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
/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()
1087 clk_notifier_unregister(emc->clk, &emc->clk_nb); in devm_tegra_emc_unreg_clk_notifier()
1107 err = clk_notifier_register(emc->clk, &emc->clk_nb); in tegra_emc_init_clk()
1220 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()
1599 clk_notifier_unregister(emc->clk, &emc->clk_nb); in devm_tegra_emc_unreg_clk_notifier()
1619 err = clk_notifier_register(emc->clk, &emc->clk_nb); in tegra_emc_init_clk()
1649 emc->clk_nb.notifier_call = emc_clk_change_notify; in tegra_emc_probe()
/drivers/clk/
Dclk_test.c2252 struct notifier_block clk_nb; member
2265 clk_nb); in clk_mux_notifier_callback()
2294 ctx->clk_nb.notifier_call = clk_mux_notifier_callback; in clk_mux_notifier_test_init()
2323 ret = clk_notifier_register(ctx->clk, &ctx->clk_nb); in clk_mux_notifier_test_init()
2335 clk_notifier_unregister(clk, &ctx->clk_nb); in clk_mux_notifier_test_exit()
/drivers/soc/tegra/
Dpmc.c448 struct notifier_block clk_nb; member
2510 struct tegra_pmc *pmc = container_of(nb, struct tegra_pmc, clk_nb); in tegra_pmc_clk_notify_cb()
2954 pmc->clk_nb.notifier_call = tegra_pmc_clk_notify_cb; in tegra_pmc_probe()
2955 err = clk_notifier_register(pmc->clk, &pmc->clk_nb); in tegra_pmc_probe()
3013 clk_notifier_unregister(pmc->clk, &pmc->clk_nb); in tegra_pmc_probe()