Home
last modified time | relevance | path

Searched refs:device_obj (Results 1 – 8 of 8) sorted by relevance

/drivers/hv/
Dchannel_mgmt.c432 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
469 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
484 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
488 if (!newchannel->device_obj) in vmbus_add_channel_work()
491 newchannel->device_obj->device_id = dev_type; in vmbus_add_channel_work()
497 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
502 kfree(newchannel->device_obj); in vmbus_add_channel_work()
1080 if (channel->device_obj) { in vmbus_onoffer_rescind()
1093 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1095 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
[all …]
Dhyperv_vmbus.h333 void vmbus_device_unregister(struct hv_device *device_obj);
334 int vmbus_add_channel_kobj(struct hv_device *device_obj,
Dvmbus_drv.c1832 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
1835 dev_name(&device_obj->device)); in vmbus_device_unregister()
1837 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
1843 device_unregister(&device_obj->device); in vmbus_device_unregister()
2007 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2014 const char *dev_n = dev_name(&device_obj->device); in vmbus_allocate_mmio()
/drivers/uio/
Duio_hv_generic.c96 struct hv_device *hv_dev = chan->device_obj; in hv_uio_channel_cb()
110 struct hv_device *hv_dev = channel->primary_channel->device_obj; in hv_uio_rescind()
154 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel()
/drivers/scsi/
Dstorvsc_drv.c626 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1158 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1160 device = channel->device_obj; in storvsc_on_channel_callback()
/drivers/net/hyperv/
Dnetvsc.c1288 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
Dnetvsc_drv.c1891 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
1892 struct net_device *net = hv_get_drvdata(device_obj); in netvsc_link_change()
Drndis_filter.c1087 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()