Searched +full:5 +full:vdc (Results 1 – 5 of 5) sorted by relevance
/qemu/hw/net/ |
H A D | virtio-net.c | 72 #define VIRTIO_NET_IP4_HEADER_LENGTH 5 480 for (i = 0; i < MAX_VLAN >> 5; i++) { in get_vlan_table() 483 QAPI_LIST_PREPEND(list, (i << 5) + j); in get_vlan_table() 1211 n->vlans[vid >> 5] |= (1U << (vid & 0x1f)); in virtio_net_handle_vlan_table() 1213 n->vlans[vid >> 5] &= ~(1U << (vid & 0x1f)); in virtio_net_handle_vlan_table() 1757 if (!(n->vlans[vid >> 5] & (1U << (vid & 0x1f)))) in receive_filter() 3761 if (strncmp(n->net_conf.duplex_str, "half", 5) == 0) { in virtio_net_device_realize() 3763 } else if (strncmp(n->net_conf.duplex_str, "full", 5) == 0) { in virtio_net_device_realize() 4047 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(dev); in dev_unplug_pending() local 4049 return vdc->primary_unplug_pending(dev); in dev_unplug_pending() [all …]
|
/qemu/hw/virtio/ |
H A D | virtio-nsm.c | 32 NSM_BUFFER_TOO_SMALL = 5, 335 if (str && cbor_string_length(pair[i].key) == 5 && in get_nsm_describe_pcr_req() 336 memcmp(str, "index", 5) == 0) { in get_nsm_describe_pcr_req() 494 if (cbor_string_length(pair[i].key) == 5 && in get_nsm_extend_pcr_req() 495 memcmp(str, "index", 5) == 0) { in get_nsm_extend_pcr_req() 683 if (str && cbor_string_length(pair[i].key) == 5 && in get_nsm_lock_pcr_req() 684 memcmp(str, "index", 5) == 0) { in get_nsm_lock_pcr_req() 818 if (str && cbor_string_length(pair[i].key) == 5 && in get_nsm_lock_pcrs_req() 819 memcmp(str, "range", 5) == 0) { in get_nsm_lock_pcrs_req() 1024 if (cbor_string_length(pair[i].key) == 5 && in get_nsm_attestation_req() [all …]
|
H A D | virtio-pci.c | 1181 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_pci_set_guest_notifier() local 1206 vdc->guest_notifier_mask) { in virtio_pci_set_guest_notifier() 1207 vdc->guest_notifier_mask(vdev, n, !assign); in virtio_pci_set_guest_notifier() 1497 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_pci_common_read() local 1499 val = (vdev->host_features & ~vdc->legacy_features) >> in virtio_pci_common_read() 2168 * region 4+5 -- virtio modern memory (64bit) bar in virtio_pci_realize()
|
/qemu/hw/audio/ |
H A D | virtio-snd.c | 218 memset(&pcm_info[i].padding, 0, 5); in virtio_snd_handle_pcm_info() 1367 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_snd_class_init() local 1374 vdc->vmsd = &vmstate_virtio_snd_device; in virtio_snd_class_init() 1375 vdc->realize = virtio_snd_realize; in virtio_snd_class_init() 1376 vdc->unrealize = virtio_snd_unrealize; in virtio_snd_class_init() 1377 vdc->get_config = virtio_snd_get_config; in virtio_snd_class_init() 1378 vdc->get_features = get_features; in virtio_snd_class_init() 1379 vdc->reset = virtio_snd_reset; in virtio_snd_class_init() 1380 vdc->legacy_features = 0; in virtio_snd_class_init()
|
/qemu/hw/display/ |
H A D | virtio-gpu.c | 238 int stride = ((width * bpp + 0x1f) >> 5) * sizeof(uint32_t); in calc_image_hostmem() 1690 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_gpu_class_init() local 1700 vdc->realize = virtio_gpu_device_realize; in virtio_gpu_class_init() 1701 vdc->unrealize = virtio_gpu_device_unrealize; in virtio_gpu_class_init() 1702 vdc->reset = virtio_gpu_reset; in virtio_gpu_class_init() 1703 vdc->get_config = virtio_gpu_get_config; in virtio_gpu_class_init() 1704 vdc->set_config = virtio_gpu_set_config; in virtio_gpu_class_init()
|