Searched defs:iommu (Results 1 - 47 of 47) sorted by relevance

/linux-4.1.27/arch/ia64/include/asm/
H A Ddevice.h11 void *iommu; /* hook for IOMMU specific extension */ member in struct:dev_archdata
H A Dpci.h93 void *iommu; member in struct:pci_controller
/linux-4.1.27/arch/x86/include/asm/
H A Ddevice.h9 void *iommu; /* hook for IOMMU specific extension */ member in struct:dev_archdata
H A Dhw_irq.h100 struct intel_iommu *iommu; member in struct:irq_2_iommu
H A Dpci.h21 void *iommu; /* IOMMU private data */ member in struct:pci_sysdata
H A Dx86_init.h130 struct x86_init_iommu iommu; member in struct:x86_init_ops
/linux-4.1.27/arch/arm64/include/asm/
H A Ddevice.h22 void *iommu; /* private IOMMU data */ member in struct:dev_archdata
H A Ddma-mapping.h48 arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu, bool coherent) arch_setup_dma_ops() argument
/linux-4.1.27/drivers/iommu/
H A Damd_iommu_proto.h84 static inline bool iommu_feature(struct amd_iommu *iommu, u64 f) iommu_feature() argument
H A Dof_iommu.c108 struct of_iommu_node *iommu = kzalloc(sizeof(*iommu), GFP_KERNEL); of_iommu_set_ops() local
H A Dintel_irq_remapping.c21 struct intel_iommu *iommu; member in struct:ioapic_scope
28 struct intel_iommu *iommu; member in struct:hpet_scope
85 static int alloc_irte(struct intel_iommu *iommu, int irq, u16 count) alloc_irte() argument
127 static int qi_flush_iec(struct intel_iommu *iommu, int index, int mask) qi_flush_iec() argument
154 static int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index, u16 subhandle) set_irte_irq() argument
179 struct intel_iommu *iommu; modify_irte() local
238 struct intel_iommu *iommu; clear_entries() local
427 static void iommu_set_irq_remapping(struct intel_iommu *iommu, int mode) iommu_set_irq_remapping() argument
476 static int intel_setup_irq_remapping(struct intel_iommu *iommu) intel_setup_irq_remapping() argument
517 static void intel_teardown_irq_remapping(struct intel_iommu *iommu) intel_teardown_irq_remapping() argument
531 static void iommu_disable_irq_remapping(struct intel_iommu *iommu) iommu_disable_irq_remapping() argument
573 struct intel_iommu *iommu; intel_cleanup_irq_remapping() local
589 struct intel_iommu *iommu; intel_prepare_irq_remapping() local
633 struct intel_iommu *iommu; intel_enable_irq_remapping() local
835 static void ir_remove_ioapic_hpet_scope(struct intel_iommu *iommu) ir_remove_ioapic_hpet_scope() argument
855 struct intel_iommu *iommu; parse_ioapics_under_ir() local
901 struct intel_iommu *iommu = NULL; disable_irq_remapping() local
918 struct intel_iommu *iommu = NULL; reenable_irq_remapping() local
975 struct intel_iommu *iommu; intel_setup_ioapic_entry() local
1142 struct intel_iommu *iommu; intel_msi_alloc_irq() local
1168 struct intel_iommu *iommu; intel_msi_setup_irq() local
1190 struct intel_iommu *iommu; intel_alloc_hpet_msi() local
1223 static int dmar_ir_add(struct dmar_drhd_unit *dmaru, struct intel_iommu *iommu) dmar_ir_add() argument
1275 struct intel_iommu *iommu = dmaru->iommu; dmar_ir_hotplug() local
721 ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, struct intel_iommu *iommu, struct acpi_dmar_hardware_unit *drhd) ir_parse_one_hpet_scope() argument
766 ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, struct intel_iommu *iommu, struct acpi_dmar_hardware_unit *drhd) ir_parse_one_ioapic_scope() argument
811 ir_parse_ioapic_hpet_scope(struct acpi_dmar_header *header, struct intel_iommu *iommu) ir_parse_ioapic_hpet_scope() argument
H A Drockchip-iommu.c274 static u32 rk_iommu_read(struct rk_iommu *iommu, u32 offset) rk_iommu_read() argument
279 static void rk_iommu_write(struct rk_iommu *iommu, u32 offset, u32 value) rk_iommu_write() argument
284 static void rk_iommu_command(struct rk_iommu *iommu, u32 command) rk_iommu_command() argument
289 static void rk_iommu_zap_lines(struct rk_iommu *iommu, dma_addr_t iova, rk_iommu_zap_lines() argument
301 static bool rk_iommu_is_stall_active(struct rk_iommu *iommu) rk_iommu_is_stall_active() argument
306 static bool rk_iommu_is_paging_enabled(struct rk_iommu *iommu) rk_iommu_is_paging_enabled() argument
312 static int rk_iommu_enable_stall(struct rk_iommu *iommu) rk_iommu_enable_stall() argument
333 static int rk_iommu_disable_stall(struct rk_iommu *iommu) rk_iommu_disable_stall() argument
350 static int rk_iommu_enable_paging(struct rk_iommu *iommu) rk_iommu_enable_paging() argument
367 static int rk_iommu_disable_paging(struct rk_iommu *iommu) rk_iommu_disable_paging() argument
384 static int rk_iommu_force_reset(struct rk_iommu *iommu) rk_iommu_force_reset() argument
411 static void log_iova(struct rk_iommu *iommu, dma_addr_t iova) log_iova() argument
459 struct rk_iommu *iommu = dev_id; rk_iommu_irq() local
547 struct rk_iommu *iommu; rk_iommu_zap_iova() local
735 struct rk_iommu *iommu; rk_iommu_attach_device() local
787 struct rk_iommu *iommu; rk_iommu_detach_device() local
978 struct rk_iommu *iommu; rk_iommu_probe() local
H A Damd_iommu_init.c250 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) iommu_read_l1() argument
259 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) iommu_write_l1() argument
266 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address) iommu_read_l2() argument
275 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) iommu_write_l2() argument
294 static void iommu_set_exclusion_range(struct amd_iommu *iommu) iommu_set_exclusion_range() argument
313 static void iommu_set_device_table(struct amd_iommu *iommu) iommu_set_device_table() argument
326 static void iommu_feature_enable(struct amd_iommu *iommu, u8 bit) iommu_feature_enable() argument
335 static void iommu_feature_disable(struct amd_iommu *iommu, u8 bit) iommu_feature_disable() argument
344 static void iommu_set_inv_tlb_timeout(struct amd_iommu *iommu, int timeout) iommu_set_inv_tlb_timeout() argument
355 static void iommu_enable(struct amd_iommu *iommu) iommu_enable() argument
360 static void iommu_disable(struct amd_iommu *iommu) iommu_disable() argument
389 static void __init iommu_unmap_mmio_space(struct amd_iommu *iommu) iommu_unmap_mmio_space() argument
519 static u8 * __init alloc_command_buffer(struct amd_iommu *iommu) alloc_command_buffer() argument
536 void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu) amd_iommu_reset_cmd_buffer() argument
550 static void iommu_enable_command_buffer(struct amd_iommu *iommu) iommu_enable_command_buffer() argument
566 static void __init free_command_buffer(struct amd_iommu *iommu) free_command_buffer() argument
573 static u8 * __init alloc_event_buffer(struct amd_iommu *iommu) alloc_event_buffer() argument
586 static void iommu_enable_event_buffer(struct amd_iommu *iommu) iommu_enable_event_buffer() argument
604 static void __init free_event_buffer(struct amd_iommu *iommu) free_event_buffer() argument
610 static u8 * __init alloc_ppr_log(struct amd_iommu *iommu) alloc_ppr_log() argument
621 static void iommu_enable_ppr_log(struct amd_iommu *iommu) iommu_enable_ppr_log() argument
641 static void __init free_ppr_log(struct amd_iommu *iommu) free_ppr_log() argument
649 static void iommu_enable_gt(struct amd_iommu *iommu) iommu_enable_gt() argument
687 static void __init set_iommu_for_device(struct amd_iommu *iommu, u16 devid) set_iommu_for_device() argument
696 static void __init set_dev_entry_from_acpi(struct amd_iommu *iommu, set_dev_entry_from_acpi() argument
787 struct amd_iommu *iommu = amd_iommu_rlookup_table[devid]; set_device_exclusion_range() local
808 static int __init init_iommu_from_acpi(struct amd_iommu *iommu, init_iommu_from_acpi() argument
1011 static int __init init_iommu_devices(struct amd_iommu *iommu) init_iommu_devices() argument
1021 static void __init free_iommu_one(struct amd_iommu *iommu) free_iommu_one() argument
1031 struct amd_iommu *iommu, *next; free_iommu_all() local
1046 static void amd_iommu_erratum_746_workaround(struct amd_iommu *iommu) amd_iommu_erratum_746_workaround() argument
1078 static void amd_iommu_ats_write_check_workaround(struct amd_iommu *iommu) amd_iommu_ats_write_check_workaround() argument
1105 static int __init init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h) init_iommu_one() argument
1178 struct amd_iommu *iommu; init_iommu_all() local
1217 static void init_iommu_perf_ctr(struct amd_iommu *iommu) init_iommu_perf_ctr() argument
1246 struct amd_iommu *iommu = dev_get_drvdata(dev); amd_iommu_show_cap() local
1255 struct amd_iommu *iommu = dev_get_drvdata(dev); amd_iommu_show_features() local
1276 static int iommu_init_pci(struct amd_iommu *iommu) iommu_init_pci() argument
1389 struct amd_iommu *iommu; print_iommu_info() local
1412 struct amd_iommu *iommu; amd_iommu_init_pci() local
1437 static int iommu_setup_msi(struct amd_iommu *iommu) iommu_setup_msi() argument
1461 static int iommu_init_msi(struct amd_iommu *iommu) iommu_init_msi() argument
1629 static void iommu_init_flags(struct amd_iommu *iommu) iommu_init_flags() argument
1656 static void iommu_apply_resume_quirks(struct amd_iommu *iommu) iommu_apply_resume_quirks() argument
1705 struct amd_iommu *iommu; early_enable_iommus() local
1721 struct amd_iommu *iommu; enable_iommus_v2() local
1738 struct amd_iommu *iommu; disable_iommus() local
1751 struct amd_iommu *iommu; amd_iommu_resume() local
2017 struct amd_iommu *iommu; amd_iommu_enable_interrupts() local
2055 struct amd_iommu *iommu; amd_iommu_init_dma() local
2214 struct amd_iommu *iommu; amd_iommu_init() local
2366 struct amd_iommu *iommu; amd_iommu_pc_get_max_banks() local
2386 struct amd_iommu *iommu; amd_iommu_pc_get_max_counters() local
2398 static int iommu_pc_get_set_reg_val(struct amd_iommu *iommu, iommu_pc_get_set_reg_val() argument
2434 struct amd_iommu *iommu = amd_iommu_rlookup_table[devid]; amd_iommu_pc_get_set_reg_val() local
H A Ddmar.c902 static void unmap_iommu(struct intel_iommu *iommu) unmap_iommu() argument
916 static int map_iommu(struct intel_iommu *iommu, u64 phys_addr) map_iommu() argument
977 static int dmar_alloc_seq_id(struct intel_iommu *iommu) dmar_alloc_seq_id() argument
991 static void dmar_free_seq_id(struct intel_iommu *iommu) dmar_free_seq_id() argument
1001 struct intel_iommu *iommu; alloc_iommu() local
1084 static void free_iommu(struct intel_iommu *iommu) free_iommu() argument
1120 static int qi_check_fault(struct intel_iommu *iommu, int index) qi_check_fault() argument
1186 int qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu) qi_submit_sync() argument
1265 void qi_global_iec(struct intel_iommu *iommu) qi_global_iec() argument
1276 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, qi_flush_context() argument
1288 void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, qi_flush_iotlb() argument
1310 void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 qdep, qi_flush_dev_iotlb() argument
1334 void dmar_disable_qi(struct intel_iommu *iommu) dmar_disable_qi() argument
1369 static void __dmar_enable_qi(struct intel_iommu *iommu) __dmar_enable_qi() argument
1399 int dmar_enable_qi(struct intel_iommu *iommu) dmar_enable_qi() argument
1498 struct intel_iommu *iommu = irq_data_get_irq_handler_data(data); dmar_msi_unmask() local
1512 struct intel_iommu *iommu = irq_data_get_irq_handler_data(data); dmar_msi_mask() local
1524 struct intel_iommu *iommu = irq_get_handler_data(irq); dmar_msi_write() local
1536 struct intel_iommu *iommu = irq_get_handler_data(irq); dmar_msi_read() local
1546 static int dmar_fault_do_one(struct intel_iommu *iommu, int type, dmar_fault_do_one() argument
1574 struct intel_iommu *iommu = dev_id; dmar_fault() local
1635 int dmar_set_interrupt(struct intel_iommu *iommu) dmar_set_interrupt() argument
1671 struct intel_iommu *iommu; enable_drhd_fault_handling() local
1700 int dmar_reenable_qi(struct intel_iommu *iommu) dmar_reenable_qi() argument
H A Damd_iommu.c394 struct amd_iommu *iommu; iommu_init_device() local
583 static void iommu_print_event(struct amd_iommu *iommu, void *__evt) iommu_print_event() argument
662 static void iommu_poll_events(struct amd_iommu *iommu) iommu_poll_events() argument
677 static void iommu_handle_ppr_entry(struct amd_iommu *iommu, u64 *raw) iommu_handle_ppr_entry() argument
697 static void iommu_poll_ppr_log(struct amd_iommu *iommu) iommu_poll_ppr_log() argument
750 struct amd_iommu *iommu = (struct amd_iommu *) data; amd_iommu_int_thread() local
814 static void copy_cmd_to_buffer(struct amd_iommu *iommu, copy_cmd_to_buffer() argument
981 static int iommu_queue_command_sync(struct amd_iommu *iommu, iommu_queue_command_sync() argument
1024 static int iommu_queue_command(struct amd_iommu *iommu, struct iommu_cmd *cmd) iommu_queue_command() argument
1033 static int iommu_completion_wait(struct amd_iommu *iommu) iommu_completion_wait() argument
1051 static int iommu_flush_dte(struct amd_iommu *iommu, u16 devid) iommu_flush_dte() argument
1060 static void iommu_flush_dte_all(struct amd_iommu *iommu) iommu_flush_dte_all() argument
1074 static void iommu_flush_tlb_all(struct amd_iommu *iommu) iommu_flush_tlb_all() argument
1088 static void iommu_flush_all(struct amd_iommu *iommu) iommu_flush_all() argument
1098 static void iommu_flush_irt(struct amd_iommu *iommu, u16 devid) iommu_flush_irt() argument
1107 static void iommu_flush_irt_all(struct amd_iommu *iommu) iommu_flush_irt_all() argument
1117 void iommu_flush_all_caches(struct amd_iommu *iommu) iommu_flush_all_caches() argument
1134 struct amd_iommu *iommu; device_flush_iotlb() local
1151 struct amd_iommu *iommu; device_flush_dte() local
1470 static int iommu_for_unity_map(struct amd_iommu *iommu, iommu_for_unity_map() argument
1518 static int iommu_init_unity_mappings(struct amd_iommu *iommu) iommu_init_unity_mappings() argument
1599 struct amd_iommu *iommu; alloc_new_range() local
2111 struct amd_iommu *iommu; do_attach() local
2132 struct amd_iommu *iommu; do_detach() local
2418 struct amd_iommu *iommu; device_change_notifier() local
3116 struct amd_iommu *iommu; amd_iommu_init_dma_ops() local
3302 struct amd_iommu *iommu; amd_iommu_detach_device() local
3325 struct amd_iommu *iommu; amd_iommu_attach_device() local
3583 struct amd_iommu *iommu; __flush_pasid() local
3752 struct amd_iommu *iommu; amd_iommu_complete_ppr() local
3885 struct amd_iommu *iommu; get_irq_table() local
4019 struct amd_iommu *iommu; modify_irte() local
4043 struct amd_iommu *iommu; free_irte() local
H A Dintel-iommu.c353 struct intel_iommu *iommu; /* IOMMU used by this device */ member in struct:device_domain_info
548 static int __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) __iommu_calculate_agaw() argument
566 int iommu_calculate_max_sagaw(struct intel_iommu *iommu) iommu_calculate_max_sagaw() argument
576 int iommu_calculate_agaw(struct intel_iommu *iommu) iommu_calculate_agaw() argument
598 struct intel_iommu *iommu; domain_update_iommu_coherency() local
628 struct intel_iommu *iommu; domain_update_iommu_snooping() local
648 struct intel_iommu *iommu; domain_update_iommu_superpage() local
677 static inline struct context_entry *iommu_context_addr(struct intel_iommu *iommu, iommu_context_addr() argument
719 struct intel_iommu *iommu; device_to_iommu() local
778 static int device_context_mapped(struct intel_iommu *iommu, u8 bus, u8 devfn) device_context_mapped() argument
792 static void clear_context_table(struct intel_iommu *iommu, u8 bus, u8 devfn) clear_context_table() argument
806 static void free_context_table(struct intel_iommu *iommu) free_context_table() argument
1128 static int iommu_alloc_root_entry(struct intel_iommu *iommu) iommu_alloc_root_entry() argument
1149 static void iommu_set_root_entry(struct intel_iommu *iommu) iommu_set_root_entry() argument
1171 static void iommu_flush_write_buffer(struct intel_iommu *iommu) iommu_flush_write_buffer() argument
1190 static void __iommu_flush_context(struct intel_iommu *iommu, __iommu_flush_context() argument
1224 static void __iommu_flush_iotlb(struct intel_iommu *iommu, u16 did, __iommu_flush_iotlb() argument
1281 iommu_support_dev_iotlb (struct dmar_domain *domain, struct intel_iommu *iommu, iommu_support_dev_iotlb() argument
1359 static void iommu_flush_iotlb_psi(struct intel_iommu *iommu, u16 did, iommu_flush_iotlb_psi() argument
1390 static void iommu_disable_protect_mem_regions(struct intel_iommu *iommu) iommu_disable_protect_mem_regions() argument
1407 static void iommu_enable_translation(struct intel_iommu *iommu) iommu_enable_translation() argument
1423 static void iommu_disable_translation(struct intel_iommu *iommu) iommu_disable_translation() argument
1440 static int iommu_init_domains(struct intel_iommu *iommu) iommu_init_domains() argument
1480 static void disable_dmar_iommu(struct intel_iommu *iommu) disable_dmar_iommu() argument
1506 static void free_dmar_iommu(struct intel_iommu *iommu) free_dmar_iommu() argument
1707 struct intel_iommu *iommu; domain_init() local
1760 struct intel_iommu *iommu; domain_exit() local
1897 struct intel_iommu *iommu; member in struct:domain_context_mapping_data
1915 struct intel_iommu *iommu; domain_context_mapping() local
1938 struct intel_iommu *iommu = opaque; domain_context_mapped_cb() local
1945 struct intel_iommu *iommu; domain_context_mapped() local
2119 static void iommu_detach_dev(struct intel_iommu *iommu, u8 bus, u8 devfn) iommu_detach_dev() argument
2191 static struct dmar_domain *dmar_insert_dev_info(struct intel_iommu *iommu, dmar_insert_dev_info() argument
2245 struct intel_iommu *iommu; get_domain_for_dev() local
2452 struct intel_iommu *iommu; si_domain_init() local
2519 struct intel_iommu *iommu; domain_add_dev_info() local
2694 struct intel_iommu *iommu; iommu_prepare_static_identity_mapping() local
2732 static void intel_iommu_init_qi(struct intel_iommu *iommu) intel_iommu_init_qi() argument
2772 struct intel_iommu *iommu; init_dmars() local
3054 struct intel_iommu *iommu; __intel_map_single() local
3128 struct intel_iommu *iommu = g_iommus[i]; flush_unmaps() local
3177 struct intel_iommu *iommu; add_unmap() local
3205 struct intel_iommu *iommu; intel_unmap() local
3344 struct intel_iommu *iommu; intel_map_sg() local
3547 struct intel_iommu *iommu = NULL; init_iommu_hw() local
3581 struct intel_iommu *iommu; iommu_flush_all() local
3594 struct intel_iommu *iommu = NULL; iommu_suspend() local
3634 struct intel_iommu *iommu = NULL; iommu_resume() local
3809 struct intel_iommu *iommu = dmaru->iommu; intel_iommu_add() local
3885 struct intel_iommu *iommu = dmaru->iommu; dmar_iommu_hotplug() local
4074 struct intel_iommu *iommu; intel_iommu_memory_notifier() local
4122 struct intel_iommu *iommu = dev_get_drvdata(dev); intel_iommu_show_version() local
4133 struct intel_iommu *iommu = dev_get_drvdata(dev); intel_iommu_show_address() local
4142 struct intel_iommu *iommu = dev_get_drvdata(dev); intel_iommu_show_cap() local
4151 struct intel_iommu *iommu = dev_get_drvdata(dev); intel_iommu_show_ecap() local
4178 struct intel_iommu *iommu; intel_iommu_init() local
4270 struct intel_iommu *iommu = opaque; iommu_detach_dev_cb() local
4282 static void iommu_detach_dependent_devices(struct intel_iommu *iommu, iommu_detach_dependent_devices() argument
4295 struct intel_iommu *iommu; domain_remove_one_dev_info() local
4406 struct intel_iommu *iommu; intel_iommu_attach_device() local
4516 struct intel_iommu *iommu; intel_iommu_unmap() local
4586 struct intel_iommu *iommu; intel_iommu_add_device() local
4607 struct intel_iommu *iommu; intel_iommu_remove_device() local
1542 __iommu_attach_domain(struct dmar_domain *domain, struct intel_iommu *iommu) __iommu_attach_domain() argument
1560 iommu_attach_domain(struct dmar_domain *domain, struct intel_iommu *iommu) iommu_attach_domain() argument
1575 iommu_attach_vm_domain(struct dmar_domain *domain, struct intel_iommu *iommu) iommu_attach_vm_domain() argument
1589 iommu_detach_domain(struct dmar_domain *domain, struct intel_iommu *iommu) iommu_detach_domain() argument
1612 domain_attach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) domain_attach_iommu() argument
1627 domain_detach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) domain_detach_iommu() argument
1792 domain_context_mapping_one(struct dmar_domain *domain, struct intel_iommu *iommu, u8 bus, u8 devfn, int translation) domain_context_mapping_one() argument
/linux-4.1.27/arch/arm/include/asm/
H A Ddevice.h15 void *iommu; /* private IOMMU data */ member in struct:dev_archdata
/linux-4.1.27/arch/sparc/include/asm/
H A Ddevice.h15 void *iommu; member in struct:dev_archdata
H A Diommu_64.h27 struct iommu { struct
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_platform.h56 } iommu; member in struct:nouveau_platform_gpu
/linux-4.1.27/include/linux/
H A Ddma_remapping.h35 static inline int iommu_calculate_agaw(struct intel_iommu *iommu) iommu_calculate_agaw() argument
39 static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu) iommu_calculate_max_sagaw() argument
H A Ddma-mapping.h137 arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu, bool coherent) arch_setup_dma_ops() argument
H A Ddmar.h62 struct intel_iommu *iommu; member in struct:dmar_drhd_unit
H A Dintel-iommu.h356 __iommu_flush_cache( struct intel_iommu *iommu, void *addr, int size) __iommu_flush_cache() argument
/linux-4.1.27/drivers/of/
H A Ddevice.c90 struct iommu_ops *iommu; of_dma_configure() local
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_iommu.c27 static int msm_fault_handler(struct iommu_domain *iommu, struct device *dev, msm_fault_handler() argument
36 struct msm_iommu *iommu = to_msm_iommu(mmu); msm_iommu_attach() local
42 struct msm_iommu *iommu = to_msm_iommu(mmu); msm_iommu_detach() local
49 struct msm_iommu *iommu = to_msm_iommu(mmu); msm_iommu_map() local
88 struct msm_iommu *iommu = to_msm_iommu(mmu); msm_iommu_unmap() local
114 struct msm_iommu *iommu = to_msm_iommu(mmu); msm_iommu_destroy() local
129 struct msm_iommu *iommu; msm_iommu_new() local
H A Dmsm_gpu.c531 struct iommu_domain *iommu; msm_gpu_init() local
/linux-4.1.27/arch/mips/include/asm/
H A Dpci.h46 int iommu; member in struct:pci_controller
/linux-4.1.27/lib/
H A Diommu-common.c22 static inline bool need_flush(struct iommu_map_table *iommu) need_flush() argument
27 static inline void set_flush(struct iommu_map_table *iommu) set_flush() argument
32 static inline void clear_flush(struct iommu_map_table *iommu) clear_flush() argument
55 void iommu_tbl_pool_init(struct iommu_map_table *iommu, iommu_tbl_pool_init() argument
255 void iommu_tbl_range_free(struct iommu_map_table *iommu, u64 dma_addr, iommu_tbl_range_free() argument
101 iommu_tbl_range_alloc(struct device *dev, struct iommu_map_table *iommu, unsigned long npages, unsigned long *handle, unsigned long mask, unsigned int align_order) iommu_tbl_range_alloc() argument
/linux-4.1.27/arch/sparc/mm/
H A Diommu.c58 struct iommu_struct *iommu; sbus_iommu_init() local
179 struct iommu_struct *iommu = dev->archdata.iommu; iommu_get_one() local
285 struct iommu_struct *iommu = dev->archdata.iommu; iommu_release_one() local
327 struct iommu_struct *iommu = dev->archdata.iommu; iommu_map_dma_area() local
393 struct iommu_struct *iommu = dev->archdata.iommu; iommu_unmap_dma_area() local
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_kms.h59 struct iommu_domain *iommu; member in struct:mdp4_platform_config
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_cfg.h87 struct iommu_domain *iommu; member in struct:mdp5_cfg_platform
/linux-4.1.27/arch/parisc/include/asm/
H A Dpci.h58 void * iommu; /* IOMMU this device is under */ member in struct:pci_hba_data
/linux-4.1.27/arch/sparc/kernel/
H A Dpci_impl.h145 struct iommu *iommu; member in struct:pci_pbm_info
H A Diommu.c51 struct iommu *iommu = container_of(iommu_map_table, struct iommu, tbl); iommu_flushall() local
82 static inline void iopte_make_dummy(struct iommu *iommu, iopte_t *iopte) iopte_make_dummy() argument
92 int iommu_table_init(struct iommu *iommu, int tsbsize, iommu_table_init() argument
170 static int iommu_alloc_ctx(struct iommu *iommu) iommu_alloc_ctx() argument
188 static inline void iommu_free_ctx(struct iommu *iommu, int ctx) iommu_free_ctx() argument
202 struct iommu *iommu; dma_4u_alloc_coherent() local
250 struct iommu *iommu; dma_4u_free_coherent() local
268 struct iommu *iommu; dma_4u_map_page() local
320 static void strbuf_flush(struct strbuf *strbuf, struct iommu *iommu, strbuf_flush() argument
390 struct iommu *iommu; dma_4u_unmap_page() local
443 struct iommu *iommu; dma_4u_map_sg() local
590 static unsigned long fetch_sg_ctx(struct iommu *iommu, struct scatterlist *sg) fetch_sg_ctx() argument
615 struct iommu *iommu; dma_4u_unmap_sg() local
664 struct iommu *iommu; dma_4u_sync_single_for_cpu() local
702 struct iommu *iommu; dma_4u_sync_sg_for_cpu() local
760 struct iommu *iommu = dev->archdata.iommu; dma_supported() local
156 alloc_npages(struct device *dev, struct iommu *iommu, unsigned long npages) alloc_npages() argument
H A Dpci.c957 struct iommu *iommu = pdev->dev.archdata.iommu; pci64_dma_supported() local
H A Dpci_fire.c30 struct iommu *iommu = pbm->iommu; pci_fire_pbm_iommu_init() local
461 struct iommu *iommu; fire_probe() local
H A Dpci_psycho.c512 struct iommu *iommu; psycho_probe() local
H A Dpci_sun4v.c136 struct iommu *iommu; dma_4v_alloc_coherent() local
219 struct iommu *iommu; dma_4v_free_coherent() local
240 struct iommu *iommu; dma_4v_map_page() local
300 struct iommu *iommu; dma_4v_unmap_page() local
333 struct iommu *iommu; dma_4v_map_sg() local
473 struct iommu *iommu; dma_4v_unmap_sg() local
562 struct iommu *iommu = pbm->iommu; pci_sun4v_iommu_init() local
908 struct iommu *iommu; pci_sun4v_probe() local
528 probe_existing_entries(struct pci_pbm_info *pbm, struct iommu_map_table *iommu) probe_existing_entries() argument
H A Dpsycho_common.c206 struct iommu *iommu = pbm->iommu; psycho_check_iommu_error() local
402 struct iommu *iommu = pbm->iommu; psycho_iommu_init() local
H A Dsbus.c60 struct iommu *iommu = dev->archdata.iommu; sbus_set_sbus64() local
210 struct iommu *iommu = op->dev.archdata.iommu; sbus_build_irq() local
272 struct iommu *iommu = op->dev.archdata.iommu; sysio_ue_handler() local
346 struct iommu *iommu = op->dev.archdata.iommu; sysio_ce_handler() local
425 struct iommu *iommu = op->dev.archdata.iommu; sysio_sbus_error_handler() local
494 struct iommu *iommu = op->dev.archdata.iommu; sysio_register_error_handlers() local
542 struct iommu *iommu; sbus_iommu_init() local
H A Dldc.c146 struct ldc_iommu iommu; member in struct:ldc_channel
1016 static void ldc_demap(struct ldc_iommu *iommu, unsigned long id, u64 cookie, ldc_demap() argument
1039 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; ldc_iommu_init() local
1097 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; ldc_iommu_release() local
1949 static struct ldc_mtable_entry *alloc_npages(struct ldc_iommu *iommu, alloc_npages() argument
2087 struct ldc_iommu *iommu; ldc_map_sg() local
2131 struct ldc_iommu *iommu; ldc_map_single() local
2163 static void free_npages(unsigned long id, struct ldc_iommu *iommu, free_npages() argument
2178 struct ldc_iommu *iommu = &lp->iommu; ldc_unmap() local
H A Dpci_sabre.c463 struct iommu *iommu; sabre_probe() local
H A Dpci_schizo.c237 struct iommu *iommu = pbm->iommu; schizo_check_iommu_error_pbm() local
1135 struct iommu *iommu = pbm->iommu; schizo_pbm_iommu_init() local
1417 struct iommu *iommu; __schizo_init() local
/linux-4.1.27/drivers/vfio/
H A Dvfio_iommu_type1.c90 static struct vfio_dma *vfio_find_dma(struct vfio_iommu *iommu, vfio_find_dma() argument
109 static void vfio_link_dma(struct vfio_iommu *iommu, struct vfio_dma *new) vfio_link_dma() argument
128 static void vfio_unlink_dma(struct vfio_iommu *iommu, struct vfio_dma *old) vfio_unlink_dma() argument
336 static void vfio_unmap_unpin(struct vfio_iommu *iommu, struct vfio_dma *dma) vfio_unmap_unpin() argument
396 static void vfio_remove_dma(struct vfio_iommu *iommu, struct vfio_dma *dma) vfio_remove_dma() argument
403 static unsigned long vfio_pgsize_bitmap(struct vfio_iommu *iommu) vfio_pgsize_bitmap() argument
416 static int vfio_dma_do_unmap(struct vfio_iommu *iommu, vfio_dma_do_unmap() argument
521 static int vfio_iommu_map(struct vfio_iommu *iommu, dma_addr_t iova, vfio_iommu_map() argument
548 static int vfio_dma_do_map(struct vfio_iommu *iommu, vfio_dma_do_map() argument
641 static int vfio_iommu_replay(struct vfio_iommu *iommu, vfio_iommu_replay() argument
727 struct vfio_iommu *iommu = iommu_data; vfio_iommu_type1_attach_group() local
841 static void vfio_iommu_unmap_unpin_all(struct vfio_iommu *iommu) vfio_iommu_unmap_unpin_all() argument
852 struct vfio_iommu *iommu = iommu_data; vfio_iommu_type1_detach_group() local
888 struct vfio_iommu *iommu; vfio_iommu_type1_open() local
916 struct vfio_iommu *iommu = iommu_data; vfio_iommu_type1_release() local
938 static int vfio_domains_have_iommu_cache(struct vfio_iommu *iommu) vfio_domains_have_iommu_cache() argument
958 struct vfio_iommu *iommu = iommu_data; vfio_iommu_type1_ioctl() local
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Diommu.c115 struct cbe_iommu *iommu; member in struct:iommu_window
142 static void invalidate_tce_cache(struct cbe_iommu *iommu, unsigned long *pte, invalidate_tce_cache() argument
246 struct cbe_iommu *iommu = data; ioc_interrupt() local
309 static void cell_iommu_setup_stab(struct cbe_iommu *iommu, cell_iommu_setup_stab() argument
329 static unsigned long *cell_iommu_alloc_ptab(struct cbe_iommu *iommu, cell_iommu_alloc_ptab() argument
389 static void cell_iommu_enable_hardware(struct cbe_iommu *iommu) cell_iommu_enable_hardware() argument
429 static void cell_iommu_setup_hardware(struct cbe_iommu *iommu, cell_iommu_setup_hardware() argument
470 cell_iommu_setup_window(struct cbe_iommu *iommu, struct device_node *np, cell_iommu_setup_window() argument
548 struct cbe_iommu *iommu; cell_get_iommu_table() local
721 struct cbe_iommu *iommu; cell_iommu_alloc() local
762 struct cbe_iommu *iommu; cell_iommu_init_one() local
1000 static void cell_iommu_setup_fixed_ptab(struct cbe_iommu *iommu, cell_iommu_setup_fixed_ptab() argument
1039 struct cbe_iommu *iommu; cell_iommu_fixed_mapping_init() local
/linux-4.1.27/arch/arm/mm/
H A Ddma-mapping.c2063 arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu) arm_setup_iommu_dma_ops() argument
2101 arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu) arm_setup_iommu_dma_ops() argument
2118 arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu, bool coherent) arch_setup_dma_ops() argument

Completed in 821 milliseconds