Lines Matching refs:child_device
876 static int vmbus_probe(struct device *child_device) in vmbus_probe() argument
880 drv_to_hv_drv(child_device->driver); in vmbus_probe()
881 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_probe()
889 dev_name(child_device), ret); in vmbus_probe()
893 dev_name(child_device)); in vmbus_probe()
902 static int vmbus_remove(struct device *child_device) in vmbus_remove() argument
905 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_remove()
907 if (child_device->driver) { in vmbus_remove()
908 drv = drv_to_hv_drv(child_device->driver); in vmbus_remove()
920 static void vmbus_shutdown(struct device *child_device) in vmbus_shutdown() argument
923 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_shutdown()
927 if (!child_device->driver) in vmbus_shutdown()
930 drv = drv_to_hv_drv(child_device->driver); in vmbus_shutdown()
940 static int vmbus_suspend(struct device *child_device) in vmbus_suspend() argument
943 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_suspend()
946 if (!child_device->driver) in vmbus_suspend()
949 drv = drv_to_hv_drv(child_device->driver); in vmbus_suspend()
959 static int vmbus_resume(struct device *child_device) in vmbus_resume() argument
962 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_resume()
965 if (!child_device->driver) in vmbus_resume()
968 drv = drv_to_hv_drv(child_device->driver); in vmbus_resume()