Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/hv/
Dnetvsc_api.h52 struct hv_device *device;
96 int (*recv_cb)(struct hv_device *dev,
98 void (*link_status_change)(struct hv_device *dev, u32 status);
101 int (*send)(struct hv_device *dev, struct hv_netvsc_packet *packet);
113 int rndis_filter_open(struct hv_device *dev);
114 int rndis_filter_close(struct hv_device *dev);
Dhv_mouse.c172 struct hv_device *Device;
201 static void deviceinfo_callback(struct hv_device *dev, struct hv_input_dev_info *info);
202 static void inputreport_callback(struct hv_device *dev, void *packet, u32 len);
203 static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len);
205 static struct mousevsc_dev *AllocInputDevice(struct hv_device *Device) in AllocInputDevice()
235 static struct mousevsc_dev *GetInputDevice(struct hv_device *Device) in GetInputDevice()
261 static struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device) in MustGetInputDevice()
275 static void PutInputDevice(struct hv_device *Device) in PutInputDevice()
287 static struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device) in ReleaseInputDevice()
303 static struct mousevsc_dev *FinalReleaseInputDevice(struct hv_device *Device) in FinalReleaseInputDevice()
[all …]
Dnetvsc.c46 static int netvsc_device_add(struct hv_device *device, void *additional_info);
48 static int netvsc_device_remove(struct hv_device *device);
54 static int netvsc_init_send_buf(struct hv_device *device);
56 static int netvsc_init_recv_buf(struct hv_device *device);
62 static int netvsc_connect_vsp(struct hv_device *device);
64 static void netvsc_send_completion(struct hv_device *device,
67 static int netvsc_send(struct hv_device *device,
70 static void netvsc_receive(struct hv_device *device,
75 static void netvsc_send_recv_completion(struct hv_device *device,
79 static struct netvsc_device *alloc_net_device(struct hv_device *device) in alloc_net_device()
[all …]
Dstorvsc.c40 struct hv_device *device;
51 struct hv_device *device;
87 static inline struct storvsc_device *alloc_stor_device(struct hv_device *device) in alloc_stor_device()
112 static inline struct storvsc_device *get_stor_device(struct hv_device *device) in get_stor_device()
127 struct hv_device *device) in must_get_stor_device()
140 static inline void put_stor_device(struct hv_device *device) in put_stor_device()
153 struct hv_device *device) in release_stor_device()
169 struct hv_device *device) in final_release_stor_device()
184 static int stor_vsc_channel_init(struct hv_device *device) in stor_vsc_channel_init()
365 static void stor_vsc_on_io_completion(struct hv_device *device, in stor_vsc_on_io_completion()
[all …]
Dvmbus_api.h62 struct hv_device;
109 int (*dev_add)(struct hv_device *device, void *data);
110 int (*dev_rm)(struct hv_device *device);
115 struct hv_device { struct
Dvmbus_drv.c51 struct hv_device device_ctx;
140 static struct hv_device *vmbus_device; /* vmbus root device */
146 static int vmbus_dev_add(struct hv_device *dev, void *info) in vmbus_dev_add()
265 static void get_channel_info(struct hv_device *device, in get_channel_info()
320 struct hv_device *device_ctx = device_to_hv_device(dev); in vmbus_show_device_attr()
429 struct hv_device *dev_ctx = &vmbus_drv.device_ctx; in vmbus_bus_init()
487 memset(dev_ctx, 0, sizeof(struct hv_device)); in vmbus_bus_init()
541 struct hv_device *dev_ctx = &vmbus_drv.device_ctx; in vmbus_bus_exit()
615 struct hv_device *vmbus_child_device_create(struct hv_guid *type, in vmbus_child_device_create()
619 struct hv_device *child_device_obj; in vmbus_child_device_create()
[all …]
Dvmbus_private.h107 struct hv_device *vmbus_child_device_create(struct hv_guid *type,
111 int vmbus_child_device_register(struct hv_device *child_device_obj);
112 void vmbus_child_device_unregister(struct hv_device *device_obj);
Dvmbus.h34 static inline struct hv_device *device_to_hv_device(struct device *d) in device_to_hv_device()
36 return container_of(d, struct hv_device, device); in device_to_hv_device()
Dnetvsc_drv.c47 struct hv_device *device_ctx;
74 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_open()
97 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_close()
219 static void netvsc_linkstatus_callback(struct hv_device *device_obj, in netvsc_linkstatus_callback()
247 static int netvsc_recv_callback(struct hv_device *device_obj, in netvsc_recv_callback()
359 struct hv_device *device_obj = device_to_hv_device(device); in netvsc_probe()
429 struct hv_device *device_obj = device_to_hv_device(device); in netvsc_remove()
Dstorvsc_api.h95 int (*on_io_request)(struct hv_device *device,
107 int stor_vsc_on_host_reset(struct hv_device *device);
Drndis_filter.c87 static int rndis_filte_device_add(struct hv_device *dev,
90 static int rndis_filter_device_remove(struct hv_device *dev);
94 static int rndis_filter_send(struct hv_device *dev,
378 static int rndis_filter_receive(struct hv_device *dev, in rndis_filter_receive()
756 static int rndis_filte_device_add(struct hv_device *dev, in rndis_filte_device_add()
819 static int rndis_filter_device_remove(struct hv_device *dev) in rndis_filter_device_remove()
840 int rndis_filter_open(struct hv_device *dev) in rndis_filter_open()
850 int rndis_filter_close(struct hv_device *dev) in rndis_filter_close()
860 static int rndis_filter_send(struct hv_device *dev, in rndis_filter_send()
Dstorvsc_drv.c45 struct hv_device *device_ctx;
219 struct hv_device *device_obj = device_to_hv_device(device); in storvsc_probe()
300 struct hv_device *device_obj = device_to_hv_device(device); in storvsc_remove()
590 struct hv_device *device_ctx = host_device_ctx->device_ctx; in storvsc_queuecommand_lck()
825 struct hv_device *device_ctx = host_device_ctx->device_ctx; in storvsc_host_reset_handler()
Dblkvsc.c38 static int blk_vsc_on_device_add(struct hv_device *device, void *additional_info) in blk_vsc_on_device_add()
Dnetvsc.h296 struct hv_device *dev;
Dchannel_mgmt.h232 struct hv_device *device_obj;
Dblkvsc_drv.c98 struct hv_device *device_ctx;
244 struct hv_device *device_obj = device_to_hv_device(device); in blkvsc_probe()
727 struct hv_device *device_obj = device_to_hv_device(device); in blkvsc_remove()
842 struct hv_device *device_ctx = blkdev->device_ctx; in blkvsc_submit_request()