Lines Matching refs:child_device
855 static int vmbus_probe(struct device *child_device) in vmbus_probe() argument
859 drv_to_hv_drv(child_device->driver); in vmbus_probe()
860 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_probe()
868 dev_name(child_device), ret); in vmbus_probe()
872 dev_name(child_device)); in vmbus_probe()
881 static int vmbus_remove(struct device *child_device) in vmbus_remove() argument
884 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_remove()
886 if (child_device->driver) { in vmbus_remove()
887 drv = drv_to_hv_drv(child_device->driver); in vmbus_remove()
899 static void vmbus_shutdown(struct device *child_device) in vmbus_shutdown() argument
902 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_shutdown()
906 if (!child_device->driver) in vmbus_shutdown()
909 drv = drv_to_hv_drv(child_device->driver); in vmbus_shutdown()
919 static int vmbus_suspend(struct device *child_device) in vmbus_suspend() argument
922 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_suspend()
925 if (!child_device->driver) in vmbus_suspend()
928 drv = drv_to_hv_drv(child_device->driver); in vmbus_suspend()
938 static int vmbus_resume(struct device *child_device) in vmbus_resume() argument
941 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_resume()
944 if (!child_device->driver) in vmbus_resume()
947 drv = drv_to_hv_drv(child_device->driver); in vmbus_resume()