/linux/drivers/clk/renesas/ |
A D | clk-r8a73a4.c | 65 const char *parent_name; in r8a73a4_cpg_register_clock() local 76 parent_name = of_clk_get_parent_name(np, 0); in r8a73a4_cpg_register_clock() 98 parent_name = "main"; in r8a73a4_cpg_register_clock() 105 parent_name = "main"; in r8a73a4_cpg_register_clock() 129 parent_name = "main"; in r8a73a4_cpg_register_clock() 133 parent_name = "extal2"; in r8a73a4_cpg_register_clock() 137 parent_name = "extal2"; in r8a73a4_cpg_register_clock() 141 parent_name = "main"; in r8a73a4_cpg_register_clock() 144 parent_name = "extal2"; in r8a73a4_cpg_register_clock() 156 parent_name = "pll0"; in r8a73a4_cpg_register_clock() [all …]
|
A D | clk-r8a7740.c | 67 const char *parent_name; in r8a7740_cpg_register_clock() local 76 parent_name = of_clk_get_parent_name(np, 0); in r8a7740_cpg_register_clock() 81 parent_name = of_clk_get_parent_name(np, 0); in r8a7740_cpg_register_clock() 86 parent_name = of_clk_get_parent_name(np, 2); in r8a7740_cpg_register_clock() 90 parent_name = of_clk_get_parent_name(np, 0); in r8a7740_cpg_register_clock() 100 parent_name = "system"; in r8a7740_cpg_register_clock() 104 parent_name = "system"; in r8a7740_cpg_register_clock() 109 parent_name = "system"; in r8a7740_cpg_register_clock() 115 parent_name = of_clk_get_parent_name(np, 1); in r8a7740_cpg_register_clock() 117 parent_name = "system"; in r8a7740_cpg_register_clock() [all …]
|
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 209 const char *parent_name, in cpg_adsp_clk_register() argument 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() 361 return cpg_rcan_clk_register(core->name, parent_name, base); in rcar_gen2_cpg_clk_register() 368 return clk_register_fixed_factor(NULL, core->name, parent_name, in rcar_gen2_cpg_clk_register() [all …]
|
A D | clk-sh73a0.c | 80 const char *parent_name = NULL; in sh73a0_cpg_register_clock() local 88 parent_name = of_clk_get_parent_name(np, parent_idx >> 1); in sh73a0_cpg_register_clock() 94 parent_name = "main"; in sh73a0_cpg_register_clock() 123 parent_name = phy_no ? "dsi1pck" : "dsi0pck"; in sh73a0_cpg_register_clock() 130 parent_name = "pll0"; in sh73a0_cpg_register_clock() 140 parent_name = c->parent; in sh73a0_cpg_register_clock() 153 return clk_register_fixed_factor(NULL, name, parent_name, 0, in sh73a0_cpg_register_clock() 156 return clk_register_divider_table(NULL, name, parent_name, 0, in sh73a0_cpg_register_clock()
|
/linux/drivers/clk/at91/ |
A D | dt-compat.c | 34 const char *parent_name; in of_sama5d2_clk_audio_pll_frac_setup() local 57 const char *parent_name; in of_sama5d2_clk_audio_pll_pad_setup() local 80 const char *parent_name; in of_sama5d2_clk_audio_pll_pmc_setup() local 181 const char *parent_name; in of_sama5d4_clk_h32mx_setup() local 243 const char *parent_name; in of_at91rm9200_clk_main_osc_setup() local 292 const char *parent_name; in of_at91rm9200_clk_main_setup() local 433 const char *parent_name; in of_at91_clk_periph_setup() local 439 if (!parent_name) in of_at91_clk_periph_setup() 474 parent_name, in of_at91_clk_periph_setup() 894 if (!parent_name) in of_at91sam9n12_clk_usb_setup() [all …]
|
A D | pmc.h | 133 const char *parent_name); 137 const char *parent_name); 141 const char *parent_name); 152 const char *parent_name); 168 const char *parent_name); 196 const char *parent_name, u32 id); 206 const char *parent_name, u8 id, 211 const char *parent_name); 245 const char *parent_name, u8 id); 252 const char *parent_name); [all …]
|
A D | clk-utmi.c | 146 const char *name, const char *parent_name, in at91_clk_register_utmi_internal() argument 160 init.parent_names = parent_name ? &parent_name : NULL; in at91_clk_register_utmi_internal() 161 init.num_parents = parent_name ? 1 : 0; in at91_clk_register_utmi_internal() 180 const char *name, const char *parent_name) in at91_clk_register_utmi() argument 183 parent_name, &utmi_ops, CLK_SET_RATE_GATE); in at91_clk_register_utmi() 282 const char *parent_name) in at91_clk_sama7g5_register_utmi() argument 285 parent_name, &sama7g5_utmi_ops, 0); in at91_clk_sama7g5_register_utmi()
|
/linux/drivers/clk/ux500/ |
A D | clk.h | 18 const char *parent_name, 24 const char *parent_name, 30 const char *parent_name, 36 const char *parent_name, 41 const char *parent_name, 47 const char *parent_name, 52 const char *parent_name, 57 const char *parent_name, 64 const char *parent_name, 73 const char *parent_name,
|
A D | clk-prcmu.c | 245 const char *parent_name, in clk_reg_prcmu() argument 275 clk_prcmu_init.parent_names = (parent_name ? &parent_name : NULL); in clk_reg_prcmu() 276 clk_prcmu_init.num_parents = (parent_name ? 1 : 0); in clk_reg_prcmu() 292 const char *parent_name, in clk_reg_prcmu_scalable() argument 302 const char *parent_name, in clk_reg_prcmu_gate() argument 306 return clk_reg_prcmu(name, parent_name, cg_sel, 0, flags, in clk_reg_prcmu_gate() 311 const char *parent_name, in clk_reg_prcmu_scalable_rate() argument 321 const char *parent_name, in clk_reg_prcmu_rate() argument 325 return clk_reg_prcmu(name, parent_name, cg_sel, 0, flags, in clk_reg_prcmu_rate() 330 const char *parent_name, in clk_reg_prcmu_opp_gate() argument [all …]
|
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()
|
A D | clk-sysctrl.c | 179 const char *parent_name, in clk_reg_sysctrl_gate() argument 186 const char **parent_names = (parent_name ? &parent_name : NULL); in clk_reg_sysctrl_gate() 187 u8 num_parents = (parent_name ? 1 : 0); in clk_reg_sysctrl_gate() 196 const char *parent_name, in clk_reg_sysctrl_gate_fixed_rate() argument 204 const char **parent_names = (parent_name ? &parent_name : NULL); in clk_reg_sysctrl_gate_fixed_rate() 205 u8 num_parents = (parent_name ? 1 : 0); in clk_reg_sysctrl_gate_fixed_rate()
|
/linux/drivers/clk/sifive/ |
A D | fu740-prci.c | 85 .parent_name = "hfclk", 91 .parent_name = "hfclk", 97 .parent_name = "hfclk", 103 .parent_name = "hfclk", 109 .parent_name = "hfclk", 115 .parent_name = "hfclk", 121 .parent_name = "corepll", 126 .parent_name = "hfpclkpll", 131 .parent_name = "hfclk",
|
/linux/drivers/clk/imx/ |
A D | clk-scu.h | 42 const char *parent_name, unsigned long flags, 46 struct clk_hw *__imx_clk_gpr_scu(const char *name, const char * const *parent_name, 63 const char *parent_name, unsigned long flags, in imx_clk_lpcg_scu_dev() argument 66 return __imx_clk_lpcg_scu(dev, name, parent_name, flags, reg, in imx_clk_lpcg_scu_dev() 70 static inline struct clk_hw *imx_clk_lpcg_scu(const char *name, const char *parent_name, in imx_clk_lpcg_scu() argument 74 return __imx_clk_lpcg_scu(NULL, name, parent_name, flags, reg, in imx_clk_lpcg_scu() 78 static inline struct clk_hw *imx_clk_gate_gpr_scu(const char *name, const char *parent_name, in imx_clk_gate_gpr_scu() argument 81 return __imx_clk_gpr_scu(name, &parent_name, 1, rsrc_id, gpr_id, in imx_clk_gate_gpr_scu() 85 static inline struct clk_hw *imx_clk_divider_gpr_scu(const char *name, const char *parent_name, in imx_clk_divider_gpr_scu() argument 88 return __imx_clk_gpr_scu(name, &parent_name, 1, rsrc_id, gpr_id, in imx_clk_divider_gpr_scu()
|
A D | clk.h | 75 #define imx_clk_cpu(name, parent_name, div, mux, pll, step) \ argument 76 to_clk(imx_clk_hw_cpu(name, parent_name, div, mux, pll, step)) 83 #define imx_clk_pllv3(type, name, parent_name, base, div_mask) \ argument 86 #define imx_clk_pfd(name, parent_name, reg, idx) \ argument 87 to_clk(imx_clk_hw_pfd(name, parent_name, reg, idx)) 198 #define imx_clk_hw_pll14xx(name, parent_name, base, pll_clk) \ argument 202 const char *parent_name, void __iomem *base, 235 const char *parent_name, void __iomem *base, u32 div_mask); 255 const char *parent_name, void __iomem *base); 258 const char *parent_name, unsigned long flags, [all …]
|
/linux/drivers/clk/mxs/ |
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/ |
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/ |
A D | clk-nomadik.c | 258 const char *parent_name, u32 id) in pll_clk_register() argument 275 init.parent_names = (parent_name ? &parent_name : NULL); in pll_clk_register() 276 init.num_parents = (parent_name ? 1 : 0); in pll_clk_register() 350 const char *parent_name, u8 id) in src_clk_register() argument 367 init.parent_names = (parent_name ? &parent_name : NULL); in src_clk_register() 368 init.num_parents = (parent_name ? 1 : 0); in src_clk_register() 503 const char *parent_name; in of_nomadik_pll_setup() local 514 parent_name = of_clk_get_parent_name(np, 0); in of_nomadik_pll_setup() 526 const char *parent_name; in of_nomadik_hclk_setup() local 531 parent_name = of_clk_get_parent_name(np, 0); in of_nomadik_hclk_setup() [all …]
|
A D | clk-moxart.c | 26 const char *parent_name; in moxart_of_pll_clk_init() local 29 parent_name = of_clk_get_parent_name(node, 0); in moxart_of_pll_clk_init() 46 hw = clk_hw_register_fixed_factor(NULL, name, parent_name, 0, mul, 1); in moxart_of_pll_clk_init() 66 const char *parent_name; in moxart_of_apb_clk_init() local 69 parent_name = of_clk_get_parent_name(node, 0); in moxart_of_apb_clk_init() 90 hw = clk_hw_register_fixed_factor(NULL, name, parent_name, 0, 1, div); in moxart_of_apb_clk_init()
|
A D | clk-fixed-factor.c | 81 const char *name, const char *parent_name, int index, in __clk_hw_register_fixed_factor() argument 111 if (parent_name) in __clk_hw_register_fixed_factor() 112 init.parent_names = &parent_name; in __clk_hw_register_fixed_factor() 135 const char *name, const char *parent_name, unsigned long flags, in clk_hw_register_fixed_factor() argument 138 return __clk_hw_register_fixed_factor(dev, NULL, name, parent_name, -1, in clk_hw_register_fixed_factor() 144 const char *parent_name, unsigned long flags, in clk_register_fixed_factor() argument 149 hw = clk_hw_register_fixed_factor(dev, name, parent_name, flags, mult, in clk_register_fixed_factor() 182 const char *name, const char *parent_name, unsigned long flags, in devm_clk_hw_register_fixed_factor() argument 185 return __clk_hw_register_fixed_factor(dev, NULL, name, parent_name, -1, in devm_clk_hw_register_fixed_factor()
|
/linux/drivers/clk/tegra/ |
A D | clk.h | 135 const char *parent_name, void __iomem *reg, 439 const char *parent_name, void __iomem *clk_base, 445 const char *parent_name, 451 const char *parent_name, 457 const char *parent_name, void __iomem *clk_base, 463 const char *parent_name, void __iomem *clk_base, 485 const char *parent_name, 491 const char *parent_name, 519 const char *parent_name, void __iomem *reg, u8 enb_bit_idx, 584 const char *parent_name, u8 gate_flags, void __iomem *clk_base, [all …]
|
/linux/drivers/clk/keystone/ |
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/mmp/ |
A D | clk.h | 38 const char *parent_name, unsigned long flags, 124 const char *parent_name, unsigned long flags, 130 const char *parent_name, void __iomem *base, 133 const char *parent_name, void __iomem *base, u32 enable_mask, 145 const char *parent_name; member 156 const char *parent_name; member 168 const char *parent_name; member 182 const char *parent_name; member 198 const char * const *parent_name; member 214 const char *parent_name; member
|
/linux/drivers/clk/ti/ |
A D | interface.c | 36 const char *parent_name, in _register_interface() argument 58 init.parent_names = &parent_name; in _register_interface() 72 const char *parent_name; in _of_ti_interface_clk_setup() local 83 parent_name = of_clk_get_parent_name(node, 0); in _of_ti_interface_clk_setup() 84 if (!parent_name) { in _of_ti_interface_clk_setup() 89 clk = _register_interface(NULL, node->name, parent_name, ®, in _of_ti_interface_clk_setup()
|
/linux/include/linux/ |
A D | clk-provider.h | 350 const char *parent_name, const struct clk_hw *parent_hw, 355 const char *parent_name, unsigned long flags, 488 const char *parent_name, const struct clk_hw *parent_hw, 494 const char *parent_name, unsigned long flags, 644 const char *parent_name, const struct clk_hw *parent_hw, 650 const char *parent_name, const struct clk_hw *parent_hw, 655 const char *parent_name, unsigned long flags, 973 const char *parent_name, unsigned long flags, 977 const char *name, const char *parent_name, unsigned long flags, 981 const char *name, const char *parent_name, unsigned long flags, [all …]
|
/linux/drivers/clk/hisilicon/ |
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,
|