/linux/drivers/clk/at91/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | sam9x60.c | 190 const char *parent_names[6]; in sam9x60_pmc_setup() local 234 parent_names[0] = "main_rc_osc"; in sam9x60_pmc_setup() 235 parent_names[1] = "main_osc"; in sam9x60_pmc_setup() 236 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in sam9x60_pmc_setup() 286 parent_names[0] = md_slck_name; in sam9x60_pmc_setup() 287 parent_names[1] = "mainck"; in sam9x60_pmc_setup() 288 parent_names[2] = "pllack_divck"; in sam9x60_pmc_setup() 290 parent_names, NULL, &sam9x60_master_layout, in sam9x60_pmc_setup() 304 parent_names[0] = "pllack_divck"; in sam9x60_pmc_setup() 305 parent_names[1] = "upllck_divck"; in sam9x60_pmc_setup() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | sam9x7.c | 715 const char *parent_names[9]; in sam9x7_pmc_setup() local 767 parent_names[0] = "main_rc_osc"; in sam9x7_pmc_setup() 768 parent_names[1] = "main_osc"; in sam9x7_pmc_setup() 769 hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); in sam9x7_pmc_setup() 824 parent_names[0] = md_slck_name; in sam9x7_pmc_setup() 825 parent_names[1] = "mainck"; in sam9x7_pmc_setup() 826 parent_names[2] = "plla_divpmcck"; in sam9x7_pmc_setup() 827 parent_names[3] = "upll_divpmcck"; in sam9x7_pmc_setup() 829 parent_names, NULL, &sam9x7_master_layout, in sam9x7_pmc_setup() 843 parent_names[0] = "plla_divpmcck"; in sam9x7_pmc_setup() [all …]
|
H A 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 …]
|
H A D | pmc.h | 164 const char *name, const char **parent_names, 175 const char * const *parent_names, 192 const char **parent_names, 197 int num_parents, const char **parent_names, 205 const char *parent_names, struct clk_hw *parent_hw, 213 const char **parent_names, 256 const char **parent_names, struct clk_hw **parent_hws, 264 const char **parent_names, 269 const char **parent_names, u8 num_parents); 278 const char **parent_names, u8 num_parents); [all …]
|
H A 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 …]
|
H A 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 …]
|
/linux/drivers/clk/ |
H A 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 …]
|
/linux/drivers/clk/x86/ |
H A D | clk-pmc-atom.c | 151 const char **parent_names, in plt_clk_register() argument 165 init.parent_names = parent_names; in plt_clk_register() 240 static void plt_clk_free_parent_names_loop(const char **parent_names, in plt_clk_free_parent_names_loop() argument 244 kfree_const(parent_names[i]); in plt_clk_free_parent_names_loop() 245 kfree(parent_names); in plt_clk_free_parent_names_loop() 259 const char **parent_names; in plt_clk_register_parents() local 273 parent_names = kcalloc(nparents, sizeof(*parent_names), in plt_clk_register_parents() 275 if (!parent_names) in plt_clk_register_parents() 287 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents() 291 return parent_names; in plt_clk_register_parents() [all …]
|
/linux/drivers/clk/berlin/ |
H A 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 …]
|
/linux/drivers/clk/imx/ |
H A D | clk-imx95-blk-ctl.c | 42 const char * const *parent_names; member 63 .parent_names = (const char *[]){ "vpu", }, 73 .parent_names = (const char *[]){ "vpujpeg", }, 83 .parent_names = (const char *[]){ "vpujpeg", }, 103 .parent_names = (const char *[]){ "camisi", }, 113 .parent_names = (const char *[]){ "camisi", }, 123 .parent_names = (const char *[]){ "camaxi", }, 133 .parent_names = (const char *[]){ "camisi", }, 143 .parent_names = (const char *[]){ "camisi", }, 162 .parent_names = (const char *[]){ "ldbpll", }, [all …]
|
H A 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 …]
|
/linux/drivers/clk/ti/ |
H A 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 …]
|
H A 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()
|
/linux/drivers/clk/renesas/ |
H A 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 …]
|
/linux/drivers/clk/rockchip/ |
H A 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 …]
|
H A D | clk.h | 451 const char *const *parent_names; member 471 .parent_names = _pnames, \ 484 const char *name, const char *const *parent_names, 529 const char *const *parent_names, u8 num_parents, 535 const char *const *parent_names, u8 num_parents, 545 const char *const *parent_names, 555 const char *const *parent_names, u8 num_parents, 560 const char *const *parent_names, u8 num_parents, 584 const char *const *parent_names; member 609 .parent_names = pnames, \ [all …]
|
/linux/drivers/clk/ux500/ |
H A 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()
|
/linux/sound/soc/codecs/ |
H A D | tlv320aic32x4-clk.c | 41 const char * const *parent_names; member 401 .parent_names = 409 .parent_names = 417 .parent_names = (const char * []) { "codec_clkin" }, 424 .parent_names = (const char * []) { "ndac" }, 431 .parent_names = (const char * []) { "codec_clkin" }, 438 .parent_names = (const char * []) { "nadc" }, 445 .parent_names = 462 init.parent_names = desc->parent_names; in aic32x4_register_clk() 489 aic32x4_clkdesc_array[0].parent_names = in aic32x4_register_clocks() [all …]
|