Lines Matching refs:parent
139 if (dev->parent && dev->parent->power.is_prepared)
140 dev_warn(dev, "parent %s should not be sleeping\n",
141 dev_name(dev->parent));
212 dev_info(dev, "calling %pS @ %i, parent: %s\n", cb,
214 dev->parent ? dev_name(dev->parent) : "none");
279 struct device *parent;
282 * If the device is resumed asynchronously and the parent's callback
283 * deletes both the device and the parent itself, the parent object may
285 * counting the parent once more unless the device has been deleted
295 parent = get_device(dev->parent);
299 dpm_wait(parent, async);
300 put_device(parent);
305 * If the parent's callback has deleted the device, attempting to resume
1167 if (dev->parent)
1168 dev->parent->power.must_resume = true;
1353 struct device *parent = dev->parent;
1355 if (!parent)
1358 spin_lock_irq(&parent->power.lock);
1360 if (device_wakeup_path(dev) && !parent->power.ignore_children)
1361 parent->power.wakeup_path = true;
1363 spin_unlock_irq(&parent->power.lock);
1571 if (dev->parent) {
1572 spin_lock_irq(&dev->parent->power.lock);
1573 dev->parent->power.direct_complete = false;
1574 spin_unlock_irq(&dev->parent->power.lock);
1810 * If a device's parent goes into runtime suspend at the wrong time,