Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci_config.c408 u32 *rbar = vdev->rbar; in vfio_bar_restore() local
418 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 …]
Dvfio_pci_private.h97 u32 rbar[7]; member