Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vfio/pci/
Dvfio_pci_config.c423 u32 *rbar = vdev->rbar; in vfio_bar_restore() local
432 for (i = PCI_BASE_ADDRESS_0; i <= PCI_BASE_ADDRESS_5; i += 4, rbar++) in vfio_bar_restore()
433 pci_user_write_config_dword(pdev, i, *rbar); in vfio_bar_restore()
435 pci_user_write_config_dword(pdev, PCI_ROM_ADDRESS, *rbar); in vfio_bar_restore()
549 if (vdev->rbar[i]) { in vfio_need_bar_restore()
551 if (ret || vdev->rbar[i] != bar) in vfio_need_bar_restore()
1770 vdev->rbar[0] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_0]); in vfio_config_init()
1771 vdev->rbar[1] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_1]); in vfio_config_init()
1772 vdev->rbar[2] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_2]); in vfio_config_init()
1773 vdev->rbar[3] = le32_to_cpu(*(__le32 *)&vconfig[PCI_BASE_ADDRESS_3]); in vfio_config_init()
[all …]
/linux-6.12.1/include/linux/
Dvfio_pci_core.h70 u32 rbar[7]; member