Searched refs:rbar (Results 1 – 2 of 2) sorted by relevance
408 u32 *rbar = vdev->rbar; in vfio_bar_restore() local418 for (i = PCI_BASE_ADDRESS_0; i <= PCI_BASE_ADDRESS_5; i += 4, rbar++) in vfio_bar_restore()419 pci_user_write_config_dword(pdev, i, *rbar); in vfio_bar_restore()421 pci_user_write_config_dword(pdev, PCI_ROM_ADDRESS, *rbar); in vfio_bar_restore()530 if (vdev->rbar[i]) { in vfio_need_bar_restore()532 if (ret || vdev->rbar[i] != bar) in vfio_need_bar_restore()1666 vdev->rbar[0] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_0]); in vfio_config_init()1667 vdev->rbar[1] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_1]); in vfio_config_init()1668 vdev->rbar[2] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_2]); in vfio_config_init()1669 vdev->rbar[3] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_3]); in vfio_config_init()[all …]
97 u32 rbar[7]; member