Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dchannel_mgmt.c498 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
519 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
534 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
538 if (!newchannel->device_obj) in vmbus_add_channel_work()
541 newchannel->device_obj->device_id = newchannel->device_id; in vmbus_add_channel_work()
552 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
1247 if (channel->device_obj) { in vmbus_onoffer_rescind()
1260 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1262 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
1300 vmbus_device_unregister(channel->device_obj); in vmbus_hvsock_device_unregister()
H A Dhyperv_vmbus.h407 void vmbus_device_unregister(struct hv_device *device_obj);
408 int vmbus_add_channel_kobj(struct hv_device *device_obj,
H A Dvmbus_drv.c2190 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
2193 dev_name(&device_obj->device)); in vmbus_device_unregister()
2195 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
2201 device_unregister(&device_obj->device); in vmbus_device_unregister()
2401 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2408 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.c474 dev_warn(&channel->device_obj->device, in __vmbus_establish_gpadl()
/linux/drivers/scsi/
H A Dstorvsc_drv.c617 channel->primary_channel->device_obj in storvsc_change_target_cpu()
618 : channel->device_obj; in storvsc_change_target_cpu()
683 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1249 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1251 device = channel->device_obj; in storvsc_on_channel_callback()
/linux/include/linux/
H A Dhyperv.h790 struct hv_device *device_obj; member
1331 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/linux/drivers/net/hyperv/
H A Dnetvsc.c1684 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
H A Drndis_filter.c1226 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()