Lines Matching full:supported
331 * pci_pri_supported - Check if PRI is supported.
358 * whether the features are actually supported by the device and returns
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()
451 * pci_pasid_features - Check which PASID features are supported
455 * Otherwise is returns a bitmask with supported features. Current
457 * PCI_PASID_CAP_EXEC - Execute permission supported
458 * PCI_PASID_CAP_PRIV - Privileged mode supported
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()
483 * pci_max_pasid - Get maximum number of PASIDs supported by device
487 * Otherwise it returns the number of supported PASIDs.
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()