Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hv/
Dchannel_mgmt.c446 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
528 = newchannel->primary_channel->device_obj; in vmbus_process_offer()
544 newchannel->device_obj = vmbus_device_create( in vmbus_process_offer()
548 if (!newchannel->device_obj) in vmbus_process_offer()
551 newchannel->device_obj->device_id = dev_type; in vmbus_process_offer()
557 ret = vmbus_device_register(newchannel->device_obj); in vmbus_process_offer()
562 kfree(newchannel->device_obj); in vmbus_process_offer()
917 if (channel->device_obj) { in vmbus_onoffer_rescind()
926 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
928 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
[all …]
Dhyperv_vmbus.h383 void vmbus_device_unregister(struct hv_device *device_obj);
384 int vmbus_add_channel_kobj(struct hv_device *device_obj,
Dvmbus_drv.c1507 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
1510 dev_name(&device_obj->device)); in vmbus_device_unregister()
1512 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
1518 device_unregister(&device_obj->device); in vmbus_device_unregister()
1682 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
1689 const char *dev_n = dev_name(&device_obj->device); in vmbus_allocate_mmio()
/Linux-v4.19/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()
132 struct hv_device *dev = channel->primary_channel->device_obj; in hv_uio_ring_mmap()
155 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel()
/Linux-v4.19/include/linux/
Dhyperv.h724 struct hv_device *device_obj; member
1175 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/Linux-v4.19/drivers/scsi/
Dstorvsc_drv.c638 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1160 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1162 device = channel->device_obj; in storvsc_on_channel_callback()
/Linux-v4.19/drivers/net/hyperv/
Dnetvsc.c1264 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
Dnetvsc_drv.c1798 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
1799 struct net_device *net = hv_get_drvdata(device_obj); in netvsc_link_change()
Drndis_filter.c1025 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()