Home
last modified time | relevance | path

Searched refs:hv_dev (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/input/serio/
H A Dhyperv-keyboard.c90 struct hv_device *hv_dev; member
100 static void hv_kbd_on_receive(struct hv_device *hv_dev, in hv_kbd_on_receive() argument
103 struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); in hv_kbd_on_receive()
118 dev_err(&hv_dev->device, in hv_kbd_on_receive()
137 dev_err(&hv_dev->device, in hv_kbd_on_receive()
172 pm_wakeup_hard_event(&hv_dev->device); in hv_kbd_on_receive()
177 dev_err(&hv_dev->device, in hv_kbd_on_receive()
182 static void hv_kbd_handle_received_packet(struct hv_device *hv_dev, in hv_kbd_handle_received_packet() argument
220 dev_err(&hv_dev->device, in hv_kbd_handle_received_packet()
227 hv_kbd_on_receive(hv_dev, msg, msg_sz); in hv_kbd_handle_received_packet()
[all …]
/linux/drivers/hv/
H A Dvmbus_drv.c150 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show()
152 if (!hv_dev->channel) in id_show()
154 return sysfs_emit(buf, "%d\n", hv_dev->channel->offermsg.child_relid); in id_show()
161 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show()
163 if (!hv_dev->channel) in state_show()
165 return sysfs_emit(buf, "%d\n", hv_dev->channel->state); in state_show()
172 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show()
174 if (!hv_dev->channel) in monitor_id_show()
176 return sysfs_emit(buf, "%d\n", hv_dev->channel->offermsg.monitorid); in monitor_id_show()
183 struct hv_device *hv_dev in class_id_show()
151 struct hv_device *hv_dev = device_to_hv_device(dev); id_show() local
162 struct hv_device *hv_dev = device_to_hv_device(dev); state_show() local
173 struct hv_device *hv_dev = device_to_hv_device(dev); monitor_id_show() local
184 struct hv_device *hv_dev = device_to_hv_device(dev); class_id_show() local
196 struct hv_device *hv_dev = device_to_hv_device(dev); device_id_show() local
208 struct hv_device *hv_dev = device_to_hv_device(dev); modalias_show() local
218 struct hv_device *hv_dev = device_to_hv_device(dev); numa_node_show() local
232 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_pending_show() local
245 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_pending_show() local
258 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_latency_show() local
271 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_latency_show() local
284 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_conn_id_show() local
297 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_conn_id_show() local
309 struct hv_device *hv_dev = device_to_hv_device(dev); out_intr_mask_show() local
328 struct hv_device *hv_dev = device_to_hv_device(dev); out_read_index_show() local
347 struct hv_device *hv_dev = device_to_hv_device(dev); out_write_index_show() local
366 struct hv_device *hv_dev = device_to_hv_device(dev); out_read_bytes_avail_show() local
385 struct hv_device *hv_dev = device_to_hv_device(dev); out_write_bytes_avail_show() local
403 struct hv_device *hv_dev = device_to_hv_device(dev); in_intr_mask_show() local
421 struct hv_device *hv_dev = device_to_hv_device(dev); in_read_index_show() local
439 struct hv_device *hv_dev = device_to_hv_device(dev); in_write_index_show() local
458 struct hv_device *hv_dev = device_to_hv_device(dev); in_read_bytes_avail_show() local
477 struct hv_device *hv_dev = device_to_hv_device(dev); in_write_bytes_avail_show() local
496 struct hv_device *hv_dev = device_to_hv_device(dev); channel_vp_mapping_show() local
528 struct hv_device *hv_dev = device_to_hv_device(dev); vendor_show() local
538 struct hv_device *hv_dev = device_to_hv_device(dev); device_show() local
548 struct hv_device *hv_dev = device_to_hv_device(dev); driver_override_store() local
561 struct hv_device *hv_dev = device_to_hv_device(dev); driver_override_show() local
614 const struct hv_device *hv_dev = device_to_hv_device(dev); vmbus_dev_attr_is_visible() local
859 struct hv_device *hv_dev = device_to_hv_device(device); vmbus_match() local
994 struct hv_device *hv_dev = device_to_hv_device(device); vmbus_device_release() local
[all...]
H A Dhv_balloon.c2058 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend() argument
2060 struct hv_dynmem_device *dm = hv_get_drvdata(hv_dev); in balloon_suspend()
2062 tasklet_disable(&hv_dev->channel->callback_event); in balloon_suspend()
2070 vmbus_close(hv_dev->channel); in balloon_suspend()
2073 tasklet_enable(&hv_dev->channel->callback_event); in balloon_suspend()
/linux/drivers/scsi/
H A Dstorvsc_drv.c152 static bool hv_dev_is_fc(struct hv_device *hv_dev);
1928 static bool hv_dev_is_fc(struct hv_device *hv_dev) in hv_dev_is_fc() argument
1930 return guid_equal(&fc_guid.guid, &hv_dev->dev_type); in hv_dev_is_fc()
2156 static int storvsc_suspend(struct hv_device *hv_dev) in storvsc_suspend() argument
2158 struct storvsc_device *stor_device = hv_get_drvdata(hv_dev); in storvsc_suspend()
2166 vmbus_close(hv_dev->channel); in storvsc_suspend()
2176 static int storvsc_resume(struct hv_device *hv_dev) in storvsc_resume() argument
2180 ret = storvsc_connect_to_vsp(hv_dev, aligned_ringbuffer_size, in storvsc_resume()
2181 hv_dev_is_fc(hv_dev)); in storvsc_resume()
/linux/drivers/net/hyperv/
H A Dnetvsc.c980 void netvsc_dma_unmap(struct hv_device *hv_dev, in netvsc_dma_unmap() argument
992 dma_unmap_single(&hv_dev->device, packet->dma_range[i].dma, in netvsc_dma_unmap()
1017 static int netvsc_dma_map(struct hv_device *hv_dev, in netvsc_dma_map() argument
1038 dma = dma_map_single(&hv_dev->device, src, len, in netvsc_dma_map()
1040 if (dma_mapping_error(&hv_dev->device, dma)) { in netvsc_dma_map()
H A Drndis_filter.c1291 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel() local
1304 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
H A Dhyperv_net.h1819 void netvsc_dma_unmap(struct hv_device *hv_dev,
/linux/drivers/pci/controller/
H A Dpci-hyperv.c2481 struct hv_pci_dev *hv_dev; in hv_pci_assign_numa_node() local
2484 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn)); in hv_pci_assign_numa_node()
2485 if (!hv_dev) in hv_pci_assign_numa_node()
2496 if (hv_dev->desc.flags & HV_PCI_DEVICE_FLAG_NUMA_AFFINITY && in hv_pci_assign_numa_node()
2497 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
2506 hv_dev->desc.virtual_numa_node)); in hv_pci_assign_numa_node()
2508 put_pcichild(hv_dev); in hv_pci_assign_numa_node()
/linux/net/vmw_vsock/
H A Dhyperv_transport.c910 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend() argument