Lines Matching defs:parent
70 * CCF assumes that neither the parent nor its rate will change during
71 * ->set_rate(), so the parent rate passed in here was cached from the
72 * parent before the ->set_rate() call.
75 * the parent and/or parent rate have changed as part of the EMC rate
76 * change sequence. Fix this by overriding the parent clock with what
110 struct clk_hw *parent = clk_hw_get_parent_by_index(&emc->hw, index);
111 const char *name = clk_hw_get_name(parent);
125 struct clk_hw *old, *new, *parent;
184 parent = new;
187 parent = old;
193 dev_err(dev, "failed to get parent clock for index %u: %d\n",
198 /* set the new parent clock to the required rate */
208 /* enable the new parent clock */
209 if (parent != old) {
212 dev_err(dev, "failed to enable parent clock %pC: %d\n",
218 /* update the EMC source configuration to reflect the new parent */
223 * Finally, switch the EMC programming with both old and new parent
233 * longer need the new parent to be enabled.
235 if (parent != old)
241 /* reparent to new parent clock and disable the old parent clock */
242 if (parent != old) {
247 "failed to get parent clock for index %u: %d\n",
252 clk_hw_reparent(hw, parent);
309 struct clk_hw *parent;
334 parent = clk_hw_get_parent_by_index(hw, src);
335 config->parent = src;
342 config->parent_rate = clk_hw_get_rate(parent);