Searched refs:nclks (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/reset/ |
D | reset-uniphier-glue.c | 18 int nclks; member 35 clk_bulk_disable_unprepare(priv->data->nclks, priv->clk); in uniphier_clk_disable() 58 if (WARN_ON(!priv->data || priv->data->nclks > MAX_CLKS || in uniphier_glue_reset_probe() 68 for (i = 0; i < priv->data->nclks; i++) in uniphier_glue_reset_probe() 70 ret = devm_clk_bulk_get(dev, priv->data->nclks, priv->clk); in uniphier_glue_reset_probe() 81 ret = clk_bulk_prepare_enable(priv->data->nclks, priv->clk); in uniphier_glue_reset_probe() 114 .nclks = ARRAY_SIZE(uniphier_pro4_clock_reset_names), 125 .nclks = ARRAY_SIZE(uniphier_pxs2_clock_reset_names),
|
/linux-5.19.10/drivers/clk/qcom/ |
D | clk-spmi-pmic-div.c | 179 int nclks; member 189 if (idx < 0 || idx >= cc->nclks) { in spmi_pmic_div_clk_hw_get() 191 __func__, clkspec->args[0], cc->nclks); in spmi_pmic_div_clk_hw_get() 208 int nclks, i, ret, cxo_hz; in spmi_pmic_clkdiv_probe() local 224 ret = of_property_read_u32(of_node, "qcom,num-clkdivs", &nclks); in spmi_pmic_clkdiv_probe() 231 if (!nclks) in spmi_pmic_clkdiv_probe() 234 cc = devm_kzalloc(dev, struct_size(cc, clks, nclks), GFP_KERNEL); in spmi_pmic_clkdiv_probe() 237 cc->nclks = nclks; in spmi_pmic_clkdiv_probe() 260 for (i = 0, clkdiv = cc->clks; i < nclks; i++) { in spmi_pmic_clkdiv_probe()
|
/linux-5.19.10/drivers/regulator/ |
D | uniphier-regulator.c | 21 int nclks; member 64 for (i = 0; i < priv->data->nclks; i++) in uniphier_regulator_probe() 66 ret = devm_clk_bulk_get(dev, priv->data->nclks, priv->clk); in uniphier_regulator_probe() 77 ret = clk_bulk_prepare_enable(priv->data->nclks, priv->clk); in uniphier_regulator_probe() 113 clk_bulk_disable_unprepare(priv->data->nclks, priv->clk); in uniphier_regulator_probe() 126 clk_bulk_disable_unprepare(priv->data->nclks, priv->clk); in uniphier_regulator_remove() 159 .nclks = ARRAY_SIZE(uniphier_pro4_clock_reset_names), 172 .nclks = ARRAY_SIZE(uniphier_pxs2_clock_reset_names),
|
/linux-5.19.10/drivers/spmi/ |
D | spmi-mtk-pmif.c | 51 size_t nclks; member 464 arb->nclks = ARRAY_SIZE(pmif_clock_names); in mtk_spmi_probe() 465 for (i = 0; i < arb->nclks; i++) in mtk_spmi_probe() 468 err = devm_clk_bulk_get(&pdev->dev, arb->nclks, arb->clks); in mtk_spmi_probe() 474 err = clk_bulk_prepare_enable(arb->nclks, arb->clks); in mtk_spmi_probe() 500 clk_bulk_disable_unprepare(arb->nclks, arb->clks); in mtk_spmi_probe() 511 clk_bulk_disable_unprepare(arb->nclks, arb->clks); in mtk_spmi_remove()
|
/linux-5.19.10/drivers/clk/renesas/ |
D | renesas-cpg-mssr.c | 968 unsigned int nclks, i; in cpg_mssr_common_init() local 977 nclks = info->num_total_core_clks + info->num_hw_mod_clks; in cpg_mssr_common_init() 978 priv = kzalloc(struct_size(priv, clks, nclks), GFP_KERNEL); in cpg_mssr_common_init() 1015 for (i = 0; i < nclks; i++) in cpg_mssr_common_init()
|
D | rzg2l-cpg.c | 1333 unsigned int nclks, i; in rzg2l_cpg_probe() local 1351 nclks = info->num_total_core_clks + info->num_hw_mod_clks; in rzg2l_cpg_probe() 1352 clks = devm_kmalloc_array(dev, nclks, sizeof(*clks), GFP_KERNEL); in rzg2l_cpg_probe() 1363 for (i = 0; i < nclks; i++) in rzg2l_cpg_probe()
|
/linux-5.19.10/drivers/net/ethernet/socionext/ |
D | sni_ave.c | 255 int nclks; member 1175 for (nc = 0; nc < priv->nclks; nc++) { in ave_init() 1259 for (i = 0; i < priv->nclks; i++) in ave_uninit() 1646 priv->nclks++; in ave_probe()
|