Lines Matching defs:iommu

264 bool translation_pre_enabled(struct amd_iommu *iommu)  in translation_pre_enabled()
269 static void clear_translation_pre_enabled(struct amd_iommu *iommu) in clear_translation_pre_enabled()
274 static void init_translation_status(struct amd_iommu *iommu) in init_translation_status()
306 struct amd_iommu *iommu; in check_feature_on_all_iommus() local
323 static void __init early_iommu_features_init(struct amd_iommu *iommu, in early_iommu_features_init()
332 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) in iommu_read_l1()
341 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) in iommu_write_l1()
348 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address) in iommu_read_l2()
357 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) in iommu_write_l2()
376 static void iommu_set_exclusion_range(struct amd_iommu *iommu) in iommu_set_exclusion_range()
394 static void iommu_set_cwwb_range(struct amd_iommu *iommu) in iommu_set_cwwb_range()
418 static void iommu_set_device_table(struct amd_iommu *iommu) in iommu_set_device_table()
431 static void iommu_feature_enable(struct amd_iommu *iommu, u8 bit) in iommu_feature_enable()
440 static void iommu_feature_disable(struct amd_iommu *iommu, u8 bit) in iommu_feature_disable()
449 static void iommu_set_inv_tlb_timeout(struct amd_iommu *iommu, int timeout) in iommu_set_inv_tlb_timeout()
460 static void iommu_enable(struct amd_iommu *iommu) in iommu_enable()
465 static void iommu_disable(struct amd_iommu *iommu) in iommu_disable()
501 static void __init iommu_unmap_mmio_space(struct amd_iommu *iommu) in iommu_unmap_mmio_space()
651 static int __init alloc_command_buffer(struct amd_iommu *iommu) in alloc_command_buffer()
663 void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu) in amd_iommu_reset_cmd_buffer()
679 static void iommu_enable_command_buffer(struct amd_iommu *iommu) in iommu_enable_command_buffer()
697 static void iommu_disable_command_buffer(struct amd_iommu *iommu) in iommu_disable_command_buffer()
702 static void __init free_command_buffer(struct amd_iommu *iommu) in free_command_buffer()
707 static void *__init iommu_alloc_4k_pages(struct amd_iommu *iommu, in iommu_alloc_4k_pages()
724 static int __init alloc_event_buffer(struct amd_iommu *iommu) in alloc_event_buffer()
732 static void iommu_enable_event_buffer(struct amd_iommu *iommu) in iommu_enable_event_buffer()
753 static void iommu_disable_event_buffer(struct amd_iommu *iommu) in iommu_disable_event_buffer()
758 static void __init free_event_buffer(struct amd_iommu *iommu) in free_event_buffer()
764 static int __init alloc_ppr_log(struct amd_iommu *iommu) in alloc_ppr_log()
772 static void iommu_enable_ppr_log(struct amd_iommu *iommu) in iommu_enable_ppr_log()
792 static void __init free_ppr_log(struct amd_iommu *iommu) in free_ppr_log()
797 static void free_ga_log(struct amd_iommu *iommu) in free_ga_log()
805 static int iommu_ga_log_enable(struct amd_iommu *iommu) in iommu_ga_log_enable()
834 static int iommu_init_ga_log(struct amd_iommu *iommu) in iommu_init_ga_log()
871 static int __init alloc_cwwb_sem(struct amd_iommu *iommu) in alloc_cwwb_sem()
878 static void __init free_cwwb_sem(struct amd_iommu *iommu) in free_cwwb_sem()
884 static void iommu_enable_xt(struct amd_iommu *iommu) in iommu_enable_xt()
897 static void iommu_enable_gt(struct amd_iommu *iommu) in iommu_enable_gt()
929 struct amd_iommu *iommu; in copy_device_table() local
1035 static void __init set_iommu_for_device(struct amd_iommu *iommu, u16 devid) in set_iommu_for_device()
1044 static void __init set_dev_entry_from_acpi(struct amd_iommu *iommu, in set_dev_entry_from_acpi()
1178 static int __init init_iommu_from_acpi(struct amd_iommu *iommu, in init_iommu_from_acpi()
1446 static void __init free_iommu_one(struct amd_iommu *iommu) in free_iommu_one()
1458 struct amd_iommu *iommu, *next; in free_iommu_all() local
1473 static void amd_iommu_erratum_746_workaround(struct amd_iommu *iommu) in amd_iommu_erratum_746_workaround()
1504 static void amd_iommu_ats_write_check_workaround(struct amd_iommu *iommu) in amd_iommu_ats_write_check_workaround()
1530 static int __init init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h) in init_iommu_one()
1683 struct amd_iommu *iommu; in init_iommu_all() local
1717 static void init_iommu_perf_ctr(struct amd_iommu *iommu) in init_iommu_perf_ctr()
1740 struct amd_iommu *iommu = dev_to_amd_iommu(dev); in amd_iommu_show_cap() local
1749 struct amd_iommu *iommu = dev_to_amd_iommu(dev); in amd_iommu_show_features() local
1775 static void __init late_iommu_features_init(struct amd_iommu *iommu) in late_iommu_features_init()
1799 static int __init iommu_init_pci(struct amd_iommu *iommu) in iommu_init_pci()
1907 struct amd_iommu *iommu; in print_iommu_info() local
1940 struct amd_iommu *iommu; in amd_iommu_init_pci() local
1984 static int iommu_setup_msi(struct amd_iommu *iommu) in iommu_setup_msi()
2037 struct amd_iommu *iommu = irqd->chip_data; in intcapxt_irqdomain_activate() local
2148 static int iommu_setup_intcapxt(struct amd_iommu *iommu) in iommu_setup_intcapxt()
2180 static int iommu_init_irq(struct amd_iommu *iommu) in iommu_init_irq()
2336 static void iommu_init_flags(struct amd_iommu *iommu) in iommu_init_flags()
2363 static void iommu_apply_resume_quirks(struct amd_iommu *iommu) in iommu_apply_resume_quirks()
2406 static void iommu_enable_ga(struct amd_iommu *iommu) in iommu_enable_ga()
2424 static void early_enable_iommu(struct amd_iommu *iommu) in early_enable_iommu()
2448 struct amd_iommu *iommu; in early_enable_iommus() local
2500 struct amd_iommu *iommu; in enable_iommus_v2() local
2517 struct amd_iommu *iommu; in disable_iommus() local
2535 struct amd_iommu *iommu; in amd_iommu_resume() local
2820 struct amd_iommu *iommu; in amd_iommu_enable_interrupts() local
2937 struct amd_iommu *iommu; in state_next() local
3016 struct amd_iommu *iommu; in amd_iommu_init() local
3243 struct amd_iommu *iommu; in get_amd_iommu() local
3260 struct amd_iommu *iommu = get_amd_iommu(idx); in amd_iommu_pc_get_max_banks() local
3277 struct amd_iommu *iommu = get_amd_iommu(idx); in amd_iommu_pc_get_max_counters() local
3286 static int iommu_pc_get_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, in iommu_pc_get_set_reg()
3324 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value) in amd_iommu_pc_get_reg()
3332 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value) in amd_iommu_pc_set_reg()