mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_*
Rename helper functions to make a clearer distinction between the PCIe capability/control register feature ARI forwarding and a device that supports the ARI feature via an ARI extended PCIe capability. Signed-off-by: Knut Omang <knut.omang@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
ec70b46bab
commit
821be9dbb2
4 changed files with 13 additions and 10 deletions
|
@ -103,9 +103,10 @@ void pcie_cap_flr_init(PCIDevice *dev);
|
|||
void pcie_cap_flr_write_config(PCIDevice *dev,
|
||||
uint32_t addr, uint32_t val, int len);
|
||||
|
||||
void pcie_cap_ari_init(PCIDevice *dev);
|
||||
void pcie_cap_ari_reset(PCIDevice *dev);
|
||||
bool pcie_cap_is_ari_enabled(const PCIDevice *dev);
|
||||
/* ARI forwarding capability and control */
|
||||
void pcie_cap_arifwd_init(PCIDevice *dev);
|
||||
void pcie_cap_arifwd_reset(PCIDevice *dev);
|
||||
bool pcie_cap_is_arifwd_enabled(const PCIDevice *dev);
|
||||
|
||||
/* PCI express extended capability helper functions */
|
||||
uint16_t pcie_find_capability(PCIDevice *dev, uint16_t cap_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue