Lines Matching refs:amd_iommu
135 struct amd_iommu *amd_iommus[MAX_IOMMUS];
171 struct amd_iommu **amd_iommu_rlookup_table;
199 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) in iommu_read_l1()
208 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) in iommu_write_l1()
215 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address) in iommu_read_l2()
224 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) in iommu_write_l2()
243 static void iommu_set_exclusion_range(struct amd_iommu *iommu) in iommu_set_exclusion_range()
262 static void __init iommu_set_device_table(struct amd_iommu *iommu) in iommu_set_device_table()
275 static void iommu_feature_enable(struct amd_iommu *iommu, u8 bit) in iommu_feature_enable()
284 static void iommu_feature_disable(struct amd_iommu *iommu, u8 bit) in iommu_feature_disable()
294 static void iommu_enable(struct amd_iommu *iommu) in iommu_enable()
302 static void iommu_disable(struct amd_iommu *iommu) in iommu_disable()
339 static void __init iommu_unmap_mmio_space(struct amd_iommu *iommu) in iommu_unmap_mmio_space()
471 static u8 * __init alloc_command_buffer(struct amd_iommu *iommu) in alloc_command_buffer()
488 void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu) in amd_iommu_reset_cmd_buffer()
502 static void iommu_enable_command_buffer(struct amd_iommu *iommu) in iommu_enable_command_buffer()
518 static void __init free_command_buffer(struct amd_iommu *iommu) in free_command_buffer()
525 static u8 * __init alloc_event_buffer(struct amd_iommu *iommu) in alloc_event_buffer()
538 static void iommu_enable_event_buffer(struct amd_iommu *iommu) in iommu_enable_event_buffer()
556 static void __init free_event_buffer(struct amd_iommu *iommu) in free_event_buffer()
591 static void __init set_iommu_for_device(struct amd_iommu *iommu, u16 devid) in set_iommu_for_device()
600 static void __init set_dev_entry_from_acpi(struct amd_iommu *iommu, in set_dev_entry_from_acpi()
629 struct amd_iommu *iommu = amd_iommu_rlookup_table[devid]; in set_device_exclusion_range()
651 static void __init init_iommu_from_pci(struct amd_iommu *iommu) in init_iommu_from_pci()
699 static void __init init_iommu_from_acpi(struct amd_iommu *iommu, in init_iommu_from_acpi()
858 static int __init init_iommu_devices(struct amd_iommu *iommu) in init_iommu_devices()
868 static void __init free_iommu_one(struct amd_iommu *iommu) in free_iommu_one()
877 struct amd_iommu *iommu, *next; in free_iommu_all()
891 static int __init init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h) in init_iommu_one()
949 struct amd_iommu *iommu; in init_iommu_all()
968 iommu = kzalloc(sizeof(struct amd_iommu), GFP_KERNEL); in init_iommu_all()
1000 static int iommu_setup_msi(struct amd_iommu *iommu) in iommu_setup_msi()
1023 static int iommu_init_msi(struct amd_iommu *iommu) in iommu_init_msi()
1157 static void iommu_init_flags(struct amd_iommu *iommu) in iommu_init_flags()
1181 static void iommu_apply_resume_quirks(struct amd_iommu *iommu) in iommu_apply_resume_quirks()
1236 struct amd_iommu *iommu; in enable_iommus()
1252 struct amd_iommu *iommu; in disable_iommus()
1265 struct amd_iommu *iommu; in amd_iommu_resume()