Lines Matching refs:pdire
824 static inline bool vtd_pdire_present(VTDPASIDDirEntry *pdire) in vtd_pdire_present() argument
826 return pdire->val & 1; in vtd_pdire_present()
835 VTDPASIDDirEntry *pdire) in vtd_get_pdire_from_pdir_table() argument
844 pdire, entry_size, MEMTXATTRS_UNSPECIFIED)) { in vtd_get_pdire_from_pdir_table()
848 pdire->val = le64_to_cpu(pdire->val); in vtd_get_pdire_from_pdir_table()
903 VTDPASIDDirEntry *pdire, in vtd_get_pe_from_pdire() argument
906 dma_addr_t addr = pdire->val & VTD_PASID_TABLE_BASE_ADDR_MASK; in vtd_get_pe_from_pdire()
923 VTDPASIDDirEntry pdire; in vtd_get_pe_from_pasid_table() local
926 pasid, &pdire); in vtd_get_pe_from_pasid_table()
931 if (!vtd_pdire_present(&pdire)) { in vtd_get_pe_from_pasid_table()
935 ret = vtd_get_pe_from_pdire(s, pasid, &pdire, pe); in vtd_get_pe_from_pasid_table()
971 VTDPASIDDirEntry pdire; in vtd_ce_get_pasid_fpd() local
983 ret = vtd_get_pdire_from_pdir_table(pasid_dir_base, pasid, &pdire); in vtd_ce_get_pasid_fpd()
988 if (pdire.val & VTD_PASID_DIR_FPD) { in vtd_ce_get_pasid_fpd()
993 if (!vtd_pdire_present(&pdire)) { in vtd_ce_get_pasid_fpd()
1001 ret = vtd_get_pe_from_pdire(s, pasid, &pdire, &pe); in vtd_ce_get_pasid_fpd()