Lines Matching defs:parent
20 struct devfreq *parent_devfreq = (struct devfreq *)p_data->parent;
36 * If the parent and passive devfreq device uses the OPP table,
41 * - parent devfreq device uses the governors except for passive.
45 * from the governor of parent devfreq device, the passive governor
46 * need to get the index of new frequency on OPP table of parent
56 * list of parent device. Because in this case, *freq is temporary
59 opp = devfreq_recommended_opp(parent_devfreq->dev.parent, freq, 0);
69 * of parent device.
80 /* Get the suitable frequency by using index of parent device. */
108 ret = devfreq->profile->target(devfreq->dev.parent, &freq, 0);
131 struct devfreq *parent = (struct devfreq *)data->parent;
137 if (parent->previous_freq > freq)
141 if (parent->previous_freq < freq)
154 struct devfreq *parent = (struct devfreq *)p_data->parent;
158 if (!parent)
167 ret = devfreq_register_notifier(parent, nb,
171 WARN_ON(devfreq_unregister_notifier(parent, nb,