Lines Matching refs:init

947 	struct clk_init_data init;  in vc5_probe()  local
1000 memset(&init, 0, sizeof(init)); in vc5_probe()
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()
1021 if (!init.num_parents) in vc5_probe()
1032 init.name = kasprintf(GFP_KERNEL, "%pOFn.mux", client->dev.of_node); in vc5_probe()
1033 if (!init.name) { in vc5_probe()
1038 init.ops = &vc5_mux_ops; in vc5_probe()
1039 init.flags = 0; in vc5_probe()
1040 init.parent_names = parent_names; in vc5_probe()
1041 vc5->clk_mux.init = &init; in vc5_probe()
1045 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1049 memset(&init, 0, sizeof(init)); in vc5_probe()
1050 init.name = kasprintf(GFP_KERNEL, "%pOFn.dbl", in vc5_probe()
1052 if (!init.name) { in vc5_probe()
1056 init.ops = &vc5_dbl_ops; in vc5_probe()
1057 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1058 init.parent_names = parent_names; in vc5_probe()
1060 init.num_parents = 1; in vc5_probe()
1061 vc5->clk_mul.init = &init; in vc5_probe()
1065 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1069 memset(&init, 0, sizeof(init)); in vc5_probe()
1070 init.name = kasprintf(GFP_KERNEL, "%pOFn.pfd", client->dev.of_node); in vc5_probe()
1071 if (!init.name) { in vc5_probe()
1075 init.ops = &vc5_pfd_ops; in vc5_probe()
1076 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1077 init.parent_names = parent_names; in vc5_probe()
1082 init.num_parents = 1; in vc5_probe()
1083 vc5->clk_pfd.init = &init; in vc5_probe()
1087 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1090 memset(&init, 0, sizeof(init)); in vc5_probe()
1091 init.name = kasprintf(GFP_KERNEL, "%pOFn.pll", client->dev.of_node); in vc5_probe()
1092 if (!init.name) { in vc5_probe()
1096 init.ops = &vc5_pll_ops; in vc5_probe()
1097 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1098 init.parent_names = parent_names; in vc5_probe()
1100 init.num_parents = 1; in vc5_probe()
1103 vc5->clk_pll.hw.init = &init; in vc5_probe()
1107 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1112 memset(&init, 0, sizeof(init)); in vc5_probe()
1113 init.name = kasprintf(GFP_KERNEL, "%pOFn.fod%d", in vc5_probe()
1115 if (!init.name) { in vc5_probe()
1119 init.ops = &vc5_fod_ops; in vc5_probe()
1120 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1121 init.parent_names = parent_names; in vc5_probe()
1123 init.num_parents = 1; in vc5_probe()
1126 vc5->clk_fod[n].hw.init = &init; in vc5_probe()
1130 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1134 memset(&init, 0, sizeof(init)); in vc5_probe()
1135 init.name = kasprintf(GFP_KERNEL, "%pOFn.out0_sel_i2cb", in vc5_probe()
1137 if (!init.name) { in vc5_probe()
1141 init.ops = &vc5_clk_out_ops; in vc5_probe()
1142 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1143 init.parent_names = parent_names; in vc5_probe()
1145 init.num_parents = 1; in vc5_probe()
1148 vc5->clk_out[0].hw.init = &init; in vc5_probe()
1152 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1164 memset(&init, 0, sizeof(init)); in vc5_probe()
1165 init.name = kasprintf(GFP_KERNEL, "%pOFn.out%d", in vc5_probe()
1167 if (!init.name) { in vc5_probe()
1171 init.ops = &vc5_clk_out_ops; in vc5_probe()
1172 init.flags = CLK_SET_RATE_PARENT; in vc5_probe()
1173 init.parent_names = parent_names; in vc5_probe()
1174 init.num_parents = 2; in vc5_probe()
1177 vc5->clk_out[n].hw.init = &init; in vc5_probe()
1181 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()
1200 "unable to register %s\n", init.name); in vc5_probe()
1201 kfree(init.name); /* clock framework made a copy of the name */ in vc5_probe()