Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hv/
Dvmbus_drv.c93 static void print_alias_name(struct hv_device *hv_dev, char *alias_name) in print_alias_name()
138 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show()
149 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show()
160 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show()
171 struct hv_device *hv_dev = device_to_hv_device(dev); in class_id_show()
183 struct hv_device *hv_dev = device_to_hv_device(dev); in device_id_show()
195 struct hv_device *hv_dev = device_to_hv_device(dev); in modalias_show()
207 struct hv_device *hv_dev = device_to_hv_device(dev); in numa_node_show()
221 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_pending_show()
235 struct hv_device *hv_dev = device_to_hv_device(dev); in client_monitor_pending_show()
[all …]
Dhyperv_vmbus.h328 struct hv_device *vmbus_device_create(const guid_t *type,
332 int vmbus_device_register(struct hv_device *child_device_obj);
333 void vmbus_device_unregister(struct hv_device *device_obj);
334 int vmbus_add_channel_kobj(struct hv_device *device_obj,
Dhv_util.c386 static int util_probe(struct hv_device *dev, in util_probe()
431 static int util_remove(struct hv_device *dev) in util_remove()
Dhv_balloon.c502 struct hv_device *dev;
1481 struct hv_device *dev = context; in balloon_onchannelcallback()
1567 static int balloon_connect_vsp(struct hv_device *dev) in balloon_connect_vsp()
1670 static int balloon_probe(struct hv_device *dev, in balloon_probe()
1722 static int balloon_remove(struct hv_device *dev) in balloon_remove()
Dchannel_mgmt.c469 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
/Linux-v5.4/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()
357 hv_uio_remove(struct hv_device *dev) in hv_uio_remove()
/Linux-v5.4/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()
312 static int hv_kbd_probe(struct hv_device *hv_dev, in hv_kbd_probe()
370 static int hv_kbd_remove(struct hv_device *hv_dev) in hv_kbd_remove()
/Linux-v5.4/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()
245 static void mousevsc_on_receive(struct hv_device *device, in mousevsc_on_receive()
317 struct hv_device *device = context; in mousevsc_on_channel_callback()
337 static int mousevsc_connect_to_vsp(struct hv_device *device) in mousevsc_connect_to_vsp()
397 struct hv_device *dev = hid_get_drvdata(hid); in mousevsc_hid_parse()
442 static int mousevsc_probe(struct hv_device *device, in mousevsc_probe()
531 static int mousevsc_remove(struct hv_device *dev) in mousevsc_remove()
/Linux-v5.4/include/linux/
Dhyperv.h722 struct hv_device *device_obj;
1159 int (*probe)(struct hv_device *, const struct hv_vmbus_device_id *);
1160 int (*remove)(struct hv_device *);
1161 void (*shutdown)(struct hv_device *);
1163 int (*suspend)(struct hv_device *);
1164 int (*resume)(struct hv_device *);
1169 struct hv_device { struct
1186 static inline struct hv_device *device_to_hv_device(struct device *d) in device_to_hv_device() argument
1188 return container_of(d, struct hv_device, device); in device_to_hv_device()
1196 static inline void hv_set_drvdata(struct hv_device *dev, void *data) in hv_set_drvdata()
[all …]
/Linux-v5.4/drivers/video/fbdev/
Dhyperv_fb.c231 static inline int synthvid_send(struct hv_device *hdev, in synthvid_send()
253 static int synthvid_send_situ(struct hv_device *hdev) in synthvid_send_situ()
281 static int synthvid_send_ptr(struct hv_device *hdev) in synthvid_send_ptr()
317 struct hv_device *hdev = device_to_hv_device(info->device); in synthvid_update()
343 static void synthvid_recv_sub(struct hv_device *hdev) in synthvid_recv_sub()
379 struct hv_device *hdev = ctx; in synthvid_receive()
404 static int synthvid_negotiate_ver(struct hv_device *hdev, u32 ver) in synthvid_negotiate_ver()
437 static int synthvid_connect_vsp(struct hv_device *hdev) in synthvid_connect_vsp()
478 static int synthvid_send_config(struct hv_device *hdev) in synthvid_send_config()
564 struct hv_device *hdev = device_to_hv_device(info->device); in hvfb_set_par()
[all …]
/Linux-v5.4/drivers/scsi/
Dstorvsc_drv.c419 struct hv_device *device;
434 struct hv_device *device;
479 struct hv_device *dev;
579 struct hv_device *device) in get_out_stor_device()
601 struct hv_device *device) in get_in_stor_device()
626 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
656 static void handle_multichannel_storage(struct hv_device *device, int max_chns) in handle_multichannel_storage()
750 static int storvsc_execute_vstor_op(struct hv_device *device, in storvsc_execute_vstor_op()
785 static int storvsc_channel_init(struct hv_device *device, bool is_fc) in storvsc_channel_init()
1056 struct hv_device *device = stor_device->device; in storvsc_on_io_completion()
[all …]
/Linux-v5.4/drivers/net/hyperv/
Dnetvsc.c36 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_switch_datapath()
136 static void netvsc_revoke_recv_buf(struct hv_device *device, in netvsc_revoke_recv_buf()
186 static void netvsc_revoke_send_buf(struct hv_device *device, in netvsc_revoke_send_buf()
237 static void netvsc_teardown_recv_gpadl(struct hv_device *device, in netvsc_teardown_recv_gpadl()
259 static void netvsc_teardown_send_gpadl(struct hv_device *device, in netvsc_teardown_send_gpadl()
295 static int netvsc_init_buf(struct hv_device *device, in netvsc_init_buf()
489 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
548 static int netvsc_connect_vsp(struct hv_device *device, in netvsc_connect_vsp()
614 void netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
804 struct hv_device *device, in netvsc_send_pkt()
[all …]
Dhyperv_net.h185 struct netvsc_device *netvsc_device_add(struct hv_device *device,
188 void netvsc_device_remove(struct hv_device *device);
207 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev,
210 void rndis_filter_device_remove(struct hv_device *dev,
921 struct hv_device *device_ctx;
Dnetvsc_drv.c920 struct hv_device *hdev = ndev_ctx->device_ctx; in netvsc_detach()
957 struct hv_device *hdev = ndev_ctx->device_ctx; in netvsc_attach()
1892 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change()
2260 static int netvsc_probe(struct hv_device *dev, in netvsc_probe()
2380 static int netvsc_remove(struct hv_device *dev) in netvsc_remove()
Drndis_filter.c1132 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel()
1304 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev, in rndis_filter_device_add()
1427 void rndis_filter_device_remove(struct hv_device *dev, in rndis_filter_device_remove()
/Linux-v5.4/drivers/pci/controller/
Dpci-hyperv.c466 struct hv_device *hdev;
596 static int wait_for_response(struct hv_device *hdev, in wait_for_response()
2382 static int hv_pci_protocol_negotiation(struct hv_device *hdev) in hv_pci_protocol_negotiation()
2602 static int hv_pci_enter_d0(struct hv_device *hdev) in hv_pci_enter_d0()
2658 static int hv_pci_query_relations(struct hv_device *hdev) in hv_pci_query_relations()
2698 static int hv_send_resources_allocated(struct hv_device *hdev) in hv_send_resources_allocated()
2773 static int hv_send_resources_released(struct hv_device *hdev) in hv_send_resources_released()
2861 static int hv_pci_probe(struct hv_device *hdev, in hv_pci_probe()
3014 static void hv_pci_bus_exit(struct hv_device *hdev) in hv_pci_bus_exit()
3062 static int hv_pci_remove(struct hv_device *hdev) in hv_pci_remove()
/Linux-v5.4/net/vmw_vsock/
Dhyperv_transport.c917 static int hvs_probe(struct hv_device *hdev, in hvs_probe()
932 static int hvs_remove(struct hv_device *hdev) in hvs_remove()