Lines Matching refs:child_device
510 static int vmbus_probe(struct device *child_device) in vmbus_probe() argument
514 drv_to_hv_drv(child_device->driver); in vmbus_probe()
515 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_probe()
523 dev_name(child_device), ret); in vmbus_probe()
527 dev_name(child_device)); in vmbus_probe()
536 static int vmbus_remove(struct device *child_device) in vmbus_remove() argument
539 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_remove()
542 if (child_device->driver) { in vmbus_remove()
543 drv = drv_to_hv_drv(child_device->driver); in vmbus_remove()
549 dev_name(child_device)); in vmbus_remove()
566 static void vmbus_shutdown(struct device *child_device) in vmbus_shutdown() argument
569 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_shutdown()
573 if (!child_device->driver) in vmbus_shutdown()
576 drv = drv_to_hv_drv(child_device->driver); in vmbus_shutdown()