Lines Matching refs:child_device
575 static int vmbus_probe(struct device *child_device) in vmbus_probe() argument
579 drv_to_hv_drv(child_device->driver); in vmbus_probe()
580 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_probe()
588 dev_name(child_device), ret); in vmbus_probe()
592 dev_name(child_device)); in vmbus_probe()
601 static int vmbus_remove(struct device *child_device) in vmbus_remove() argument
604 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_remove()
607 if (child_device->driver) { in vmbus_remove()
608 drv = drv_to_hv_drv(child_device->driver); in vmbus_remove()
614 dev_name(child_device)); in vmbus_remove()
631 static void vmbus_shutdown(struct device *child_device) in vmbus_shutdown() argument
634 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_shutdown()
638 if (!child_device->driver) in vmbus_shutdown()
641 drv = drv_to_hv_drv(child_device->driver); in vmbus_shutdown()