Searched refs:acs_flags (Results 1 – 3 of 3) sorted by relevance
/drivers/pci/ |
D | quirks.c | 4324 static int pci_quirk_amd_sb_acs(struct pci_dev *dev, u16 acs_flags) in pci_quirk_amd_sb_acs() argument 4340 acs_flags &= (PCI_ACS_RR | PCI_ACS_CR | PCI_ACS_EC | PCI_ACS_DT); in pci_quirk_amd_sb_acs() 4342 return acs_flags & ~(PCI_ACS_RR | PCI_ACS_CR) ? 0 : 1; in pci_quirk_amd_sb_acs() 4367 static int pci_quirk_cavium_acs(struct pci_dev *dev, u16 acs_flags) in pci_quirk_cavium_acs() argument 4377 acs_flags &= ~(PCI_ACS_RR | PCI_ACS_CR | PCI_ACS_SV | PCI_ACS_UF); in pci_quirk_cavium_acs() 4382 return acs_flags ? 0 : 1; in pci_quirk_cavium_acs() 4385 static int pci_quirk_xgene_acs(struct pci_dev *dev, u16 acs_flags) in pci_quirk_xgene_acs() argument 4392 acs_flags &= ~(PCI_ACS_SV | PCI_ACS_RR | PCI_ACS_CR | PCI_ACS_UF); in pci_quirk_xgene_acs() 4394 return acs_flags ? 0 : 1; in pci_quirk_xgene_acs() 4448 static int pci_quirk_intel_pch_acs(struct pci_dev *dev, u16 acs_flags) in pci_quirk_intel_pch_acs() argument [all …]
|
D | pci.h | 508 int pci_dev_specific_acs_enabled(struct pci_dev *dev, u16 acs_flags); 513 u16 acs_flags) in pci_dev_specific_acs_enabled() argument
|
D | pci.c | 3293 static bool pci_acs_flags_enabled(struct pci_dev *pdev, u16 acs_flags) in pci_acs_flags_enabled() argument 3308 acs_flags &= (cap | PCI_ACS_EC); in pci_acs_flags_enabled() 3311 return (ctrl & acs_flags) == acs_flags; in pci_acs_flags_enabled() 3330 bool pci_acs_enabled(struct pci_dev *pdev, u16 acs_flags) in pci_acs_enabled() argument 3334 ret = pci_dev_specific_acs_enabled(pdev, acs_flags); in pci_acs_enabled() 3369 return pci_acs_flags_enabled(pdev, acs_flags); in pci_acs_enabled() 3384 return pci_acs_flags_enabled(pdev, acs_flags); in pci_acs_enabled() 3404 struct pci_dev *end, u16 acs_flags) in pci_acs_path_enabled() argument 3411 if (!pci_acs_enabled(pdev, acs_flags)) in pci_acs_path_enabled()
|