Home
last modified time | relevance | path

Searched refs:device_obj (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/hv/
H A Dchannel_mgmt.c456 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
477 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
492 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
496 if (!newchannel->device_obj) in vmbus_add_channel_work()
499 newchannel->device_obj->device_id = newchannel->device_id; in vmbus_add_channel_work()
505 * If vmbus_device_register() fails, the 'device_obj' is freed in in vmbus_add_channel_work()
510 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
1126 if (channel->device_obj) { in vmbus_onoffer_rescind()
1139 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1141 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
[all...]
H A Dhyperv_vmbus.h335 void vmbus_device_unregister(struct hv_device *device_obj);
336 int vmbus_add_channel_kobj(struct hv_device *device_obj,
H A Dvmbus_drv.c2056 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
2059 dev_name(&device_obj->device)); in vmbus_device_unregister()
2061 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
2067 device_unregister(&device_obj->device); in vmbus_device_unregister()
2230 * @device_obj: Identifies the caller
2249 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2256 const char *dev_n = dev_name(&device_obj->device); in vmbus_allocate_mmio()
H A Dhv_util.c112 hibernate_context.dev = channel->device_obj; in hv_shutdown_init()
/kernel/linux/linux-6.6/drivers/hv/
H A 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 * If vmbus_device_register() fails, the 'device_obj' is freed in in vmbus_add_channel_work()
542 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
1230 if (channel->device_obj) { in vmbus_onoffer_rescind()
1243 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1245 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
[all...]
H A Dhyperv_vmbus.h349 void vmbus_device_unregister(struct hv_device *device_obj);
350 int vmbus_add_channel_kobj(struct hv_device *device_obj,
H A Dvmbus_drv.c1952 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
1955 dev_name(&device_obj->device)); in vmbus_device_unregister()
1957 kset_unregister(device_obj->channels_kset); in vmbus_device_unregister()
1963 device_unregister(&device_obj->device); in vmbus_device_unregister()
2141 * @device_obj: Identifies the caller
2160 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
2167 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.c481 dev_warn(&channel->device_obj->device, in __vmbus_establish_gpadl()
/kernel/linux/linux-6.6/drivers/uio/
H A 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()
/kernel/linux/linux-5.10/drivers/uio/
H A Duio_hv_generic.c96 struct hv_device *hv_dev = chan->device_obj; in hv_uio_channel_cb()
111 struct hv_device *hv_dev = channel->device_obj; in hv_uio_rescind()
155 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dstorvsc_drv.c645 channel->primary_channel->device_obj in storvsc_change_target_cpu()
646 : channel->device_obj; in storvsc_change_target_cpu()
694 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1254 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1256 device = channel->device_obj; in storvsc_on_channel_callback()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dstorvsc_drv.c609 channel->primary_channel->device_obj in storvsc_change_target_cpu()
610 : channel->device_obj; in storvsc_change_target_cpu()
675 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1239 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1241 device = channel->device_obj; in storvsc_on_channel_callback()
/kernel/linux/linux-5.10/include/linux/
H A Dhyperv.h776 struct hv_device *device_obj; member
946 * particular, in situations where the channel's device_obj has
1284 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Dnetvsc.c1404 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
H A Dnetvsc_drv.c2053 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
2054 struct net_device *net = hv_get_drvdata(device_obj); in netvsc_link_change()
H A Drndis_filter.c1149 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()
/kernel/linux/linux-6.6/include/linux/
H A Dhyperv.h820 struct hv_device *device_obj; member
991 * particular, in situations where the channel's device_obj has
1350 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Dnetvsc.c1634 return primary ? primary->device_obj : channel->device_obj; in netvsc_channel_to_device()
H A Dnetvsc_drv.c2049 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change() local
2050 struct net_device *net = hv_get_drvdata(device_obj); in netvsc_link_change()
H A Drndis_filter.c1241 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()

Completed in 78 milliseconds