Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hv/
Dchannel_mgmt.c488 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
509 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
524 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
528 if (!newchannel->device_obj) in vmbus_add_channel_work()
531 newchannel->device_obj->device_id = newchannel->device_id; in vmbus_add_channel_work()
537 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
542 kfree(newchannel->device_obj); in vmbus_add_channel_work()
1212 if (channel->device_obj) { in vmbus_onoffer_rescind()
1225 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1227 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
[all …]
Dhyperv_vmbus.h337 void vmbus_device_unregister(struct hv_device *device_obj);
338 int vmbus_add_channel_kobj(struct hv_device *device_obj,
Dvmbus_drv.c2113 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
2116 dev_name(&device_obj->device)); in vmbus_device_unregister()
2118 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
2124 device_unregister(&device_obj->device); in vmbus_device_unregister()
2306 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2313 const char *dev_n = dev_name(&device_obj->device); in vmbus_allocate_mmio()
Dhv_util.c111 hibernate_context.dev = channel->device_obj; in hv_shutdown_init()
Dchannel.c481 dev_warn(&channel->device_obj->device, in __vmbus_establish_gpadl()
/linux-5.19.10/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()
/linux-5.19.10/drivers/scsi/
Dstorvsc_drv.c595 channel->primary_channel->device_obj in storvsc_change_target_cpu()
596 : channel->device_obj; in storvsc_change_target_cpu()
661 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1209 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1211 device = channel->device_obj; in storvsc_on_channel_callback()
/linux-5.19.10/include/linux/
Dhyperv.h820 struct hv_device *device_obj; member
1354 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/linux-5.19.10/drivers/net/hyperv/
Dnetvsc.c1652 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
Dnetvsc_drv.c2043 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
2044 struct net_device *net = hv_get_drvdata(device_obj); in netvsc_link_change()
Drndis_filter.c1238 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()