Home
last modified time | relevance | path

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

/linux/drivers/input/serio/
H A 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 void hv_kbd_remove(struct hv_device *hv_dev) in hv_kbd_remove()
381 static int hv_kbd_suspend(struct hv_device *hv_dev) in hv_kbd_suspend()
388 static int hv_kbd_resume(struct hv_device *hv_dev) in hv_kbd_resume()
/linux/drivers/hv/
H A Dvmbus_drv.c151 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show()
162 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show()
173 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show()
184 struct hv_device *hv_dev = device_to_hv_device(dev); in class_id_show()
196 struct hv_device *hv_dev = device_to_hv_device(dev); in device_id_show()
208 struct hv_device *hv_dev = device_to_hv_device(dev); in modalias_show()
218 struct hv_device *hv_dev = device_to_hv_device(dev); in numa_node_show()
232 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_pending_show()
245 struct hv_device *hv_dev = device_to_hv_device(dev); in client_monitor_pending_show()
258 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_latency_show()
[all …]
H A Dhyperv_vmbus.h402 struct hv_device *vmbus_device_create(const guid_t *type,
406 int vmbus_device_register(struct hv_device *child_device_obj);
407 void vmbus_device_unregister(struct hv_device *device_obj);
408 int vmbus_add_channel_kobj(struct hv_device *device_obj,
522 int hv_debug_add_dev_dir(struct hv_device *dev);
523 void hv_debug_rm_dev_dir(struct hv_device *dev);
530 static inline void hv_debug_rm_dev_dir(struct hv_device *dev) {}; in hv_debug_rm_dev_dir()
539 static inline int hv_debug_add_dev_dir(struct hv_device *dev) in hv_debug_add_dev_dir()
H A 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()
H A Dhv_util.c88 struct hv_device *dev;
582 static int util_probe(struct hv_device *dev, in util_probe()
633 static void util_remove(struct hv_device *dev) in util_remove()
648 static int util_suspend(struct hv_device *dev) in util_suspend()
664 static int util_resume(struct hv_device *dev) in util_resume()
H A Dhv_balloon.c502 struct hv_device *dev;
1478 struct hv_device *dev = context; in balloon_onchannelcallback()
1717 static int balloon_connect_vsp(struct hv_device *dev) in balloon_connect_vsp()
1938 static int balloon_probe(struct hv_device *dev, in balloon_probe()
2017 static void balloon_remove(struct hv_device *dev) in balloon_remove()
2058 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend()
2078 static int balloon_resume(struct hv_device *dev) in balloon_resume()
H A Dchannel_mgmt.c519 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
/linux/drivers/hid/
H A Dhid-hyperv.c130 struct hv_device *device;
148 static struct mousevsc_dev *mousevsc_alloc_device(struct hv_device *device) in mousevsc_alloc_device()
242 static void mousevsc_on_receive(struct hv_device *device, in mousevsc_on_receive()
310 struct hv_device *device = context; in mousevsc_on_channel_callback()
330 static int mousevsc_connect_to_vsp(struct hv_device *device) in mousevsc_connect_to_vsp()
391 struct hv_device *dev = hid_get_drvdata(hid); in mousevsc_hid_parse()
464 static int mousevsc_probe(struct hv_device *device, in mousevsc_probe()
538 static void mousevsc_remove(struct hv_device *dev) in mousevsc_remove()
549 static int mousevsc_suspend(struct hv_device *dev) in mousevsc_suspend()
556 static int mousevsc_resume(struct hv_device *dev) in mousevsc_resume()
/linux/drivers/scsi/
H A Dstorvsc_drv.c152 static bool hv_dev_is_fc(struct hv_device *hv_dev);
396 struct hv_device *device;
411 struct hv_device *device;
461 struct hv_device *dev;
561 struct hv_device *device) in get_out_stor_device()
583 struct hv_device *device) in get_in_stor_device()
612 struct hv_device *device; in storvsc_change_target_cpu()
683 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
718 static void handle_multichannel_storage(struct hv_device *device, int max_chns) in handle_multichannel_storage()
811 static int storvsc_execute_vstor_op(struct hv_device *device, in storvsc_execute_vstor_op()
[all …]
/linux/include/linux/
H A Dhyperv.h790 struct hv_device *device_obj;
1255 int (*probe)(struct hv_device *, const struct hv_vmbus_device_id *);
1256 void (*remove)(struct hv_device *dev);
1257 void (*shutdown)(struct hv_device *);
1259 int (*suspend)(struct hv_device *);
1260 int (*resume)(struct hv_device *);
1265 struct hv_device { struct
1292 #define device_to_hv_device(d) container_of_const(d, struct hv_device, device) argument
1295 static inline void hv_set_drvdata(struct hv_device *dev, void *data) in hv_set_drvdata()
1300 static inline void *hv_get_drvdata(struct hv_device *dev) in hv_get_drvdata()
[all …]
/linux/drivers/net/hyperv/
H A Dnetvsc.c38 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_switch_datapath()
178 static void netvsc_revoke_recv_buf(struct hv_device *device, in netvsc_revoke_recv_buf()
228 static void netvsc_revoke_send_buf(struct hv_device *device, in netvsc_revoke_send_buf()
279 static void netvsc_teardown_recv_gpadl(struct hv_device *device, in netvsc_teardown_recv_gpadl()
300 static void netvsc_teardown_send_gpadl(struct hv_device *device, in netvsc_teardown_send_gpadl()
335 static int netvsc_init_buf(struct hv_device *device, in netvsc_init_buf()
554 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
616 static int netvsc_connect_vsp(struct hv_device *device, in netvsc_connect_vsp()
689 void netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
980 void netvsc_dma_unmap(struct hv_device *hv_dev, in netvsc_dma_unmap()
[all …]
H A Dhyperv_net.h223 struct netvsc_device *netvsc_device_add(struct hv_device *device,
226 void netvsc_device_remove(struct hv_device *device);
260 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev,
263 void rndis_filter_device_remove(struct hv_device *dev,
1030 struct hv_device *device_ctx;
1819 void netvsc_dma_unmap(struct hv_device *hv_dev,
H A Dnetvsc_drv.c983 struct hv_device *hdev = ndev_ctx->device_ctx; in netvsc_detach()
1022 struct hv_device *hdev = ndev_ctx->device_ctx; in netvsc_attach()
2005 struct hv_device *device_obj = ndev_ctx->device_ctx; in netvsc_link_change()
2486 static int netvsc_probe(struct hv_device *dev, in netvsc_probe()
2647 static void netvsc_remove(struct hv_device *dev) in netvsc_remove()
2694 static int netvsc_suspend(struct hv_device *dev) in netvsc_suspend()
2728 static int netvsc_resume(struct hv_device *dev) in netvsc_resume()
H A Drndis_filter.c1291 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel()
1470 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev, in rndis_filter_device_add()
1608 void rndis_filter_device_remove(struct hv_device *dev, in rndis_filter_device_remove()
/linux/net/vmw_vsock/
H A Dhyperv_transport.c882 static int hvs_probe(struct hv_device *hdev, in hvs_probe()
897 static void hvs_remove(struct hv_device *hdev) in hvs_remove()
910 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend()
916 static int hvs_resume(struct hv_device *dev) in hvs_resume()
/linux/drivers/pci/controller/
H A Dpci-hyperv.c497 struct hv_device *hdev;
1045 static int wait_for_response(struct hv_device *hdev, in wait_for_response()
3010 struct hv_device *hdev = hbus->hdev; in hv_pci_eject_device()
3216 static int hv_pci_protocol_negotiation(struct hv_device *hdev, in hv_pci_protocol_negotiation()
3431 static int hv_pci_bus_exit(struct hv_device *hdev, bool keep_devs);
3439 static int hv_pci_enter_d0(struct hv_device *hdev) in hv_pci_enter_d0()
3529 static int hv_pci_query_relations(struct hv_device *hdev) in hv_pci_query_relations()
3587 static int hv_send_resources_allocated(struct hv_device *hdev) in hv_send_resources_allocated()
3664 static int hv_send_resources_released(struct hv_device *hdev) in hv_send_resources_released()
3703 static int hv_pci_probe(struct hv_device *hdev, in hv_pci_probe()
[all …]