Home
last modified time | relevance | path

Searched refs:amd_iommu_dev_table (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/iommu/
Damd_iommu_init.c188 struct dev_table_entry *amd_iommu_dev_table; variable
369 entry = iommu_virt_to_phys(amd_iommu_dev_table); in iommu_set_device_table()
850 amd_iommu_dev_table[devid].data[i] |= (1UL << _bit); in set_dev_entry_bit()
858 return (amd_iommu_dev_table[devid].data[i] & (1UL << _bit)) >> _bit; in get_dev_entry_bit()
2170 amd_iommu_dev_table[devid].data[0] = 0ULL; in uninit_device_table_dma()
2171 amd_iommu_dev_table[devid].data[1] = 0ULL; in uninit_device_table_dma()
2319 free_pages((unsigned long)amd_iommu_dev_table, in early_enable_iommus()
2321 amd_iommu_dev_table = old_dev_tbl_cpy; in early_enable_iommus()
2419 free_pages((unsigned long)amd_iommu_dev_table, in free_iommu_resources()
2421 amd_iommu_dev_table = NULL; in free_iommu_resources()
[all …]
Damd_iommu.c267 memcpy(amd_iommu_dev_table[pci_alias].data, in get_alias()
268 amd_iommu_dev_table[devid].data, in get_alias()
269 sizeof(amd_iommu_dev_table[pci_alias].data)); in get_alias()
465 memset(&amd_iommu_dev_table[devid], 0, sizeof(struct dev_table_entry)); in iommu_ignore_device()
466 memset(&amd_iommu_dev_table[alias], 0, sizeof(struct dev_table_entry)); in iommu_ignore_device()
539 amd_iommu_dev_table[devid].data[i]); in dump_dte_entry()
1968 flags = amd_iommu_dev_table[devid].data[1]; in set_dte_entry()
2009 old_domid = amd_iommu_dev_table[devid].data[1] & DEV_DOMID_MASK; in set_dte_entry()
2010 amd_iommu_dev_table[devid].data[1] = flags; in set_dte_entry()
2011 amd_iommu_dev_table[devid].data[0] = pte_root; in set_dte_entry()
[all …]
Damd_iommu_types.h717 extern struct dev_table_entry *amd_iommu_dev_table;