Lines Matching refs:emulated_config_bits
1220 memcpy(&emu_bits, vdev->emulated_config_bits + addr, len); in vfio_pci_read_config()
1887 vfio_set_word_bits(vdev->emulated_config_bits + pos, mask, mask); in vfio_add_emulated_word()
1900 vfio_set_long_bits(vdev->emulated_config_bits + pos, mask, mask); in vfio_add_emulated_long()
2192 vdev->emulated_config_bits[PCI_CAPABILITY_LIST] = 0xff; in vfio_add_std_cap()
2193 vdev->emulated_config_bits[PCI_STATUS] |= PCI_STATUS_CAP_LIST; in vfio_add_std_cap()
2204 pci_set_byte(vdev->emulated_config_bits + pos + PCI_CAP_LIST_NEXT, 0xff); in vfio_add_std_cap()
2340 pci_set_long(vdev->emulated_config_bits + PCI_CONFIG_SPACE_SIZE, ~0); in vfio_add_ext_cap()
2357 pci_long_test_and_set_mask(vdev->emulated_config_bits + next, in vfio_add_ext_cap()
3034 vdev->emulated_config_bits = g_malloc0(vdev->config_size); in vfio_realize()
3037 memset(vdev->emulated_config_bits + PCI_ROM_ADDRESS, 0xff, 4); in vfio_realize()
3039 memset(vdev->emulated_config_bits + PCI_BASE_ADDRESS_0, 0xff, 6 * 4); in vfio_realize()
3090 vdev->emulated_config_bits[PCI_HEADER_TYPE] = in vfio_realize()
3163 memset(vdev->emulated_config_bits + pdev->msix_cap, 0xff, in vfio_realize()
3168 memset(vdev->emulated_config_bits + pdev->msi_cap, 0xff, in vfio_realize()
3258 g_free(vdev->emulated_config_bits); in vfio_instance_finalize()