Lines Matching refs:child_device
728 static int vmbus_probe(struct device *child_device)
732 driver_to_driver_context(child_device->driver);
734 device_to_vm_device(child_device);
738 ret = device_ctx->probe_error = driver_ctx->probe(child_device);
742 dev_name(child_device), child_device,
743 child_device->driver->name, ret);
751 child_device->driver->name);
760 static int vmbus_remove(struct device *child_device)
766 if (child_device->parent == NULL) {
774 if (child_device->driver) {
775 driver_ctx = driver_to_driver_context(child_device->driver);
782 ret = driver_ctx->remove(child_device);
786 child_device->driver->name);
797 static void vmbus_shutdown(struct device *child_device)
802 if (child_device->parent == NULL) {
811 if (!child_device->driver)
814 driver_ctx = driver_to_driver_context(child_device->driver);
818 driver_ctx->shutdown(child_device);