Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/serio/
H A Dhyperv-keyboard.c90 struct hv_device *hv_dev; member
119 dev_err(&hv_dev->device, in hv_kbd_on_receive()
138 dev_err(&hv_dev->device, in hv_kbd_on_receive()
177 dev_err(&hv_dev->device, in hv_kbd_on_receive()
220 dev_err(&hv_dev->device, in hv_kbd_handle_received_packet()
231 dev_err(&hv_dev->device, in hv_kbd_handle_received_packet()
283 dev_err(&hv_dev->device, in hv_kbd_connect_to_vsp()
328 kbd_dev->hv_dev = hv_dev; in hv_kbd_probe()
350 hv_dev); in hv_kbd_probe()
365 vmbus_close(hv_dev->channel); in hv_kbd_probe()
[all …]
/openbmc/linux/drivers/hv/
H A Dvmbus_drv.c85 if (hv_dev == NULL) in vmbus_exists()
132 if (!hv_dev->channel) in id_show()
143 if (!hv_dev->channel) in state_show()
154 if (!hv_dev->channel) in monitor_id_show()
165 if (!hv_dev->channel) in class_id_show()
177 if (!hv_dev->channel) in device_id_show()
199 if (!hv_dev->channel) in numa_node_show()
213 if (!hv_dev->channel) in server_monitor_pending_show()
968 kfree(hv_dev); in vmbus_device_release()
2639 if (!hv_dev) { in hv_acpi_init()
[all …]
H A Dhv_balloon.c2082 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend() argument
2084 struct hv_dynmem_device *dm = hv_get_drvdata(hv_dev); in balloon_suspend()
2086 tasklet_disable(&hv_dev->channel->callback_event); in balloon_suspend()
2094 vmbus_close(hv_dev->channel); in balloon_suspend()
2097 tasklet_enable(&hv_dev->channel->callback_event); in balloon_suspend()
/openbmc/linux/drivers/uio/
H A Duio_hv_generic.c96 struct hv_device *hv_dev = chan->device_obj; in hv_uio_channel_cb() local
97 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_channel_cb()
111 struct hv_device *hv_dev = channel->device_obj; in hv_uio_rescind() local
112 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_rescind()
163 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() local
164 struct device *device = &hv_dev->device; in hv_uio_new_channel()
/openbmc/linux/drivers/scsi/
H A Dstorvsc_drv.c1916 static bool hv_dev_is_fc(struct hv_device *hv_dev) in hv_dev_is_fc() argument
1918 return guid_equal(&fc_guid.guid, &hv_dev->dev_type); in hv_dev_is_fc()
2144 static int storvsc_suspend(struct hv_device *hv_dev) in storvsc_suspend() argument
2146 struct storvsc_device *stor_device = hv_get_drvdata(hv_dev); in storvsc_suspend()
2154 vmbus_close(hv_dev->channel); in storvsc_suspend()
2164 static int storvsc_resume(struct hv_device *hv_dev) in storvsc_resume() argument
2168 ret = storvsc_connect_to_vsp(hv_dev, aligned_ringbuffer_size, in storvsc_resume()
2169 hv_dev_is_fc(hv_dev)); in storvsc_resume()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc.c973 void netvsc_dma_unmap(struct hv_device *hv_dev, in netvsc_dma_unmap() argument
985 dma_unmap_single(&hv_dev->device, packet->dma_range[i].dma, in netvsc_dma_unmap()
1010 static int netvsc_dma_map(struct hv_device *hv_dev, in netvsc_dma_map() argument
1032 dma = dma_map_single(&hv_dev->device, src, len, in netvsc_dma_map()
1034 if (dma_mapping_error(&hv_dev->device, dma)) { in netvsc_dma_map()
H A Drndis_filter.c1292 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel() local
1305 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
H A Dhyperv_net.h1803 void netvsc_dma_unmap(struct hv_device *hv_dev,
/openbmc/linux/drivers/pci/controller/
H A Dpci-hyperv.c2367 struct hv_pci_dev *hv_dev; in hv_pci_assign_numa_node() local
2370 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn)); in hv_pci_assign_numa_node()
2371 if (!hv_dev) in hv_pci_assign_numa_node()
2374 if (hv_dev->desc.flags & HV_PCI_DEVICE_FLAG_NUMA_AFFINITY && in hv_pci_assign_numa_node()
2375 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
2384 hv_dev->desc.virtual_numa_node)); in hv_pci_assign_numa_node()
2386 put_pcichild(hv_dev); in hv_pci_assign_numa_node()
/openbmc/linux/net/vmw_vsock/
H A Dhyperv_transport.c896 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend() argument