Home
last modified time | relevance | path

Searched refs:hv_device (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/hv/
Dhyperv_vmbus.h330 struct hv_device *vmbus_device_create(const guid_t *type,
334 int vmbus_device_register(struct hv_device *child_device_obj);
335 void vmbus_device_unregister(struct hv_device *device_obj);
336 int vmbus_add_channel_kobj(struct hv_device *device_obj,
449 int hv_debug_add_dev_dir(struct hv_device *dev);
450 void hv_debug_rm_dev_dir(struct hv_device *dev);
457 static inline void hv_debug_rm_dev_dir(struct hv_device *dev) {}; in hv_debug_rm_dev_dir()
466 static inline int hv_debug_add_dev_dir(struct hv_device *dev) in hv_debug_add_dev_dir()
Dvmbus_drv.c165 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show()
176 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show()
187 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show()
198 struct hv_device *hv_dev = device_to_hv_device(dev); in class_id_show()
210 struct hv_device *hv_dev = device_to_hv_device(dev); in device_id_show()
222 struct hv_device *hv_dev = device_to_hv_device(dev); in modalias_show()
232 struct hv_device *hv_dev = device_to_hv_device(dev); in numa_node_show()
246 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_pending_show()
260 struct hv_device *hv_dev = device_to_hv_device(dev); in client_monitor_pending_show()
274 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_latency_show()
[all …]
Dhv_debugfs.c54 static int hv_debug_delay_files(struct hv_device *dev, struct dentry *root) in hv_debug_delay_files()
83 static int hv_debug_set_test_state(struct hv_device *dev, struct dentry *root) in hv_debug_set_test_state()
102 static void hv_debug_set_dir_dentry(struct hv_device *dev, struct dentry *root) in hv_debug_set_dir_dentry()
109 int hv_debug_add_dev_dir(struct hv_device *dev) in hv_debug_add_dev_dir()
141 void hv_debug_rm_dev_dir(struct hv_device *dev) in hv_debug_rm_dev_dir()
Dhv_util.c89 struct hv_device *dev;
506 static int util_probe(struct hv_device *dev, in util_probe()
552 static int util_remove(struct hv_device *dev) in util_remove()
569 static int util_suspend(struct hv_device *dev) in util_suspend()
585 static int util_resume(struct hv_device *dev) in util_resume()
Dhv_balloon.c504 struct hv_device *dev;
1472 struct hv_device *dev = context; in balloon_onchannelcallback()
1568 static int balloon_connect_vsp(struct hv_device *dev) in balloon_connect_vsp()
1676 static int balloon_probe(struct hv_device *dev, in balloon_probe()
1735 static int balloon_remove(struct hv_device *dev) in balloon_remove()
1768 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend()
1789 static int balloon_resume(struct hv_device *dev) in balloon_resume()
Dchannel_mgmt.c477 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
/kernel/linux/linux-5.10/drivers/input/serio/
Dhyperv-keyboard.c90 struct hv_device *hv_dev;
100 static void hv_kbd_on_receive(struct hv_device *hv_dev, in hv_kbd_on_receive()
182 static void hv_kbd_handle_received_packet(struct hv_device *hv_dev, in hv_kbd_handle_received_packet()
241 struct hv_device *hv_dev = context; in hv_kbd_on_channel_callback()
254 static int hv_kbd_connect_to_vsp(struct hv_device *hv_dev) in hv_kbd_connect_to_vsp()
314 static int hv_kbd_probe(struct hv_device *hv_dev, in hv_kbd_probe()
372 static int hv_kbd_remove(struct hv_device *hv_dev) in hv_kbd_remove()
385 static int hv_kbd_suspend(struct hv_device *hv_dev) in hv_kbd_suspend()
392 static int hv_kbd_resume(struct hv_device *hv_dev) in hv_kbd_resume()
/kernel/linux/linux-5.10/drivers/uio/
Duio_hv_generic.c57 struct hv_device *device;
82 struct hv_device *dev = pdata->device; in hv_uio_irqcontrol()
96 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()
180 hv_uio_cleanup(struct hv_device *dev, struct hv_uio_private_data *pdata) in hv_uio_cleanup()
201 struct hv_device *dev = pdata->device; in hv_uio_open()
226 struct hv_device *dev = pdata->device; in hv_uio_release()
236 hv_uio_probe(struct hv_device *dev, in hv_uio_probe()
361 hv_uio_remove(struct hv_device *dev) in hv_uio_remove()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-hyperv.c138 struct hv_device *device;
156 static struct mousevsc_dev *mousevsc_alloc_device(struct hv_device *device) in mousevsc_alloc_device()
249 static void mousevsc_on_receive(struct hv_device *device, in mousevsc_on_receive()
321 struct hv_device *device = context; in mousevsc_on_channel_callback()
341 static int mousevsc_connect_to_vsp(struct hv_device *device) in mousevsc_connect_to_vsp()
403 struct hv_device *dev = hid_get_drvdata(hid); in mousevsc_hid_parse()
448 static int mousevsc_probe(struct hv_device *device, in mousevsc_probe()
537 static int mousevsc_remove(struct hv_device *dev) in mousevsc_remove()
550 static int mousevsc_suspend(struct hv_device *dev) in mousevsc_suspend()
557 static int mousevsc_resume(struct hv_device *dev) in mousevsc_resume()
/kernel/linux/linux-5.10/drivers/scsi/
Dstorvsc_drv.c419 struct hv_device *device;
434 struct hv_device *device;
484 struct hv_device *dev;
584 struct hv_device *device) in get_out_stor_device()
606 struct hv_device *device) in get_in_stor_device()
635 struct hv_device *device; in storvsc_change_target_cpu()
689 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
721 static void handle_multichannel_storage(struct hv_device *device, int max_chns) in handle_multichannel_storage()
815 static int storvsc_execute_vstor_op(struct hv_device *device, in storvsc_execute_vstor_op()
850 static int storvsc_channel_init(struct hv_device *device, bool is_fc) in storvsc_channel_init()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dhyperv_fb.c294 static inline int synthvid_send(struct hv_device *hdev, in synthvid_send()
316 static int synthvid_send_situ(struct hv_device *hdev) in synthvid_send_situ()
344 static int synthvid_send_ptr(struct hv_device *hdev) in synthvid_send_ptr()
381 struct hv_device *hdev = device_to_hv_device(info->device); in synthvid_update()
466 static void synthvid_recv_sub(struct hv_device *hdev) in synthvid_recv_sub()
503 struct hv_device *hdev = ctx; in synthvid_receive()
539 static int synthvid_negotiate_ver(struct hv_device *hdev, u32 ver) in synthvid_negotiate_ver()
574 static int synthvid_get_supported_resolution(struct hv_device *hdev) in synthvid_get_supported_resolution()
622 static int synthvid_connect_vsp(struct hv_device *hdev) in synthvid_connect_vsp()
685 static int synthvid_send_config(struct hv_device *hdev) in synthvid_send_config()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dhyperv.h776 struct hv_device *device_obj;
1209 int (*probe)(struct hv_device *, const struct hv_vmbus_device_id *);
1210 int (*remove)(struct hv_device *);
1211 void (*shutdown)(struct hv_device *);
1213 int (*suspend)(struct hv_device *);
1214 int (*resume)(struct hv_device *);
1219 struct hv_device { struct
1240 static inline struct hv_device *device_to_hv_device(struct device *d) in device_to_hv_device() argument
1242 return container_of(d, struct hv_device, device); in device_to_hv_device()
1250 static inline void hv_set_drvdata(struct hv_device *dev, void *data) in hv_set_drvdata()
[all …]
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc.c36 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_switch_datapath()
138 static void netvsc_revoke_recv_buf(struct hv_device *device, in netvsc_revoke_recv_buf()
188 static void netvsc_revoke_send_buf(struct hv_device *device, in netvsc_revoke_send_buf()
239 static void netvsc_teardown_recv_gpadl(struct hv_device *device, in netvsc_teardown_recv_gpadl()
261 static void netvsc_teardown_send_gpadl(struct hv_device *device, in netvsc_teardown_send_gpadl()
297 static int netvsc_init_buf(struct hv_device *device, in netvsc_init_buf()
507 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
566 static int netvsc_connect_vsp(struct hv_device *device, in netvsc_connect_vsp()
632 void netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
862 struct hv_device *device, in netvsc_send_pkt()
[all …]
Dhyperv_net.h186 struct netvsc_device *netvsc_device_add(struct hv_device *device,
189 void netvsc_device_remove(struct hv_device *device);
219 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev,
222 void rndis_filter_device_remove(struct hv_device *dev,
943 struct hv_device *device_ctx;
Dnetvsc_drv.c1030 struct hv_device *hdev = ndev_ctx->device_ctx; in netvsc_detach()
1069 struct hv_device *hdev = ndev_ctx->device_ctx; in netvsc_attach()
2050 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change()
2437 static int netvsc_probe(struct hv_device *dev, in netvsc_probe()
2561 static int netvsc_remove(struct hv_device *dev) in netvsc_remove()
2607 static int netvsc_suspend(struct hv_device *dev) in netvsc_suspend()
2637 static int netvsc_resume(struct hv_device *dev) in netvsc_resume()
Drndis_filter.c1195 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel()
1368 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev, in rndis_filter_device_add()
1494 void rndis_filter_device_remove(struct hv_device *dev, in rndis_filter_device_remove()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-hyperv.c456 struct hv_device *hdev;
603 static int wait_for_response(struct hv_device *hdev, in wait_for_response()
2360 struct hv_device *hdev = hbus->hdev; in hv_pci_eject_device()
2540 static int hv_pci_protocol_negotiation(struct hv_device *hdev, in hv_pci_protocol_negotiation()
2757 static int hv_pci_bus_exit(struct hv_device *hdev, bool keep_devs);
2765 static int hv_pci_enter_d0(struct hv_device *hdev) in hv_pci_enter_d0()
2821 static int hv_pci_query_relations(struct hv_device *hdev) in hv_pci_query_relations()
2861 static int hv_send_resources_allocated(struct hv_device *hdev) in hv_send_resources_allocated()
2938 static int hv_send_resources_released(struct hv_device *hdev) in hv_send_resources_released()
3030 static int hv_pci_probe(struct hv_device *hdev, in hv_pci_probe()
[all …]
/kernel/linux/linux-5.10/net/vmw_vsock/
Dhyperv_transport.c841 static int hvs_probe(struct hv_device *hdev, in hvs_probe()
856 static int hvs_remove(struct hv_device *hdev) in hvs_remove()
871 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend()
877 static int hvs_resume(struct hv_device *dev) in hvs_resume()