Lines Matching refs:parent
140 if (dev->parent && dev->parent->power.is_prepared)
141 dev_warn(dev, "parent %s should not be sleeping\n",
142 dev_name(dev->parent));
213 dev_info(dev, "calling %pS @ %i, parent: %s\n", cb,
215 dev->parent ? dev_name(dev->parent) : "none");
283 struct device *parent;
286 * If the device is resumed asynchronously and the parent's callback
287 * deletes both the device and the parent itself, the parent object may
289 * counting the parent once more unless the device has been deleted
299 parent = get_device(dev->parent);
303 dpm_wait(parent, async);
304 put_device(parent);
309 * If the parent's callback has deleted the device, attempting to resume
1173 if (dev->parent)
1174 dev->parent->power.must_resume = true;
1361 struct device *parent = dev->parent;
1363 if (!parent)
1366 spin_lock_irq(&parent->power.lock);
1368 if (dev->power.wakeup_path && !parent->power.ignore_children)
1369 parent->power.wakeup_path = true;
1371 spin_unlock_irq(&parent->power.lock);
1578 if (dev->parent) {
1579 spin_lock_irq(&dev->parent->power.lock);
1580 dev->parent->power.direct_complete = false;
1581 spin_unlock_irq(&dev->parent->power.lock);
1817 * If a device's parent goes into runtime suspend at the wrong time,