Lines Matching refs:a53cc
50 struct clk_regmap_mux_div *a53cc; in qcom_apcs_msm8916_clk_probe() local
61 a53cc = devm_kzalloc(dev, sizeof(*a53cc), GFP_KERNEL); in qcom_apcs_msm8916_clk_probe()
62 if (!a53cc) in qcom_apcs_msm8916_clk_probe()
76 a53cc->clkr.hw.init = &init; in qcom_apcs_msm8916_clk_probe()
77 a53cc->clkr.regmap = regmap; in qcom_apcs_msm8916_clk_probe()
78 a53cc->reg_offset = 0x50; in qcom_apcs_msm8916_clk_probe()
79 a53cc->hid_width = 5; in qcom_apcs_msm8916_clk_probe()
80 a53cc->hid_shift = 0; in qcom_apcs_msm8916_clk_probe()
81 a53cc->src_width = 3; in qcom_apcs_msm8916_clk_probe()
82 a53cc->src_shift = 8; in qcom_apcs_msm8916_clk_probe()
83 a53cc->parent_map = gpll0_a53cc_map; in qcom_apcs_msm8916_clk_probe()
85 a53cc->pclk = devm_clk_get(parent, NULL); in qcom_apcs_msm8916_clk_probe()
86 if (IS_ERR(a53cc->pclk)) { in qcom_apcs_msm8916_clk_probe()
87 ret = PTR_ERR(a53cc->pclk); in qcom_apcs_msm8916_clk_probe()
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()
100 ret = devm_clk_register_regmap(dev, &a53cc->clkr); in qcom_apcs_msm8916_clk_probe()
107 &a53cc->clkr.hw); in qcom_apcs_msm8916_clk_probe()
113 platform_set_drvdata(pdev, a53cc); in qcom_apcs_msm8916_clk_probe()
118 clk_notifier_unregister(a53cc->pclk, &a53cc->clk_nb); in qcom_apcs_msm8916_clk_probe()
124 struct clk_regmap_mux_div *a53cc = platform_get_drvdata(pdev); in qcom_apcs_msm8916_clk_remove() local
126 clk_notifier_unregister(a53cc->pclk, &a53cc->clk_nb); in qcom_apcs_msm8916_clk_remove()