Home
last modified time | relevance | path

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

/linux-6.15/drivers/input/serio/
H A Dhyperv-keyboard.c90 struct hv_device *hv_dev; member
118 dev_err(&hv_dev->device, in hv_kbd_on_receive()
137 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()
326 kbd_dev->hv_dev = hv_dev; in hv_kbd_probe()
348 hv_dev); in hv_kbd_probe()
363 vmbus_close(hv_dev->channel); in hv_kbd_probe()
[all …]
/linux-6.15/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()
958 kfree(hv_dev); in vmbus_device_release()
2789 if (!hv_dev) { in hv_acpi_init()
[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-6.15/drivers/uio/
H A Duio_hv_generic.c98 struct hv_device *hv_dev = chan->device_obj; in hv_uio_channel_cb() local
99 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_channel_cb()
113 struct hv_device *hv_dev = channel->device_obj; in hv_uio_rescind() local
114 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_rescind()
153 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() local
154 struct device *device = &hv_dev->device; in hv_uio_new_channel()
/linux-6.15/drivers/scsi/
H A Dstorvsc_drv.c152 static bool hv_dev_is_fc(struct hv_device *hv_dev);
1929 static bool hv_dev_is_fc(struct hv_device *hv_dev) in hv_dev_is_fc() argument
1931 return guid_equal(&fc_guid.guid, &hv_dev->dev_type); in hv_dev_is_fc()
2157 static int storvsc_suspend(struct hv_device *hv_dev) in storvsc_suspend() argument
2159 struct storvsc_device *stor_device = hv_get_drvdata(hv_dev); in storvsc_suspend()
2167 vmbus_close(hv_dev->channel); in storvsc_suspend()
2177 static int storvsc_resume(struct hv_device *hv_dev) in storvsc_resume() argument
2181 ret = storvsc_connect_to_vsp(hv_dev, aligned_ringbuffer_size, in storvsc_resume()
2182 hv_dev_is_fc(hv_dev)); in storvsc_resume()
/linux-6.15/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
1039 dma = dma_map_single(&hv_dev->device, src, len, in netvsc_dma_map()
1041 if (dma_mapping_error(&hv_dev->device, dma)) { in netvsc_dma_map()
H A Drndis_filter.c1282 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel() local
1295 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
H A Dhyperv_net.h1816 void netvsc_dma_unmap(struct hv_device *hv_dev,
/linux-6.15/drivers/pci/controller/
H A Dpci-hyperv.c2360 struct hv_pci_dev *hv_dev; in hv_pci_assign_numa_node() local
2363 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn)); in hv_pci_assign_numa_node()
2364 if (!hv_dev) in hv_pci_assign_numa_node()
2367 if (hv_dev->desc.flags & HV_PCI_DEVICE_FLAG_NUMA_AFFINITY && in hv_pci_assign_numa_node()
2368 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
2377 hv_dev->desc.virtual_numa_node)); in hv_pci_assign_numa_node()
2379 put_pcichild(hv_dev); in hv_pci_assign_numa_node()
/linux-6.15/net/vmw_vsock/
H A Dhyperv_transport.c896 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend() argument