Home
last modified time | relevance | path

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

/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()
1255 if (channel->device_obj) { in vmbus_onoffer_rescind()
1268 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1270 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
1308 vmbus_device_unregister(channel->device_obj); in vmbus_hvsock_device_unregister()
H A Dhyperv_vmbus.h408 void vmbus_device_unregister(struct hv_device *device_obj);
409 int vmbus_add_channel_kobj(struct hv_device *device_obj,
H A Dvmbus_drv.c2240 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
2243 dev_name(&device_obj->device)); in vmbus_device_unregister()
2245 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
2251 device_unregister(&device_obj->device); in vmbus_device_unregister()
2451 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2458 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()
1260 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1262 device = channel->device_obj; in storvsc_on_channel_callback()
/linux/include/linux/
H A Dhyperv.h790 struct hv_device *device_obj; member
1333 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/linux/drivers/net/hyperv/
H A Dnetvsc.c1683 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()