Lines Matching refs:init
912 struct clk_init_data init; in vc5_probe() local
962 memset(&init, 0, sizeof(init)); in vc5_probe()
966 parent_names[init.num_parents++] = __clk_get_name(vc5->pin_xin); in vc5_probe()
974 parent_names[init.num_parents++] = __clk_get_name(vc5->pin_xin); in vc5_probe()
979 parent_names[init.num_parents++] = in vc5_probe()
983 if (!init.num_parents) in vc5_probe()
994 init.name = kasprintf(GFP_KERNEL, "%pOFn.mux", client->dev.of_node); in vc5_probe()
995 if (!init.name) { in vc5_probe()
1000 init.ops = &vc5_mux_ops; in vc5_probe()
1001 init.flags = 0; in vc5_probe()
1002 init.parent_names = parent_names; in vc5_probe()
1003 vc5->clk_mux.init = &init; in vc5_probe()
1007 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1011 memset(&init, 0, sizeof(init)); in vc5_probe()
1012 init.name = kasprintf(GFP_KERNEL, "%pOFn.dbl", in vc5_probe()
1014 if (!init.name) { in vc5_probe()
1018 init.ops = &vc5_dbl_ops; in vc5_probe()
1019 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1020 init.parent_names = parent_names; in vc5_probe()
1022 init.num_parents = 1; in vc5_probe()
1023 vc5->clk_mul.init = &init; in vc5_probe()
1027 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1031 memset(&init, 0, sizeof(init)); in vc5_probe()
1032 init.name = kasprintf(GFP_KERNEL, "%pOFn.pfd", client->dev.of_node); in vc5_probe()
1033 if (!init.name) { in vc5_probe()
1037 init.ops = &vc5_pfd_ops; in vc5_probe()
1038 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1039 init.parent_names = parent_names; in vc5_probe()
1044 init.num_parents = 1; in vc5_probe()
1045 vc5->clk_pfd.init = &init; in vc5_probe()
1049 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1052 memset(&init, 0, sizeof(init)); in vc5_probe()
1053 init.name = kasprintf(GFP_KERNEL, "%pOFn.pll", client->dev.of_node); in vc5_probe()
1054 if (!init.name) { in vc5_probe()
1058 init.ops = &vc5_pll_ops; in vc5_probe()
1059 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1060 init.parent_names = parent_names; in vc5_probe()
1062 init.num_parents = 1; in vc5_probe()
1065 vc5->clk_pll.hw.init = &init; in vc5_probe()
1069 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1074 memset(&init, 0, sizeof(init)); in vc5_probe()
1075 init.name = kasprintf(GFP_KERNEL, "%pOFn.fod%d", in vc5_probe()
1077 if (!init.name) { in vc5_probe()
1081 init.ops = &vc5_fod_ops; in vc5_probe()
1082 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1083 init.parent_names = parent_names; in vc5_probe()
1085 init.num_parents = 1; in vc5_probe()
1088 vc5->clk_fod[n].hw.init = &init; in vc5_probe()
1092 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1096 memset(&init, 0, sizeof(init)); in vc5_probe()
1097 init.name = kasprintf(GFP_KERNEL, "%pOFn.out0_sel_i2cb", in vc5_probe()
1099 if (!init.name) { in vc5_probe()
1103 init.ops = &vc5_clk_out_ops; in vc5_probe()
1104 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1105 init.parent_names = parent_names; in vc5_probe()
1107 init.num_parents = 1; in vc5_probe()
1110 vc5->clk_out[0].hw.init = &init; in vc5_probe()
1114 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1126 memset(&init, 0, sizeof(init)); in vc5_probe()
1127 init.name = kasprintf(GFP_KERNEL, "%pOFn.out%d", in vc5_probe()
1129 if (!init.name) { in vc5_probe()
1133 init.ops = &vc5_clk_out_ops; in vc5_probe()
1134 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1135 init.parent_names = parent_names; in vc5_probe()
1136 init.num_parents = 2; in vc5_probe()
1139 vc5->clk_out[n].hw.init = &init; in vc5_probe()
1143 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1162 "unable to register %s\n", init.name); in vc5_probe()
1163 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()