/drivers/clk/at91/ |
D | sama5d2.c | 170 const char *parent_names[6]; in sama5d2_pmc_setup() local 210 parent_names[0] = "main_rc_osc"; in sama5d2_pmc_setup() 211 parent_names[1] = "main_osc"; in sama5d2_pmc_setup() 212 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in sama5d2_pmc_setup() 258 parent_names[0] = slck_name; in sama5d2_pmc_setup() 259 parent_names[1] = "mainck"; in sama5d2_pmc_setup() 260 parent_names[2] = "plladivck"; in sama5d2_pmc_setup() 261 parent_names[3] = "utmick"; in sama5d2_pmc_setup() 263 parent_names, NULL, in sama5d2_pmc_setup() 285 parent_names[0] = "plladivck"; in sama5d2_pmc_setup() [all …]
|
D | sama5d4.c | 134 const char *parent_names[5]; in sama5d4_pmc_setup() local 173 parent_names[0] = "main_rc_osc"; in sama5d4_pmc_setup() 174 parent_names[1] = "main_osc"; in sama5d4_pmc_setup() 175 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in sama5d4_pmc_setup() 196 parent_names[0] = slck_name; in sama5d4_pmc_setup() 197 parent_names[1] = "mainck"; in sama5d4_pmc_setup() 198 parent_names[2] = "plladivck"; in sama5d4_pmc_setup() 199 parent_names[3] = "utmick"; in sama5d4_pmc_setup() 201 parent_names, NULL, in sama5d4_pmc_setup() 223 parent_names[0] = "plladivck"; in sama5d4_pmc_setup() [all …]
|
D | sama5d3.c | 119 const char *parent_names[5]; in sama5d3_pmc_setup() local 158 parent_names[0] = "main_rc_osc"; in sama5d3_pmc_setup() 159 parent_names[1] = "main_osc"; in sama5d3_pmc_setup() 160 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in sama5d3_pmc_setup() 181 parent_names[0] = slck_name; in sama5d3_pmc_setup() 182 parent_names[1] = "mainck"; in sama5d3_pmc_setup() 183 parent_names[2] = "plladivck"; in sama5d3_pmc_setup() 184 parent_names[3] = "utmick"; in sama5d3_pmc_setup() 186 parent_names, NULL, in sama5d3_pmc_setup() 202 parent_names[0] = "plladivck"; in sama5d3_pmc_setup() [all …]
|
D | sam9x60.c | 183 const char *parent_names[6]; in sam9x60_pmc_setup() local 227 parent_names[0] = "main_rc_osc"; in sam9x60_pmc_setup() 228 parent_names[1] = "main_osc"; in sam9x60_pmc_setup() 229 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in sam9x60_pmc_setup() 279 parent_names[0] = md_slck_name; in sam9x60_pmc_setup() 280 parent_names[1] = "mainck"; in sam9x60_pmc_setup() 281 parent_names[2] = "pllack_divck"; in sam9x60_pmc_setup() 283 parent_names, NULL, &sam9x60_master_layout, in sam9x60_pmc_setup() 297 parent_names[0] = "pllack_divck"; in sam9x60_pmc_setup() 298 parent_names[1] = "upllck_divck"; in sam9x60_pmc_setup() [all …]
|
D | at91sam9x5.c | 139 const char *parent_names[6]; in at91sam9x5_pmc_setup() local 177 parent_names[0] = "main_rc_osc"; in at91sam9x5_pmc_setup() 178 parent_names[1] = "main_osc"; in at91sam9x5_pmc_setup() 179 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in at91sam9x5_pmc_setup() 202 parent_names[0] = slck_name; in at91sam9x5_pmc_setup() 203 parent_names[1] = "mainck"; in at91sam9x5_pmc_setup() 204 parent_names[2] = "plladivck"; in at91sam9x5_pmc_setup() 205 parent_names[3] = "utmick"; in at91sam9x5_pmc_setup() 207 parent_names, NULL, in at91sam9x5_pmc_setup() 223 parent_names[0] = "plladivck"; in at91sam9x5_pmc_setup() [all …]
|
D | at91sam9g45.c | 97 const char *parent_names[6]; in at91sam9g45_pmc_setup() local 154 parent_names[0] = slck_name; in at91sam9g45_pmc_setup() 155 parent_names[1] = "mainck"; in at91sam9g45_pmc_setup() 156 parent_names[2] = "plladivck"; in at91sam9g45_pmc_setup() 157 parent_names[3] = "utmick"; in at91sam9g45_pmc_setup() 159 parent_names, NULL, in at91sam9g45_pmc_setup() 177 parent_names[0] = "plladivck"; in at91sam9g45_pmc_setup() 178 parent_names[1] = "utmick"; in at91sam9g45_pmc_setup() 179 hw = at91sam9x5_clk_register_usb(regmap, "usbck", parent_names, 2); in at91sam9g45_pmc_setup() 183 parent_names[0] = slck_name; in at91sam9g45_pmc_setup() [all …]
|
D | at91sam9n12.c | 117 const char *parent_names[6]; in at91sam9n12_pmc_setup() local 155 parent_names[0] = "main_rc_osc"; in at91sam9n12_pmc_setup() 156 parent_names[1] = "main_osc"; in at91sam9n12_pmc_setup() 157 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in at91sam9n12_pmc_setup() 181 parent_names[0] = slck_name; in at91sam9n12_pmc_setup() 182 parent_names[1] = "mainck"; in at91sam9n12_pmc_setup() 183 parent_names[2] = "plladivck"; in at91sam9n12_pmc_setup() 184 parent_names[3] = "pllbck"; in at91sam9n12_pmc_setup() 186 parent_names, NULL, in at91sam9n12_pmc_setup() 208 parent_names[0] = slck_name; in at91sam9n12_pmc_setup() [all …]
|
D | at91sam9rl.c | 72 const char *parent_names[6]; in at91sam9rl_pmc_setup() local 118 parent_names[0] = slck_name; in at91sam9rl_pmc_setup() 119 parent_names[1] = "mainck"; in at91sam9rl_pmc_setup() 120 parent_names[2] = "pllack"; in at91sam9rl_pmc_setup() 121 parent_names[3] = "utmick"; in at91sam9rl_pmc_setup() 123 parent_names, NULL, in at91sam9rl_pmc_setup() 140 parent_names[0] = slck_name; in at91sam9rl_pmc_setup() 141 parent_names[1] = "mainck"; in at91sam9rl_pmc_setup() 142 parent_names[2] = "pllack"; in at91sam9rl_pmc_setup() 143 parent_names[3] = "utmick"; in at91sam9rl_pmc_setup() [all …]
|
D | at91rm9200.c | 82 const char *parent_names[6]; in at91rm9200_pmc_setup() local 138 parent_names[0] = slowxtal_name; in at91rm9200_pmc_setup() 139 parent_names[1] = "mainck"; in at91rm9200_pmc_setup() 140 parent_names[2] = "pllack"; in at91rm9200_pmc_setup() 141 parent_names[3] = "pllbck"; in at91rm9200_pmc_setup() 143 parent_names, NULL, in at91rm9200_pmc_setup() 164 parent_names[0] = slowxtal_name; in at91rm9200_pmc_setup() 165 parent_names[1] = "mainck"; in at91rm9200_pmc_setup() 166 parent_names[2] = "pllack"; in at91rm9200_pmc_setup() 167 parent_names[3] = "pllbck"; in at91rm9200_pmc_setup() [all …]
|
D | pmc.h | 146 const char *name, const char **parent_names, 157 const char * const *parent_names, 174 const char **parent_names, 179 int num_parents, const char **parent_names, 187 const char *parent_names, struct clk_hw *parent_hw, 195 const char **parent_names, 238 const char **parent_names, struct clk_hw **parent_hws, 246 const char **parent_names, 251 const char **parent_names, u8 num_parents); 260 const char **parent_names, u8 num_parents); [all …]
|
D | dt-compat.c | 131 const char *parent_names[GENERATED_SOURCE_MAX]; in of_sama5d2_clk_generated_setup() local 140 of_clk_parent_fill(np, parent_names, num_parents); in of_sama5d2_clk_generated_setup() 174 parent_names, NULL, NULL, in of_sama5d2_clk_generated_setup() 221 const char *parent_names[2]; in of_sama5d2_clk_i2s_mux_setup() local 237 ret = of_clk_parent_fill(i2s_mux_np, parent_names, 2); in of_sama5d2_clk_i2s_mux_setup() 242 parent_names, 2, bus_id); in of_sama5d2_clk_i2s_mux_setup() 338 const char *parent_names[2]; in of_at91sam9x5_clk_main_setup() local 348 of_clk_parent_fill(np, parent_names, num_parents); in of_at91sam9x5_clk_main_setup() 357 hw = at91_clk_register_sam9x5_main(regmap, name, parent_names, NULL, in of_at91sam9x5_clk_main_setup() 398 const char *parent_names[MASTER_SOURCE_MAX]; in of_at91_clk_master_setup() local [all …]
|
D | at91sam9260.c | 335 const char *parent_names[6]; in at91sam926x_pmc_setup() local 385 parent_names[0] = "slow_rc_osc"; in at91sam926x_pmc_setup() 386 parent_names[1] = "slow_xtal"; in at91sam926x_pmc_setup() 388 parent_names, 2); in at91sam926x_pmc_setup() 414 parent_names[0] = slck_name; in at91sam926x_pmc_setup() 415 parent_names[1] = "mainck"; in at91sam926x_pmc_setup() 416 parent_names[2] = "pllack"; in at91sam926x_pmc_setup() 417 parent_names[3] = "pllbck"; in at91sam926x_pmc_setup() 419 parent_names, NULL, in at91sam926x_pmc_setup() 441 parent_names[0] = slck_name; in at91sam926x_pmc_setup() [all …]
|
/drivers/clk/ |
D | clk-axm5516.c | 145 .parent_names = (const char *[]){ 157 .parent_names = (const char *[]){ 169 .parent_names = (const char *[]){ 181 .parent_names = (const char *[]){ 193 .parent_names = (const char *[]){ 209 .parent_names = (const char *[]){ 223 .parent_names = (const char *[]){ 237 .parent_names = (const char *[]){ 251 .parent_names = (const char *[]){ 265 .parent_names = (const char *[]){ [all …]
|
D | clk-versaclock5.c | 948 const char *parent_names[2]; in vc5_probe() local 1004 parent_names[init.num_parents++] = __clk_get_name(vc5->pin_xin); in vc5_probe() 1012 parent_names[init.num_parents++] = __clk_get_name(vc5->pin_xin); in vc5_probe() 1017 parent_names[init.num_parents++] = in vc5_probe() 1040 init.parent_names = parent_names; in vc5_probe() 1058 init.parent_names = parent_names; in vc5_probe() 1059 parent_names[0] = clk_hw_get_name(&vc5->clk_mux); in vc5_probe() 1077 init.parent_names = parent_names; in vc5_probe() 1079 parent_names[0] = clk_hw_get_name(&vc5->clk_mul); in vc5_probe() 1081 parent_names[0] = clk_hw_get_name(&vc5->clk_mux); in vc5_probe() [all …]
|
/drivers/clk/x86/ |
D | clk-pmc-atom.c | 162 const char **parent_names, in plt_clk_register() argument 176 init.parent_names = parent_names; in plt_clk_register() 251 static void plt_clk_free_parent_names_loop(const char **parent_names, in plt_clk_free_parent_names_loop() argument 255 kfree_const(parent_names[i]); in plt_clk_free_parent_names_loop() 256 kfree(parent_names); in plt_clk_free_parent_names_loop() 270 const char **parent_names; in plt_clk_register_parents() local 284 parent_names = kcalloc(nparents, sizeof(*parent_names), in plt_clk_register_parents() 286 if (!parent_names) in plt_clk_register_parents() 298 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents() 302 return parent_names; in plt_clk_register_parents() [all …]
|
/drivers/clk/berlin/ |
D | bg2.c | 495 const char *parent_names[9]; in berlin2_clock_setup() local 576 parent_names[0] = clk_names[SYSPLL]; in berlin2_clock_setup() 577 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup() 578 hw = clk_hw_register_mux(NULL, "syspll_byp", parent_names, 2, in berlin2_clock_setup() 584 parent_names[0] = clk_names[MEMPLL]; in berlin2_clock_setup() 585 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup() 586 hw = clk_hw_register_mux(NULL, "mempll_byp", parent_names, 2, in berlin2_clock_setup() 592 parent_names[0] = clk_names[CPUPLL]; in berlin2_clock_setup() 593 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup() 594 hw = clk_hw_register_mux(NULL, "cpupll_byp", parent_names, 2, in berlin2_clock_setup() [all …]
|
/drivers/clk/ti/ |
D | composite.c | 55 const char **parent_names; member 119 const char **parent_names = NULL; in _register_composite() local 158 parent_names = comp->parent_names; in _register_composite() 170 parent_names, num_parents, in _register_composite() 193 kfree(cclk->comp_clks[i]->parent_names); in _register_composite() 240 const char **parent_names; in ti_clk_add_component() local 250 parent_names = kcalloc(num_parents, sizeof(char *), GFP_KERNEL); in ti_clk_add_component() 251 if (!parent_names) in ti_clk_add_component() 254 of_clk_parent_fill(node, parent_names, num_parents); in ti_clk_add_component() 258 kfree(parent_names); in ti_clk_add_component() [all …]
|
D | mux.c | 122 const char * const *parent_names, in _register_mux() argument 139 init.parent_names = parent_names; in _register_mux() 170 const char **parent_names; in of_mux_clk_setup() local 183 parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL); in of_mux_clk_setup() 184 if (!parent_names) in of_mux_clk_setup() 187 of_clk_parent_fill(node, parent_names, num_parents); in of_mux_clk_setup() 210 clk = _register_mux(node, name, parent_names, num_parents, in of_mux_clk_setup() 218 kfree(parent_names); in of_mux_clk_setup()
|
D | apll.c | 166 kfree(init->parent_names); in omap_clk_register_apll() 173 kfree(init->parent_names); in omap_clk_register_apll() 183 const char **parent_names = NULL; in of_dra7_apll_setup() local 204 parent_names = kcalloc(init->num_parents, sizeof(char *), GFP_KERNEL); in of_dra7_apll_setup() 205 if (!parent_names) in of_dra7_apll_setup() 208 of_clk_parent_fill(node, parent_names, init->num_parents); in of_dra7_apll_setup() 210 init->parent_names = parent_names; in of_dra7_apll_setup() 225 kfree(parent_names); in of_dra7_apll_setup() 371 init->parent_names = &parent_name; in of_omap2_apll_setup()
|
/drivers/clk/imx/ |
D | clk.h | 241 const char * const *parent_names, 315 const char * const *parent_names, int num_parents); 318 const char * const *parent_names, 324 const char * const *parent_names, 419 const char * const *parent_names, 425 #define _imx8m_clk_hw_composite(name, parent_names, reg, composite_flags, flags) \ argument 426 __imx8m_clk_hw_composite(name, parent_names, \ 427 ARRAY_SIZE(parent_names), reg, composite_flags, flags) 429 #define imx8m_clk_hw_composite(name, parent_names, reg) \ argument 430 _imx8m_clk_hw_composite(name, parent_names, reg, \ [all …]
|
D | clk-composite-7ulp.c | 69 const char * const *parent_names, in imx_ulp_clk_hw_composite() argument 136 hw = clk_hw_register_composite(NULL, name, parent_names, num_parents, in imx_ulp_clk_hw_composite() 150 struct clk_hw *imx7ulp_clk_hw_composite(const char *name, const char * const *parent_names, in imx7ulp_clk_hw_composite() argument 154 return imx_ulp_clk_hw_composite(name, parent_names, num_parents, mux_present, rate_present, in imx7ulp_clk_hw_composite() 158 struct clk_hw *imx8ulp_clk_hw_composite(const char *name, const char * const *parent_names, in imx8ulp_clk_hw_composite() argument 162 return imx_ulp_clk_hw_composite(name, parent_names, num_parents, mux_present, rate_present, in imx8ulp_clk_hw_composite()
|
/drivers/clk/rockchip/ |
D | clk.h | 398 const char *const *parent_names; member 418 .parent_names = _pnames, \ 431 const char *name, const char *const *parent_names, 476 const char *const *parent_names, u8 num_parents, 482 const char *const *parent_names, u8 num_parents, 492 const char *const *parent_names, 502 const char *const *parent_names, u8 num_parents, 507 const char *const *parent_names, u8 num_parents, 531 const char *const *parent_names; member 556 .parent_names = pnames, \ [all …]
|
D | clk.c | 39 const char *const *parent_names, u8 num_parents, in rockchip_clk_register_branch() argument 106 hw = clk_hw_register_composite(NULL, name, parent_names, num_parents, in rockchip_clk_register_branch() 208 const char *const *parent_names, u8 num_parents, in rockchip_clk_register_frac_branch() argument 253 hw = clk_hw_register_composite(NULL, name, parent_names, num_parents, in rockchip_clk_register_frac_branch() 269 frac->mux_frac_idx = match_string(child->parent_names, in rockchip_clk_register_frac_branch() 286 init.parent_names = child->parent_names; in rockchip_clk_register_frac_branch() 315 const char *const *parent_names, u8 num_parents, in rockchip_clk_register_factor_branch() argument 327 parent_names[0], flags, mult, in rockchip_clk_register_factor_branch() 349 hw = clk_hw_register_composite(NULL, name, parent_names, num_parents, in rockchip_clk_register_factor_branch() 416 list->parent_names, list->num_parents, in rockchip_clk_register_plls() [all …]
|
/drivers/clk/renesas/ |
D | clk-div6.c | 244 const char **parent_names, in cpg_div6_register() argument 288 if (parent_names[i]) { in cpg_div6_register() 289 parent_names[valid_parents] = parent_names[i]; in cpg_div6_register() 298 init.parent_names = parent_names; in cpg_div6_register() 322 const char **parent_names; in cpg_div6_clock_init() local 335 parent_names = kmalloc_array(num_parents, sizeof(*parent_names), in cpg_div6_clock_init() 337 if (!parent_names) in cpg_div6_clock_init() 351 parent_names[i] = of_clk_get_parent_name(np, i); in cpg_div6_clock_init() 353 clk = cpg_div6_register(clk_name, num_parents, parent_names, reg, NULL); in cpg_div6_clock_init() 362 kfree(parent_names); in cpg_div6_clock_init() [all …]
|
/drivers/clk/ux500/ |
D | clk-sysctrl.c | 120 const char **parent_names, in clk_reg_sysctrl() argument 167 clk_sysctrl_init.parent_names = parent_names; in clk_reg_sysctrl() 187 const char **parent_names = (parent_name ? &parent_name : NULL); in clk_reg_sysctrl_gate() local 190 return clk_reg_sysctrl(dev, name, parent_names, num_parents, in clk_reg_sysctrl_gate() 205 const char **parent_names = (parent_name ? &parent_name : NULL); in clk_reg_sysctrl_gate_fixed_rate() local 208 return clk_reg_sysctrl(dev, name, parent_names, num_parents, in clk_reg_sysctrl_gate_fixed_rate() 216 const char **parent_names, in clk_reg_sysctrl_set_parent() argument 223 return clk_reg_sysctrl(dev, name, parent_names, num_parents, in clk_reg_sysctrl_set_parent()
|