/linux/drivers/clk/renesas/ |
H A D | clk-r8a73a4.c | 62 const char *parent_name; in r8a73a4_cpg_register_clock() local 72 parent_name = of_clk_get_parent_name(np, 0); in r8a73a4_cpg_register_clock() 75 parent_name = of_clk_get_parent_name(np, 0); in r8a73a4_cpg_register_clock() 79 parent_name = of_clk_get_parent_name(np, 1); in r8a73a4_cpg_register_clock() 82 parent_name = of_clk_get_parent_name(np, 1); in r8a73a4_cpg_register_clock() 94 parent_name = "main"; in r8a73a4_cpg_register_clock() 101 parent_name = "main"; in r8a73a4_cpg_register_clock() 125 parent_name = "main"; in r8a73a4_cpg_register_clock() 129 parent_name = "extal2"; in r8a73a4_cpg_register_clock() 133 parent_name = "extal2"; in r8a73a4_cpg_register_clock() [all …]
|
H A D | clk-r8a7740.c | 63 const char *parent_name; in r8a7740_cpg_register_clock() local 72 parent_name = of_clk_get_parent_name(np, 0); in r8a7740_cpg_register_clock() 77 parent_name = of_clk_get_parent_name(np, 0); in r8a7740_cpg_register_clock() 82 parent_name = of_clk_get_parent_name(np, 2); in r8a7740_cpg_register_clock() 86 parent_name = of_clk_get_parent_name(np, 0); in r8a7740_cpg_register_clock() 96 parent_name = "system"; in r8a7740_cpg_register_clock() 100 parent_name = "system"; in r8a7740_cpg_register_clock() 105 parent_name = "system"; in r8a7740_cpg_register_clock() 111 parent_name = of_clk_get_parent_name(np, 1); in r8a7740_cpg_register_clock() 113 parent_name = "system"; in r8a7740_cpg_register_clock() [all …]
|
H A D | rcar-gen2-cpg.c | 137 const char *parent_name, in cpg_z_clk_register() argument 150 init.parent_names = &parent_name; in cpg_z_clk_register() 165 const char *parent_name, in cpg_rcan_clk_register() argument 190 clk = clk_register_composite(NULL, name, &parent_name, 1, NULL, NULL, in cpg_rcan_clk_register() 209 const char *parent_name, in cpg_adsp_clk_register() argument 236 clk = clk_register_composite(NULL, name, &parent_name, 1, NULL, NULL, in cpg_adsp_clk_register() 282 const char *parent_name; in rcar_gen2_cpg_clk_register() local 291 parent_name = __clk_get_name(parent); in rcar_gen2_cpg_clk_register() 325 return cpg_z_clk_register(core->name, parent_name, base); in rcar_gen2_cpg_clk_register() 332 return cpg_adsp_clk_register(core->name, parent_name, base); in rcar_gen2_cpg_clk_register() [all …]
|
H A D | clk-sh73a0.c | 77 const char *parent_name = NULL; in sh73a0_cpg_register_clock() local 85 parent_name = of_clk_get_parent_name(np, parent_idx >> 1); in sh73a0_cpg_register_clock() 91 parent_name = "main"; in sh73a0_cpg_register_clock() 120 parent_name = phy_no ? "dsi1pck" : "dsi0pck"; in sh73a0_cpg_register_clock() 127 parent_name = "pll0"; in sh73a0_cpg_register_clock() 137 parent_name = c->parent; in sh73a0_cpg_register_clock() 150 return clk_register_fixed_factor(NULL, name, parent_name, 0, in sh73a0_cpg_register_clock() 153 return clk_register_divider_table(NULL, name, parent_name, 0, in sh73a0_cpg_register_clock()
|
H A D | rcar-cpg-lib.c | 91 void __iomem *sdnckcr, const char *parent_name, in cpg_sdh_clk_register() argument 103 clk = clk_register_divider_table(NULL, name, parent_name, 0, sdnckcr, in cpg_sdh_clk_register() 120 void __iomem *sdnckcr, const char *parent_name) in cpg_sd_clk_register() argument 122 return clk_register_divider_table(NULL, name, parent_name, 0, sdnckcr, in cpg_sd_clk_register() 141 void __iomem *rpcckcr, const char *parent_name, in cpg_rpc_clk_register() argument 163 clk = clk_register_composite(NULL, name, &parent_name, 1, NULL, NULL, in cpg_rpc_clk_register() 183 const char *parent_name) in cpg_rpcd2_clk_register() argument 200 clk = clk_register_composite(NULL, name, &parent_name, 1, NULL, NULL, in cpg_rpcd2_clk_register()
|
/linux/drivers/clk/ux500/ |
H A D | clk.h | 19 const char *parent_name, 25 const char *parent_name, 31 const char *parent_name, 37 const char *parent_name, 42 const char *parent_name, 48 const char *parent_name, 53 const char *parent_name, 58 const char *parent_name, 70 const char *parent_name, 79 const char *parent_name,
|
H A D | clk-prcmu.c | 195 const char *parent_name, in clk_reg_prcmu() argument 223 clk_prcmu_init.parent_names = (parent_name ? &parent_name : NULL); in clk_reg_prcmu() 224 clk_prcmu_init.num_parents = (parent_name ? 1 : 0); in clk_reg_prcmu() 240 const char *parent_name, in clk_reg_prcmu_scalable() argument 245 return clk_reg_prcmu(name, parent_name, cg_sel, rate, flags, in clk_reg_prcmu_scalable() 250 const char *parent_name, in clk_reg_prcmu_gate() argument 254 return clk_reg_prcmu(name, parent_name, cg_sel, 0, flags, in clk_reg_prcmu_gate() 259 const char *parent_name, in clk_reg_prcmu_scalable_rate() argument 264 return clk_reg_prcmu(name, parent_name, cg_sel, rate, flags, in clk_reg_prcmu_scalable_rate() 269 const char *parent_name, in clk_reg_prcmu_rate() argument [all …]
|
H A D | clk-prcc.c | 94 const char *parent_name, in clk_reg_prcc() argument 123 clk_prcc_init.parent_names = (parent_name ? &parent_name : NULL); in clk_reg_prcc() 124 clk_prcc_init.num_parents = (parent_name ? 1 : 0); in clk_reg_prcc() 142 const char *parent_name, in clk_reg_prcc_pclk() argument 147 return clk_reg_prcc(name, parent_name, phy_base, cg_sel, flags, in clk_reg_prcc_pclk() 152 const char *parent_name, in clk_reg_prcc_kclk() argument 157 return clk_reg_prcc(name, parent_name, phy_base, cg_sel, flags, in clk_reg_prcc_kclk()
|
/linux/drivers/clk/at91/ |
H A D | dt-compat.c | 34 const char *parent_name; in of_sama5d2_clk_audio_pll_frac_setup() local 44 parent_name = of_clk_get_parent_name(np, 0); in of_sama5d2_clk_audio_pll_frac_setup() 46 hw = at91_clk_register_audio_pll_frac(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_frac_setup() 60 const char *parent_name; in of_sama5d2_clk_audio_pll_pad_setup() local 70 parent_name = of_clk_get_parent_name(np, 0); in of_sama5d2_clk_audio_pll_pad_setup() 72 hw = at91_clk_register_audio_pll_pad(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_pad_setup() 86 const char *parent_name; in of_sama5d2_clk_audio_pll_pmc_setup() local 96 parent_name = of_clk_get_parent_name(np, 0); in of_sama5d2_clk_audio_pll_pmc_setup() 98 hw = at91_clk_register_audio_pll_pmc(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_pmc_setup() 192 const char *parent_name; in of_sama5d4_clk_h32mx_setup() local [all …]
|
H A D | pmc.h | 151 const char *parent_name); 155 const char *parent_name); 159 const char *parent_name); 171 const char *parent_name); 183 const char *parent_name, 188 const char *parent_name, 220 const char *parent_name, struct clk_hw *parent_hw, 225 const char *name, const char *parent_name, 232 const char *parent_name, u8 id, 237 const char *parent_name); [all …]
|
/linux/drivers/clk/imx/ |
H A D | clk-scu.h | 43 const char *parent_name, unsigned long flags, 47 struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_name, 64 const char *parent_name, unsigned long flags, in imx_clk_lpcg_scu_dev() argument 67 return __imx_clk_lpcg_scu(dev, name, parent_name, flags, reg, in imx_clk_lpcg_scu_dev() 71 static inline struct clk_hw *imx_clk_lpcg_scu(const char *name, const char *parent_name, in imx_clk_lpcg_scu() argument 75 return __imx_clk_lpcg_scu(NULL, name, parent_name, flags, reg, in imx_clk_lpcg_scu() 79 static inline struct clk_hw *imx_clk_gate_gpr_scu(const char *name, const char *parent_name, in imx_clk_gate_gpr_scu() argument 82 return __imx_clk_gpr_scu(name, &parent_name, 1, rsrc_id, gpr_id, in imx_clk_gate_gpr_scu() 86 static inline struct clk_hw *imx_clk_divider_gpr_scu(const char *name, const char *parent_name, in imx_clk_divider_gpr_scu() argument 89 return __imx_clk_gpr_scu(name, &parent_name, 1, rsrc_id, gpr_id, in imx_clk_divider_gpr_scu()
|
H A D | clk.h | 95 struct clk_hw *imx_clk_fracn_gppll(const char *name, const char *parent_name, void __iomem *base, 97 struct clk_hw *imx_clk_fracn_gppll_integer(const char *name, const char *parent_name, 104 #define imx_clk_cpu(name, parent_name, div, mux, pll, step) \ argument 105 to_clk(imx_clk_hw_cpu(name, parent_name, div, mux, pll, step)) 107 #define clk_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ argument 109 to_clk(clk_hw_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ 112 #define imx_clk_pllv3(type, name, parent_name, base, div_mask) \ argument 113 to_clk(imx_clk_hw_pllv3(type, name, parent_name, base, div_mask)) 115 #define imx_clk_pfd(name, parent_name, reg, idx) \ argument 116 to_clk(imx_clk_hw_pfd(name, parent_name, reg, idx)) [all …]
|
/linux/drivers/clk/sifive/ |
H A D | fu740-prci.h | 87 .parent_name = "hfclk", 93 .parent_name = "hfclk", 99 .parent_name = "hfclk", 105 .parent_name = "hfclk", 111 .parent_name = "hfclk", 117 .parent_name = "hfclk", 123 .parent_name = "corepll", 128 .parent_name = "hfpclkpll", 133 .parent_name = "hfclk",
|
/linux/drivers/clk/mxs/ |
H A D | clk.h | 21 struct clk *mxs_clk_pll(const char *name, const char *parent_name, 24 struct clk *mxs_clk_ref(const char *name, const char *parent_name, 27 struct clk *mxs_clk_div(const char *name, const char *parent_name, 30 struct clk *mxs_clk_frac(const char *name, const char *parent_name, 39 const char *parent_name, void __iomem *reg, u8 shift) in mxs_clk_gate() argument 41 return clk_register_gate(NULL, name, parent_name, CLK_SET_RATE_PARENT, in mxs_clk_gate() 55 const char *parent_name, unsigned int mult, unsigned int div) in mxs_clk_fixed_factor() argument 57 return clk_register_fixed_factor(NULL, name, parent_name, in mxs_clk_fixed_factor()
|
/linux/drivers/clk/socfpga/ |
H A D | clk-periph-s10.c | 108 const char *parent_name = clks->parent_name; in s10_register_periph() local 122 init.parent_names = parent_name ? &parent_name : NULL; in s10_register_periph() 144 const char *parent_name = clks->parent_name; in n5x_register_periph() local 159 init.parent_names = parent_name ? &parent_name : NULL; in n5x_register_periph() 179 const char *parent_name = clks->parent_name; in s10_register_cnt_periph() local 203 init.parent_names = parent_name ? &parent_name : NULL; in s10_register_cnt_periph()
|
/linux/drivers/clk/ |
H A D | clk-fixed-rate_test.c | 36 const char *parent_name; member 53 params->parent_name, in clk_hw_register_fixed_rate_kunit_init() 181 const char *parent_name = "test-fixed-rate-parent"; in clk_fixed_rate_parent_test() local 183 .name = parent_name, in clk_fixed_rate_parent_test() 188 KUNIT_ASSERT_STREQ(test, parent_name, clk_hw_get_name(parent_hw)); in clk_fixed_rate_parent_test() 193 hw = clk_hw_register_fixed_rate(NULL, "test-fixed-rate", parent_name, 0, 0); in clk_fixed_rate_parent_test() 213 const char *parent_name = "test-fixed-rate-parent"; in clk_fixed_rate_parent_rate_test() local 215 .name = parent_name, in clk_fixed_rate_parent_rate_test() 221 KUNIT_ASSERT_STREQ(test, parent_name, clk_hw_get_name(parent_hw)); in clk_fixed_rate_parent_rate_test() 223 hw = clk_hw_register_fixed_rate(NULL, "test-fixed-rate", parent_name, 0, in clk_fixed_rate_parent_rate_test() [all …]
|
H A D | clk-nomadik.c | 261 const char *parent_name, u32 id) in pll_clk_register() argument 278 init.parent_names = (parent_name ? &parent_name : NULL); in pll_clk_register() 279 init.num_parents = (parent_name ? 1 : 0); in pll_clk_register() 353 const char *parent_name, u8 id) in src_clk_register() argument 370 init.parent_names = (parent_name ? &parent_name : NULL); in src_clk_register() 371 init.num_parents = (parent_name ? 1 : 0); in src_clk_register() 506 const char *parent_name; in of_nomadik_pll_setup() local 517 parent_name = of_clk_get_parent_name(np, 0); in of_nomadik_pll_setup() 518 hw = pll_clk_register(NULL, clk_name, parent_name, pll_id); in of_nomadik_pll_setup() 529 const char *parent_name; in of_nomadik_hclk_setup() local [all …]
|
H A D | clk-moxart.c | 23 const char *parent_name; in moxart_of_pll_clk_init() local 26 parent_name = of_clk_get_parent_name(node, 0); in moxart_of_pll_clk_init() 43 hw = clk_hw_register_fixed_factor(NULL, name, parent_name, 0, mul, 1); in moxart_of_pll_clk_init() 63 const char *parent_name; in moxart_of_apb_clk_init() local 66 parent_name = of_clk_get_parent_name(node, 0); in moxart_of_apb_clk_init() 87 hw = clk_hw_register_fixed_factor(NULL, name, parent_name, 0, 1, div); in moxart_of_apb_clk_init()
|
/linux/drivers/clk/mmp/ |
H A D | clk.h | 34 const char *parent_name, unsigned long flags, 120 const char *parent_name, unsigned long flags, 126 const char *parent_name, void __iomem *base, 129 const char *parent_name, void __iomem *base, u32 enable_mask, 141 const char *parent_name; member 152 const char *parent_name; member 164 const char *parent_name; member 178 const char *parent_name; member 194 const char * const *parent_name; member 210 const char *parent_name; member
|
/linux/drivers/clk/tegra/ |
H A D | clk.h | 135 const char *parent_name, void __iomem *reg, 138 struct clk *tegra_clk_register_mc(const char *name, const char *parent_name, 404 struct clk *tegra_clk_register_pll(const char *name, const char *parent_name, 409 struct clk *tegra_clk_register_plle(const char *name, const char *parent_name, 414 struct clk *tegra_clk_register_pllxc(const char *name, const char *parent_name, 420 struct clk *tegra_clk_register_pllm(const char *name, const char *parent_name, 426 struct clk *tegra_clk_register_pllc(const char *name, const char *parent_name, 432 struct clk *tegra_clk_register_pllre(const char *name, const char *parent_name, 439 const char *parent_name, void __iomem *clk_base, 445 const char *parent_name, [all …]
|
/linux/drivers/clk/keystone/ |
H A D | pll.c | 122 const char *parent_name, in clk_register_pll() argument 136 init.parent_names = (parent_name ? &parent_name : NULL); in clk_register_pll() 137 init.num_parents = (parent_name ? 1 : 0); in clk_register_pll() 161 const char *parent_name; in _of_pll_clk_init() local 171 parent_name = of_clk_get_parent_name(node, 0); in _of_pll_clk_init() 211 clk = clk_register_pll(NULL, node->name, parent_name, pll_data); in _of_pll_clk_init() 250 const char *parent_name; in of_pll_div_clk_init() local 263 parent_name = of_clk_get_parent_name(node, 0); in of_pll_div_clk_init() 264 if (!parent_name) { in of_pll_div_clk_init() 282 clk = clk_register_divider(NULL, clk_name, parent_name, 0, reg, shift, in of_pll_div_clk_init()
|
/linux/drivers/clk/ti/ |
H A D | interface.c | 29 const char *parent_name, in _register_interface() argument 51 init.parent_names = &parent_name; in _register_interface() 65 const char *parent_name; in _of_ti_interface_clk_setup() local 75 parent_name = of_clk_get_parent_name(node, 0); in _of_ti_interface_clk_setup() 76 if (!parent_name) { in _of_ti_interface_clk_setup() 82 clk = _register_interface(node, name, parent_name, ®, in _of_ti_interface_clk_setup()
|
/linux/drivers/clk/qcom/ |
H A D | krait-cc.c | 93 char *parent_name; in krait_add_div() local 111 parent_name = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_div() 112 if (!parent_name) { in krait_add_div() 117 p_data[0].fw_name = parent_name; in krait_add_div() 118 p_data[0].name = parent_name; in krait_add_div() 136 kfree(parent_name); in krait_add_div() 160 char *parent_name; in krait_add_sec_mux() local 187 parent_name = kasprintf(GFP_KERNEL, "acpu%s_aux", s); in krait_add_sec_mux() 188 if (!parent_name) { in krait_add_sec_mux() 192 sec_mux_list[1].fw_name = parent_name; in krait_add_sec_mux() [all …]
|
/linux/drivers/clk/hisilicon/ |
H A D | clk.h | 29 const char *parent_name; member 37 const char *parent_name; member 73 const char *parent_name; member 86 const char *parent_name; member 98 const char *parent_name; member 111 const char *parent_name, unsigned long flags, void __iomem *reg,
|
/linux/drivers/clk/davinci/ |
H A D | pll.c | 235 const char *parent_name, in davinci_pll_div_register() argument 239 const char * const *parent_names = parent_name ? &parent_name : NULL; in davinci_pll_div_register() 240 int num_parents = parent_name ? 1 : 0; in davinci_pll_div_register() 367 const char *parent_name, in davinci_pll_clk_register() argument 396 parent_name, 0, 1, 1); in davinci_pll_clk_register() 400 parent_name = OSCIN_CLK_NAME; in davinci_pll_clk_register() 415 parent_name, flags, 1, 8); in davinci_pll_clk_register() 418 parent_name, base + PREDIV, fixed, flags); in davinci_pll_clk_register() 424 parent_name = prediv_name; in davinci_pll_clk_register() 450 init.parent_names = &parent_name; in davinci_pll_clk_register() [all …]
|