Home
last modified time | relevance | path

Searched refs:hv_dev (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/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()
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, ms in hv_kbd_handle_received_packet()
241 struct hv_device *hv_dev = context; hv_kbd_on_channel_callback() local
254 hv_kbd_connect_to_vsp(struct hv_device *hv_dev) hv_kbd_connect_to_vsp() argument
314 hv_kbd_probe(struct hv_device *hv_dev, const struct hv_vmbus_device_id *dev_id) hv_kbd_probe() argument
372 hv_kbd_remove(struct hv_device *hv_dev) hv_kbd_remove() argument
385 hv_kbd_suspend(struct hv_device *hv_dev) hv_kbd_suspend() argument
392 hv_kbd_resume(struct hv_device *hv_dev) hv_kbd_resume() argument
[all...]
/kernel/linux/linux-6.6/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()
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, ms in hv_kbd_handle_received_packet()
241 struct hv_device *hv_dev = context; hv_kbd_on_channel_callback() local
254 hv_kbd_connect_to_vsp(struct hv_device *hv_dev) hv_kbd_connect_to_vsp() argument
314 hv_kbd_probe(struct hv_device *hv_dev, const struct hv_vmbus_device_id *dev_id) hv_kbd_probe() argument
372 hv_kbd_remove(struct hv_device *hv_dev) hv_kbd_remove() argument
383 hv_kbd_suspend(struct hv_device *hv_dev) hv_kbd_suspend() argument
390 hv_kbd_resume(struct hv_device *hv_dev) hv_kbd_resume() argument
[all...]
/kernel/linux/linux-6.6/drivers/hv/
H A Dvmbus_drv.c48 static struct device *hv_dev; variable
85 if (hv_dev == NULL) in vmbus_exists()
130 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show() local
132 if (!hv_dev->channel) in id_show()
134 return sprintf(buf, "%d\n", hv_dev->channel->offermsg.child_relid); in id_show()
141 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show() local
143 if (!hv_dev->channel) in state_show()
145 return sprintf(buf, "%d\n", hv_dev->channel->state); in state_show()
152 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show() local
154 if (!hv_dev in monitor_id_show()
163 struct hv_device *hv_dev = device_to_hv_device(dev); class_id_show() local
175 struct hv_device *hv_dev = device_to_hv_device(dev); device_id_show() local
187 struct hv_device *hv_dev = device_to_hv_device(dev); modalias_show() local
197 struct hv_device *hv_dev = device_to_hv_device(dev); numa_node_show() local
211 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_pending_show() local
225 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_pending_show() local
239 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_latency_show() local
253 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_latency_show() local
267 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_conn_id_show() local
281 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_conn_id_show() local
294 struct hv_device *hv_dev = device_to_hv_device(dev); out_intr_mask_show() local
313 struct hv_device *hv_dev = device_to_hv_device(dev); out_read_index_show() local
332 struct hv_device *hv_dev = device_to_hv_device(dev); out_write_index_show() local
351 struct hv_device *hv_dev = device_to_hv_device(dev); out_read_bytes_avail_show() local
370 struct hv_device *hv_dev = device_to_hv_device(dev); out_write_bytes_avail_show() local
388 struct hv_device *hv_dev = device_to_hv_device(dev); in_intr_mask_show() local
406 struct hv_device *hv_dev = device_to_hv_device(dev); in_read_index_show() local
424 struct hv_device *hv_dev = device_to_hv_device(dev); in_write_index_show() local
443 struct hv_device *hv_dev = device_to_hv_device(dev); in_read_bytes_avail_show() local
462 struct hv_device *hv_dev = device_to_hv_device(dev); in_write_bytes_avail_show() local
481 struct hv_device *hv_dev = device_to_hv_device(dev); channel_vp_mapping_show() local
517 struct hv_device *hv_dev = device_to_hv_device(dev); vendor_show() local
527 struct hv_device *hv_dev = device_to_hv_device(dev); device_show() local
537 struct hv_device *hv_dev = device_to_hv_device(dev); driver_override_store() local
550 struct hv_device *hv_dev = device_to_hv_device(dev); driver_override_show() local
603 const struct hv_device *hv_dev = device_to_hv_device(dev); vmbus_dev_attr_is_visible() local
825 struct hv_device *hv_dev = device_to_hv_device(device); vmbus_match() local
960 struct hv_device *hv_dev = device_to_hv_device(device); vmbus_device_release() local
[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()
/kernel/linux/linux-5.10/drivers/hv/
H A Dvmbus_drv.c165 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show() local
167 if (!hv_dev->channel) in id_show()
169 return sprintf(buf, "%d\n", hv_dev->channel->offermsg.child_relid); in id_show()
176 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show() local
178 if (!hv_dev->channel) in state_show()
180 return sprintf(buf, "%d\n", hv_dev->channel->state); in state_show()
187 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show() local
189 if (!hv_dev->channel) in monitor_id_show()
191 return sprintf(buf, "%d\n", hv_dev->channel->offermsg.monitorid); in monitor_id_show()
198 struct hv_device *hv_dev in class_id_show() local
210 struct hv_device *hv_dev = device_to_hv_device(dev); device_id_show() local
222 struct hv_device *hv_dev = device_to_hv_device(dev); modalias_show() local
232 struct hv_device *hv_dev = device_to_hv_device(dev); numa_node_show() local
246 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_pending_show() local
260 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_pending_show() local
274 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_latency_show() local
288 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_latency_show() local
302 struct hv_device *hv_dev = device_to_hv_device(dev); server_monitor_conn_id_show() local
316 struct hv_device *hv_dev = device_to_hv_device(dev); client_monitor_conn_id_show() local
329 struct hv_device *hv_dev = device_to_hv_device(dev); out_intr_mask_show() local
348 struct hv_device *hv_dev = device_to_hv_device(dev); out_read_index_show() local
367 struct hv_device *hv_dev = device_to_hv_device(dev); out_write_index_show() local
386 struct hv_device *hv_dev = device_to_hv_device(dev); out_read_bytes_avail_show() local
405 struct hv_device *hv_dev = device_to_hv_device(dev); out_write_bytes_avail_show() local
423 struct hv_device *hv_dev = device_to_hv_device(dev); in_intr_mask_show() local
441 struct hv_device *hv_dev = device_to_hv_device(dev); in_read_index_show() local
459 struct hv_device *hv_dev = device_to_hv_device(dev); in_write_index_show() local
478 struct hv_device *hv_dev = device_to_hv_device(dev); in_read_bytes_avail_show() local
497 struct hv_device *hv_dev = device_to_hv_device(dev); in_write_bytes_avail_show() local
516 struct hv_device *hv_dev = device_to_hv_device(dev); channel_vp_mapping_show() local
552 struct hv_device *hv_dev = device_to_hv_device(dev); vendor_show() local
561 struct hv_device *hv_dev = device_to_hv_device(dev); device_show() local
570 struct hv_device *hv_dev = device_to_hv_device(dev); driver_override_store() local
603 struct hv_device *hv_dev = device_to_hv_device(dev); driver_override_show() local
656 const struct hv_device *hv_dev = device_to_hv_device(dev); vmbus_dev_attr_is_visible() local
861 struct hv_device *hv_dev = device_to_hv_device(device); vmbus_match() local
984 struct hv_device *hv_dev = device_to_hv_device(device); vmbus_device_release() local
[all...]
H A Dhv_balloon.c1768 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend() argument
1770 struct hv_dynmem_device *dm = hv_get_drvdata(hv_dev); in balloon_suspend()
1772 tasklet_disable(&hv_dev->channel->callback_event); in balloon_suspend()
1780 vmbus_close(hv_dev->channel); in balloon_suspend()
1783 tasklet_enable(&hv_dev->channel->callback_event); in balloon_suspend()
/kernel/linux/linux-6.6/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()
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()
/kernel/linux/linux-5.10/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()
155 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() local
156 struct device *device = &hv_dev->device; in hv_uio_new_channel()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dstorvsc_drv.c1888 static bool hv_dev_is_fc(struct hv_device *hv_dev) in hv_dev_is_fc() argument
1890 return guid_equal(&fc_guid.guid, &hv_dev->dev_type); in hv_dev_is_fc()
2105 static int storvsc_suspend(struct hv_device *hv_dev) in storvsc_suspend() argument
2107 struct storvsc_device *stor_device = hv_get_drvdata(hv_dev); in storvsc_suspend()
2115 vmbus_close(hv_dev->channel); in storvsc_suspend()
2125 static int storvsc_resume(struct hv_device *hv_dev) in storvsc_resume() argument
2129 ret = storvsc_connect_to_vsp(hv_dev, storvsc_ringbuffer_size, in storvsc_resume()
2130 hv_dev_is_fc(hv_dev)); in storvsc_resume()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-hyperv.c1892 struct hv_pci_dev *hv_dev; in hv_pci_assign_numa_node() local
1895 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn)); in hv_pci_assign_numa_node()
1896 if (!hv_dev) in hv_pci_assign_numa_node()
1899 if (hv_dev->desc.flags & HV_PCI_DEVICE_FLAG_NUMA_AFFINITY && in hv_pci_assign_numa_node()
1900 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
1909 hv_dev->desc.virtual_numa_node)); in hv_pci_assign_numa_node()
1911 put_pcichild(hv_dev); in hv_pci_assign_numa_node()
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Dnetvsc.c970 void netvsc_dma_unmap(struct hv_device *hv_dev, in netvsc_dma_unmap() argument
982 dma_unmap_single(&hv_dev->device, packet->dma_range[i].dma, in netvsc_dma_unmap()
1007 static int netvsc_dma_map(struct hv_device *hv_dev, in netvsc_dma_map() argument
1029 dma = dma_map_single(&hv_dev->device, src, len, in netvsc_dma_map()
1031 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,
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Drndis_filter.c1195 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel() local
1208 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
/kernel/linux/linux-5.10/net/vmw_vsock/
H A Dhyperv_transport.c871 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend() argument
/kernel/linux/linux-6.6/net/vmw_vsock/
H A Dhyperv_transport.c895 static int hvs_suspend(struct hv_device *hv_dev) in hvs_suspend() argument

Completed in 39 milliseconds