Home
last modified time | relevance | path

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

/linux/drivers/uio/
H A Duio_hv_generic.c121 chan->primary_channel->device_obj : chan->device_obj; in hv_uio_channel_cb()
132 struct hv_device *hv_dev = channel->device_obj; in hv_uio_rescind()
150 vmbus_device_unregister(channel->device_obj); in hv_uio_rescind()
173 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel()
/linux/drivers/hv/
H A Dchannel_mgmt.c506 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
527 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
542 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
546 if (!newchannel->device_obj) in vmbus_add_channel_work()
549 newchannel->device_obj->device_id = newchannel->device_id; in vmbus_add_channel_work()
560 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
1254 if (channel->device_obj) { in vmbus_onoffer_rescind()
1267 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1269 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
1307 vmbus_device_unregister(channel->device_obj); in vmbus_hvsock_device_unregister()
H A Dhyperv_vmbus.h410 void vmbus_device_unregister(struct hv_device *device_obj);
411 int vmbus_add_channel_kobj(struct hv_device *device_obj,
H A Dvmbus_drv.c2228 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
2231 dev_name(&device_obj->device)); in vmbus_device_unregister()
2233 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
2239 device_unregister(&device_obj->device); in vmbus_device_unregister()
2462 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2469 const char *dev_n = dev_name(&device_obj->device); in vmbus_allocate_mmio()
H A Dhv_util.c111 hibernate_context.dev = channel->device_obj; in hv_shutdown_init()
H A Dchannel.c479 dev_warn(&channel->device_obj->device, in __vmbus_establish_gpadl()
/linux/drivers/scsi/
H A Dstorvsc_drv.c652 channel->primary_channel->device_obj in storvsc_change_target_cpu()
653 : channel->device_obj; in storvsc_change_target_cpu()
718 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1295 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1297 device = channel->device_obj; in storvsc_on_channel_callback()
/linux/include/linux/
H A Dhyperv.h790 struct hv_device *device_obj; member
1344 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/linux/drivers/net/hyperv/
H A Dnetvsc.c1713 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
H A Dnetvsc_drv.c2005 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
2006 struct net_device *net = hv_get_drvdata(device_obj); in netvsc_link_change()
H A Drndis_filter.c1226 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()