Lines Matching refs:child_device
830 static int vmbus_probe(struct device *child_device) in vmbus_probe() argument
834 drv_to_hv_drv(child_device->driver); in vmbus_probe()
835 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_probe()
843 dev_name(child_device), ret); in vmbus_probe()
847 dev_name(child_device)); in vmbus_probe()
856 static int vmbus_dma_configure(struct device *child_device) in vmbus_dma_configure() argument
863 hv_setup_dma_ops(child_device, in vmbus_dma_configure()
871 static void vmbus_remove(struct device *child_device) in vmbus_remove() argument
874 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_remove()
876 if (child_device->driver) { in vmbus_remove()
877 drv = drv_to_hv_drv(child_device->driver); in vmbus_remove()
886 static void vmbus_shutdown(struct device *child_device) in vmbus_shutdown() argument
889 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_shutdown()
893 if (!child_device->driver) in vmbus_shutdown()
896 drv = drv_to_hv_drv(child_device->driver); in vmbus_shutdown()
906 static int vmbus_suspend(struct device *child_device) in vmbus_suspend() argument
909 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_suspend()
912 if (!child_device->driver) in vmbus_suspend()
915 drv = drv_to_hv_drv(child_device->driver); in vmbus_suspend()
925 static int vmbus_resume(struct device *child_device) in vmbus_resume() argument
928 struct hv_device *dev = device_to_hv_device(child_device); in vmbus_resume()
931 if (!child_device->driver) in vmbus_resume()
934 drv = drv_to_hv_drv(child_device->driver); in vmbus_resume()