Lines Matching refs:child_device
720 static int vmbus_probe(struct device *child_device) in vmbus_probe() argument
724 drv_to_hv_drv(child_device->driver); in vmbus_probe()
725 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_probe()
733 dev_name(child_device), ret); in vmbus_probe()
737 dev_name(child_device)); in vmbus_probe()
746 static int vmbus_remove(struct device *child_device) in vmbus_remove() argument
749 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_remove()
751 if (child_device->driver) { in vmbus_remove()
752 drv = drv_to_hv_drv(child_device->driver); in vmbus_remove()
764 static void vmbus_shutdown(struct device *child_device) in vmbus_shutdown() argument
767 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_shutdown()
771 if (!child_device->driver) in vmbus_shutdown()
774 drv = drv_to_hv_drv(child_device->driver); in vmbus_shutdown()