Lines Matching refs:supported
239 u16 control, supported; in pci_enable_pasid() local
247 pci_read_config_word(pdev, pos + PCI_PASID_CAP, &supported); in pci_enable_pasid()
252 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_enable_pasid()
255 if ((supported & features) != features) in pci_enable_pasid()
296 u16 supported; in pci_pasid_features() local
303 pci_read_config_word(pdev, pos + PCI_PASID_CAP, &supported); in pci_pasid_features()
305 supported &= PCI_PASID_CAP_EXEC | PCI_PASID_CAP_PRIV; in pci_pasid_features()
307 return supported; in pci_pasid_features()
322 u16 supported; in pci_max_pasids() local
329 pci_read_config_word(pdev, pos + PCI_PASID_CAP, &supported); in pci_max_pasids()
331 supported = (supported & PASID_NUMBER_MASK) >> PASID_NUMBER_SHIFT; in pci_max_pasids()
333 return (1 << supported); in pci_max_pasids()