Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c216 __le32 virt_val = 0; in vfio_default_config_write() local
218 memcpy(&virt_val, vdev->vconfig + pos, count); in vfio_default_config_write()
220 virt_val &= ~(write & virt); in vfio_default_config_write()
221 virt_val |= (val & (write & virt)); in vfio_default_config_write()
223 memcpy(vdev->vconfig + pos, &virt_val, count); in vfio_default_config_write()