Lines Matching refs:supported
363 u16 control, supported; in pci_enable_pasid() local
385 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_enable_pasid()
386 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_enable_pasid()
389 if ((supported & features) != features) in pci_enable_pasid()
462 u16 supported; in pci_pasid_features() local
472 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_pasid_features()
474 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_pasid_features()
476 return supported; in pci_pasid_features()
491 u16 supported; in pci_max_pasids() local
501 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_max_pasids()
503 supported = (supported & PASID_NUMBER_MASK) >> PASID_NUMBER_SHIFT; in pci_max_pasids()
505 return (1 << supported); in pci_max_pasids()