Home
last modified time | relevance | path

Searched refs:child_device_obj (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/hv/
Dvmbus_drv.c1763 struct hv_device *child_device_obj; in vmbus_device_create() local
1765 child_device_obj = kzalloc(sizeof(struct hv_device), GFP_KERNEL); in vmbus_device_create()
1766 if (!child_device_obj) { in vmbus_device_create()
1771 child_device_obj->channel = channel; in vmbus_device_create()
1772 guid_copy(&child_device_obj->dev_type, type); in vmbus_device_create()
1773 guid_copy(&child_device_obj->dev_instance, instance); in vmbus_device_create()
1774 child_device_obj->vendor_id = 0x1414; /* MSFT vendor ID */ in vmbus_device_create()
1776 return child_device_obj; in vmbus_device_create()
1782 int vmbus_device_register(struct hv_device *child_device_obj) in vmbus_device_register() argument
1784 struct kobject *kobj = &child_device_obj->device.kobj; in vmbus_device_register()
[all …]
Dhyperv_vmbus.h332 int vmbus_device_register(struct hv_device *child_device_obj);