Home
last modified time | relevance | path

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

/linux-6.15/drivers/hv/
H A Dchannel_mgmt.c497 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
518 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
533 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
537 if (!newchannel->device_obj) in vmbus_add_channel_work()
540 newchannel->device_obj->device_id = newchannel->device_id; in vmbus_add_channel_work()
551 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
1227 if (channel->device_obj) { in vmbus_onoffer_rescind()
1240 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1242 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
1280 vmbus_device_unregister(channel->device_obj); in vmbus_hvsock_device_unregister()
H A Dhyperv_vmbus.h341 void vmbus_device_unregister(struct hv_device *device_obj);
342 int vmbus_add_channel_kobj(struct hv_device *device_obj,
H A Dvmbus_drv.c2087 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
2090 dev_name(&device_obj->device)); in vmbus_device_unregister()
2092 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
2098 device_unregister(&device_obj->device); in vmbus_device_unregister()
2298 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2305 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.c456 dev_warn(&channel->device_obj->device, in __vmbus_establish_gpadl()
/linux-6.15/drivers/uio/
H A Duio_hv_generic.c98 struct hv_device *hv_dev = chan->device_obj; in hv_uio_channel_cb()
113 struct hv_device *hv_dev = channel->device_obj; in hv_uio_rescind()
131 vmbus_device_unregister(channel->device_obj); in hv_uio_rescind()
153 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel()
/linux-6.15/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-6.15/include/linux/
H A Dhyperv.h778 struct hv_device *device_obj; member
1303 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/linux-6.15/drivers/net/hyperv/
H A Dnetvsc.c1684 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
H A Dnetvsc_drv.c2019 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
2020 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()