Home
last modified time | relevance | path

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

/linux/drivers/clk/qcom/
H A 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()
H A 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()
H A Dclk-regmap-mux-div.h38 struct notifier_block clk_nb; member
H A Dclk-krait.h21 struct notifier_block clk_nb; member
H A 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/drivers/clk/tegra/
H A 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/drivers/clk/rockchip/
H A 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()
392 clk_notifier_unregister(clk, &cpuclk->clk_nb); in rockchip_clk_register_cpuclk()
H A 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()
H A Dclk-pll.c32 struct notifier_block clk_nb; member
48 container_of(nb, struct rockchip_clk_pll, clk_nb)
/linux/drivers/clk/sunxi-ng/
H A Dccu_common.h65 struct notifier_block clk_nb; member
72 #define to_ccu_pll_nb(_nb) container_of(_nb, struct ccu_pll_nb, clk_nb)
H A 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)
H A Dccu_common.c105 pll_nb->clk_nb.notifier_call = ccu_pll_notifier_cb; in ccu_pll_notifier_register()
108 &pll_nb->clk_nb); in ccu_pll_notifier_register()
H A 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/drivers/clk/samsung/
H A Dclk-cpu.c106 struct notifier_block clk_nb; member
608 cpuclk = container_of(nb, struct exynos_cpuclk, clk_nb); in exynos_cpuclk_notifier_cb()
678 cpuclk->clk_nb.notifier_call = exynos_cpuclk_notifier_cb; in exynos_register_cpu_clock()
681 ret = clk_notifier_register(parent->clk, &cpuclk->clk_nb); in exynos_register_cpu_clock()
712 clk_notifier_unregister(parent->clk, &cpuclk->clk_nb); in exynos_register_cpu_clock()
/linux/drivers/media/rc/img-ir/
H A 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()
H A Dimg-ir-hw.h235 struct notifier_block clk_nb; member
/linux/drivers/memory/tegra/
H A 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()
1071 clk_notifier_unregister(emc->clk, &emc->clk_nb); in devm_tegra_emc_unreg_clk_notifier()
1091 err = clk_notifier_register(emc->clk, &emc->clk_nb); in tegra_emc_init_clk()
1204 emc->clk_nb.notifier_call = tegra_emc_clk_change_notify; in tegra_emc_probe()
H A 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()
1583 clk_notifier_unregister(emc->clk, &emc->clk_nb); in devm_tegra_emc_unreg_clk_notifier()
1603 err = clk_notifier_register(emc->clk, &emc->clk_nb); in tegra_emc_init_clk()
1633 emc->clk_nb.notifier_call = emc_clk_change_notify; in tegra_emc_probe()
/linux/drivers/clk/sophgo/
H A Dclk-sg2042-clkgen.c151 struct notifier_block clk_nb; member
155 #define to_sg2042_mux_nb(_nb) container_of(_nb, struct sg2042_mux_clock, clk_nb)
1042 mux->clk_nb.notifier_call = sg2042_mux_notifier_cb; in sg2042_clk_register_muxs()
1043 ret = devm_clk_notifier_register(dev, hw->clk, &mux->clk_nb); in sg2042_clk_register_muxs()
/linux/drivers/clk/
H A Dclk_test.c2346 struct notifier_block clk_nb; member
2359 clk_nb); in clk_mux_notifier_callback()
2388 ctx->clk_nb.notifier_call = clk_mux_notifier_callback; in clk_mux_notifier_test_init()
2417 ret = clk_notifier_register(ctx->clk, &ctx->clk_nb); in clk_mux_notifier_test_init()
2429 clk_notifier_unregister(clk, &ctx->clk_nb); in clk_mux_notifier_test_exit()
/linux/drivers/soc/tegra/
H A Dpmc.c461 struct notifier_block clk_nb; member
2515 struct tegra_pmc *pmc = container_of(nb, struct tegra_pmc, clk_nb); in tegra_pmc_clk_notify_cb()
2960 pmc->clk_nb.notifier_call = tegra_pmc_clk_notify_cb; in tegra_pmc_probe()
2962 &pmc->clk_nb); in tegra_pmc_probe()