Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hv/
Dvmbus_drv.c90 static void print_alias_name(struct hv_device *hv_dev, char *alias_name) in print_alias_name()
133 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show()
144 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show()
155 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show()
166 struct hv_device *hv_dev = device_to_hv_device(dev); in class_id_show()
178 struct hv_device *hv_dev = device_to_hv_device(dev); in device_id_show()
190 struct hv_device *hv_dev = device_to_hv_device(dev); in modalias_show()
202 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_pending_show()
216 struct hv_device *hv_dev = device_to_hv_device(dev); in client_monitor_pending_show()
230 struct hv_device *hv_dev = device_to_hv_device(dev); in server_monitor_latency_show()
[all …]
Dhyperv_vmbus.h707 struct hv_device *vmbus_device_create(const uuid_le *type,
711 int vmbus_device_register(struct hv_device *child_device_obj);
712 void vmbus_device_unregister(struct hv_device *device_obj);
Dhv_util.c315 static int util_probe(struct hv_device *dev, in util_probe()
379 static int util_remove(struct hv_device *dev) in util_remove()
Dhv_balloon.c496 struct hv_device *dev;
1332 struct hv_device *dev = context; in balloon_onchannelcallback()
1417 static int balloon_probe(struct hv_device *dev, in balloon_probe()
1563 static int balloon_remove(struct hv_device *dev) in balloon_remove()
/linux-4.1.27/drivers/net/hyperv/
Dhyperv_net.h189 int netvsc_device_add(struct hv_device *device, void *additional_info);
190 int netvsc_device_remove(struct hv_device *device);
191 int netvsc_send(struct hv_device *device,
193 void netvsc_linkstatus_callback(struct hv_device *device_obj,
196 int netvsc_recv_callback(struct hv_device *device_obj,
200 int rndis_filter_open(struct hv_device *dev);
201 int rndis_filter_close(struct hv_device *dev);
202 int rndis_filter_device_add(struct hv_device *dev,
204 void rndis_filter_device_remove(struct hv_device *dev);
205 int rndis_filter_receive(struct hv_device *dev,
[all …]
Dnetvsc.c36 static struct netvsc_device *alloc_net_device(struct hv_device *device) in alloc_net_device()
73 static struct netvsc_device *get_outbound_net_device(struct hv_device *device) in get_outbound_net_device()
84 static struct netvsc_device *get_inbound_net_device(struct hv_device *device) in get_inbound_net_device()
223 static int netvsc_init_buf(struct hv_device *device) in netvsc_init_buf()
413 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
463 static int netvsc_connect_vsp(struct hv_device *device) in netvsc_connect_vsp()
541 int netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
602 struct hv_device *device, in netvsc_send_completion()
820 int netvsc_send(struct hv_device *device, in netvsc_send()
932 static void netvsc_send_recv_completion(struct hv_device *device, in netvsc_send_recv_completion()
[all …]
Dnetvsc_drv.c93 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_open()
120 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_close()
218 struct hv_device *hdev = net_device_ctx->device_ctx; in netvsc_select_queue()
598 void netvsc_linkstatus_callback(struct hv_device *device_obj, in netvsc_linkstatus_callback()
642 int netvsc_recv_callback(struct hv_device *device_obj, in netvsc_recv_callback()
713 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_get_channels()
725 struct hv_device *hdev = ndevctx->device_ctx; in netvsc_change_mtu()
760 struct hv_device *hdev = ndevctx->device_ctx; in netvsc_set_mac_addr()
859 static int netvsc_probe(struct hv_device *dev, in netvsc_probe()
934 static int netvsc_remove(struct hv_device *dev) in netvsc_remove()
Drndis_filter.c125 static void dump_rndis_message(struct hv_device *hv_dev, in dump_rndis_message()
398 int rndis_filter_receive(struct hv_device *dev, in rndis_filter_receive()
552 int rndis_filter_set_device_mac(struct hv_device *hdev, char *mac) in rndis_filter_set_device_mac()
630 rndis_filter_set_offload_params(struct hv_device *hdev, in rndis_filter_set_offload_params()
915 struct hv_device *hdev = nvdev->dev; in rndis_filter_halt_device()
1003 int rndis_filter_device_add(struct hv_device *dev, in rndis_filter_device_add()
1159 void rndis_filter_device_remove(struct hv_device *dev) in rndis_filter_device_remove()
1174 int rndis_filter_open(struct hv_device *dev) in rndis_filter_open()
1184 int rndis_filter_close(struct hv_device *dev) in rndis_filter_close()
/linux-4.1.27/drivers/input/serio/
Dhyperv-keyboard.c98 struct hv_device *hv_dev;
108 static void hv_kbd_on_receive(struct hv_device *hv_dev, in hv_kbd_on_receive()
190 static void hv_kbd_handle_received_packet(struct hv_device *hv_dev, in hv_kbd_handle_received_packet()
248 struct hv_device *hv_dev = context; in hv_kbd_on_channel_callback()
285 static int hv_kbd_connect_to_vsp(struct hv_device *hv_dev) in hv_kbd_connect_to_vsp()
343 static int hv_kbd_probe(struct hv_device *hv_dev, in hv_kbd_probe()
401 static int hv_kbd_remove(struct hv_device *hv_dev) in hv_kbd_remove()
/linux-4.1.27/drivers/hid/
Dhid-hyperv.c146 struct hv_device *device;
164 static struct mousevsc_dev *mousevsc_alloc_device(struct hv_device *device) in mousevsc_alloc_device()
253 static void mousevsc_on_receive(struct hv_device *device, in mousevsc_on_receive()
327 struct hv_device *device = context; in mousevsc_on_channel_callback()
381 static int mousevsc_connect_to_vsp(struct hv_device *device) in mousevsc_connect_to_vsp()
441 struct hv_device *dev = hid_get_drvdata(hid); in mousevsc_hid_parse()
486 static int mousevsc_probe(struct hv_device *device, in mousevsc_probe()
575 static int mousevsc_remove(struct hv_device *dev) in mousevsc_remove()
/linux-4.1.27/drivers/scsi/
Dstorvsc_drv.c349 struct hv_device *device;
364 struct hv_device *device;
393 struct hv_device *dev;
513 struct hv_device *device) in get_out_stor_device()
535 struct hv_device *device) in get_in_stor_device()
795 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
816 static void handle_multichannel_storage(struct hv_device *device, int max_chns) in handle_multichannel_storage()
883 static int storvsc_channel_init(struct hv_device *device) in storvsc_channel_init()
1108 struct hv_device *dev = host_dev->dev; in storvsc_command_completion()
1150 static void storvsc_on_io_completion(struct hv_device *device, in storvsc_on_io_completion()
[all …]
/linux-4.1.27/drivers/video/fbdev/
Dhyperv_fb.c240 static inline int synthvid_send(struct hv_device *hdev, in synthvid_send()
262 static int synthvid_send_situ(struct hv_device *hdev) in synthvid_send_situ()
290 static int synthvid_send_ptr(struct hv_device *hdev) in synthvid_send_ptr()
326 struct hv_device *hdev = device_to_hv_device(info->device); in synthvid_update()
352 static void synthvid_recv_sub(struct hv_device *hdev) in synthvid_recv_sub()
388 struct hv_device *hdev = ctx; in synthvid_receive()
413 static int synthvid_negotiate_ver(struct hv_device *hdev, u32 ver) in synthvid_negotiate_ver()
446 static int synthvid_connect_vsp(struct hv_device *hdev) in synthvid_connect_vsp()
487 static int synthvid_send_config(struct hv_device *hdev) in synthvid_send_config()
573 struct hv_device *hdev = device_to_hv_device(info->device); in hvfb_set_par()
[all …]
/linux-4.1.27/include/linux/
Dhyperv.h654 struct hv_device *device_obj;
937 int (*probe)(struct hv_device *, const struct hv_vmbus_device_id *);
938 int (*remove)(struct hv_device *);
939 void (*shutdown)(struct hv_device *);
944 struct hv_device { struct
957 static inline struct hv_device *device_to_hv_device(struct device *d) in device_to_hv_device() argument
959 return container_of(d, struct hv_device, device); in device_to_hv_device()
967 static inline void hv_set_drvdata(struct hv_device *dev, void *data) in hv_set_drvdata()
972 static inline void *hv_get_drvdata(struct hv_device *dev) in hv_get_drvdata()