Home
last modified time | relevance | path

Searched refs:device_caps (Results 1 – 11 of 11) sorted by relevance

/devicemodel/hw/pci/virtio/
A Dvirtio.c619 } else if ((base->device_caps & in vq_getchain()
958 value = base->device_caps; in virtio_pci_legacy_read()
1099 base->negotiated_caps = value & base->device_caps; in virtio_pci_legacy_write()
1339 if (!vops || (base->device_caps & (1UL << VIRTIO_F_VERSION_1)) == 0) in virtio_set_modern_bar()
1415 value = base->device_caps & 0xffffffff; in virtio_common_cfg_read()
1417 value = (base->device_caps >> 32) & 0xffffffff; in virtio_common_cfg_read()
1541 features = base->device_caps & value; in virtio_common_cfg_write()
1545 & base->device_caps; in virtio_common_cfg_write()
2038 if (base->device_caps & (1UL << VIRTIO_F_VERSION_1)) { in virtio_register_ioeventfd()
2060 base->device_caps); in virtio_register_ioeventfd()
A Dvirtio_block.c453 blk->base.device_caps = in virtio_blk_update_config_space()
775 blk->base.device_caps |= VIRTIO_BLK_F_FLUSH; in virtio_blk_cfgwrite()
777 blk->base.device_caps &= ~VIRTIO_BLK_F_FLUSH; in virtio_blk_cfgwrite()
A Dvhost_vsock.c283 vsock->base.device_caps = (1UL << VIRTIO_F_VERSION_1) | VHOST_VSOCK_FEATURES; in virtio_vhost_vsock_init()
A Dvhost.c566 vdev->base->device_caps &= ~(vhost_features ^ features); in vhost_dev_init()
A Dvirtio_i2c.c828 vi2c->base.device_caps = VIRTIO_I2C_HOSTCAPS; in virtio_i2c_init()
A Dvirtio_input.c689 vi->base.device_caps = VIRTIO_INPUT_S_HOSTCAPS; in virtio_input_init()
A Dvirtio_net.c921 net->base.device_caps = VIRTIO_NET_S_HOSTCAPS; in virtio_net_init()
A Dvirtio_console.c1148 console->base.device_caps = VIRTIO_CONSOLE_S_HOSTCAPS; in virtio_console_init()
A Dvirtio_gpu.c1701 gpu->base.device_caps = VIRTIO_GPU_S_HOSTCAPS; in virtio_gpu_init()
1745 gpu->base.device_caps |= (1UL << VIRTIO_GPU_F_RESOURCE_BLOB); in virtio_gpu_init()
A Dvirtio_gpio.c1367 gpio->base.device_caps = VIRTIO_GPIO_S_HOSTCAPS; in virtio_gpio_init()
/devicemodel/include/
A Dvirtio.h353 uint64_t device_caps; /**< device capabilities */ member

Completed in 36 milliseconds