Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/input/serio/
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()
119 dev_err(&hv_dev->device, in hv_kbd_on_receive()
138 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-5.19.10/drivers/hv/
Dvmbus_drv.c171 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show() local
173 if (!hv_dev->channel) in id_show()
175 return sprintf(buf, "%d\n", hv_dev->channel->offermsg.child_relid); in id_show()
182 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show() local
184 if (!hv_dev->channel) in state_show()
186 return sprintf(buf, "%d\n", hv_dev->channel->state); in state_show()
193 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show() local
195 if (!hv_dev->channel) in monitor_id_show()
197 return sprintf(buf, "%d\n", hv_dev->channel->offermsg.monitorid); in monitor_id_show()
204 struct hv_device *hv_dev = device_to_hv_device(dev); in class_id_show() local
[all …]
Dhv_balloon.c1915 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend() argument
1917 struct hv_dynmem_device *dm = hv_get_drvdata(hv_dev); in balloon_suspend()
1919 tasklet_disable(&hv_dev->channel->callback_event); in balloon_suspend()
1927 vmbus_close(hv_dev->channel); in balloon_suspend()
1930 tasklet_enable(&hv_dev->channel->callback_event); in balloon_suspend()
/linux-5.19.10/drivers/uio/
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()
110 struct hv_device *hv_dev = channel->primary_channel->device_obj; in hv_uio_rescind() local
111 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_rescind()
154 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() local
155 struct device *device = &hv_dev->device; in hv_uio_new_channel()
/linux-5.19.10/drivers/scsi/
Dstorvsc_drv.c1880 static bool hv_dev_is_fc(struct hv_device *hv_dev) in hv_dev_is_fc() argument
1882 return guid_equal(&fc_guid.guid, &hv_dev->dev_type); in hv_dev_is_fc()
2107 static int storvsc_suspend(struct hv_device *hv_dev) in storvsc_suspend() argument
2109 struct storvsc_device *stor_device = hv_get_drvdata(hv_dev); in storvsc_suspend()
2117 vmbus_close(hv_dev->channel); in storvsc_suspend()
2127 static int storvsc_resume(struct hv_device *hv_dev) in storvsc_resume() argument
2131 ret = storvsc_connect_to_vsp(hv_dev, storvsc_ringbuffer_size, in storvsc_resume()
2132 hv_dev_is_fc(hv_dev)); in storvsc_resume()
/linux-5.19.10/drivers/net/hyperv/
Dnetvsc.c987 void netvsc_dma_unmap(struct hv_device *hv_dev, in netvsc_dma_unmap() argument
1002 dma_unmap_single(&hv_dev->device, packet->dma_range[i].dma, in netvsc_dma_unmap()
1027 static int netvsc_dma_map(struct hv_device *hv_dev, in netvsc_dma_map() argument
1051 dma = dma_map_single(&hv_dev->device, src, len, in netvsc_dma_map()
1053 if (dma_mapping_error(&hv_dev->device, dma)) { in netvsc_dma_map()
Drndis_filter.c1289 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel() local
1302 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
Dhyperv_net.h1800 void netvsc_dma_unmap(struct hv_device *hv_dev,
/linux-5.19.10/drivers/pci/controller/
Dpci-hyperv.c2223 struct hv_pci_dev *hv_dev; in hv_pci_assign_numa_node() local
2226 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn)); in hv_pci_assign_numa_node()
2227 if (!hv_dev) in hv_pci_assign_numa_node()
2230 if (hv_dev->desc.flags & HV_PCI_DEVICE_FLAG_NUMA_AFFINITY && in hv_pci_assign_numa_node()
2231 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
2240 hv_dev->desc.virtual_numa_node)); in hv_pci_assign_numa_node()
2242 put_pcichild(hv_dev); in hv_pci_assign_numa_node()
/linux-5.19.10/net/vmw_vsock/
Dhyperv_transport.c890 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend() argument