Home
last modified time | relevance | path

Searched defs:iommu (Results 1 – 25 of 87) sorted by relevance

1234

/linux/drivers/iommu/amd/
A Dinit.c306 struct amd_iommu *iommu; in check_feature_on_all_iommus() local
929 struct amd_iommu *iommu; in copy_device_table() local
1683 struct amd_iommu *iommu; in init_iommu_all() local
1907 struct amd_iommu *iommu; in print_iommu_info() local
1940 struct amd_iommu *iommu; in amd_iommu_init_pci() local
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
[all …]
A Diommu.c344 struct amd_iommu *iommu; in iommu_init_device() local
1204 struct amd_iommu *iommu; in device_flush_iotlb() local
1228 struct amd_iommu *iommu; in device_flush_dte() local
1541 struct amd_iommu *iommu; in do_attach() local
1566 struct amd_iommu *iommu; in do_detach() local
1745 struct amd_iommu *iommu; in amd_iommu_probe_device() local
1783 struct amd_iommu *iommu; in amd_iommu_release_device() local
2009 struct amd_iommu *iommu; in amd_iommu_detach_device() local
2035 struct amd_iommu *iommu; in amd_iommu_attach_device() local
2572 struct amd_iommu *iommu; in amd_iommu_complete_ppr() local
[all …]
A Damd_iommu.h26 static inline void amd_iommu_debugfs_setup(struct amd_iommu *iommu) {} in amd_iommu_debugfs_setup()
69 static inline int amd_iommu_create_irq_domain(struct amd_iommu *iommu) in amd_iommu_create_irq_domain()
88 static inline bool iommu_feature(struct amd_iommu *iommu, u64 mask) in iommu_feature()
/linux/arch/sparc/include/asm/
A Diommu_64.h55 struct iommu { struct
56 struct iommu_map_table tbl; argument
61 unsigned long iommu_control; argument
62 unsigned long iommu_tsbbase; argument
63 unsigned long iommu_flush; argument
64 unsigned long iommu_flushinv; argument
65 unsigned long iommu_tags; argument
66 unsigned long iommu_ctxflush; argument
89 int iommu_table_init(struct iommu *iommu, int tsbsize, argument
/linux/drivers/iommu/intel/
A Dirq_remapping.c33 struct intel_iommu *iommu; member
40 struct intel_iommu *iommu; member
47 struct intel_iommu *iommu; member
161 struct intel_iommu *iommu; in modify_irte() local
239 struct intel_iommu *iommu; in clear_entries() local
706 struct intel_iommu *iommu; in intel_cleanup_irq_remapping() local
722 struct intel_iommu *iommu; in intel_prepare_irq_remapping() local
796 struct intel_iommu *iommu; in set_irq_posting_cap() local
822 struct intel_iommu *iommu; in intel_enable_irq_remapping() local
851 struct intel_iommu *iommu, in ir_parse_one_hpet_scope()
[all …]
A Diommu.c607 struct intel_iommu *iommu; in domain_update_iommu_coherency() local
637 struct intel_iommu *iommu; in domain_update_iommu_snooping() local
665 struct intel_iommu *iommu; in domain_update_iommu_superpage() local
885 struct intel_iommu *iommu; in device_to_iommu() local
2308 struct intel_iommu *iommu; member
2327 struct intel_iommu *iommu; in domain_context_mapping() local
2358 struct intel_iommu *iommu; in domain_context_mapped() local
2888 struct intel_iommu *iommu; in domain_add_dev_info() local
3310 struct intel_iommu *iommu; in init_dmars() local
3631 struct intel_iommu *iommu; in iommu_flush_all() local
[all …]
A Ddebugfs.c117 struct intel_iommu *iommu; in iommu_regset_show() local
264 static void root_tbl_walk(struct seq_file *m, struct intel_iommu *iommu) in root_tbl_walk()
288 struct intel_iommu *iommu; in dmar_translation_struct_show() local
380 struct intel_iommu *iommu) in invalidation_queue_entry_show()
409 struct intel_iommu *iommu; in invalidation_queue_show() local
441 struct intel_iommu *iommu) in ir_tbl_remap_entry_show()
465 struct intel_iommu *iommu) in ir_tbl_posted_entry_show()
497 struct intel_iommu *iommu; in ir_translation_struct_show() local
545 static void latency_show_one(struct seq_file *m, struct intel_iommu *iommu, in latency_show_one()
564 struct intel_iommu *iommu; in latency_show() local
[all …]
A Ddmar.c953 static void unmap_iommu(struct intel_iommu *iommu) in unmap_iommu()
1030 static int dmar_alloc_seq_id(struct intel_iommu *iommu) in dmar_alloc_seq_id()
1054 struct intel_iommu *iommu; in alloc_iommu() local
1163 static void free_iommu(struct intel_iommu *iommu) in free_iommu()
1463 void qi_global_iec(struct intel_iommu *iommu) in qi_global_iec()
1634 void dmar_disable_qi(struct intel_iommu *iommu) in dmar_disable_qi()
1707 int dmar_enable_qi(struct intel_iommu *iommu) in dmar_enable_qi()
1974 struct intel_iommu *iommu = dev_id; in dmar_fault() local
2051 int dmar_set_interrupt(struct intel_iommu *iommu) in dmar_set_interrupt()
2078 struct intel_iommu *iommu; in enable_drhd_fault_handling() local
[all …]
A Dperf.c18 bool dmar_latency_enabled(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enabled()
25 int dmar_latency_enable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enable()
57 void dmar_latency_disable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_disable()
70 void dmar_latency_update(struct intel_iommu *iommu, enum latency_type type, u64 latency) in dmar_latency_update()
116 int dmar_latency_snapshot(struct intel_iommu *iommu, char *str, size_t size) in dmar_latency_snapshot()
A Dperf.h47 dmar_latency_enable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enable()
53 dmar_latency_disable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_disable()
58 dmar_latency_enabled(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enabled()
64 dmar_latency_update(struct intel_iommu *iommu, enum latency_type type, u64 latency) in dmar_latency_update()
69 dmar_latency_snapshot(struct intel_iommu *iommu, char *str, size_t size) in dmar_latency_snapshot()
A Dsvm.c85 int intel_svm_enable_prq(struct intel_iommu *iommu) in intel_svm_enable_prq()
148 int intel_svm_finish_prq(struct intel_iommu *iommu) in intel_svm_finish_prq()
171 static inline bool intel_svm_capable(struct intel_iommu *iommu) in intel_svm_capable()
176 void intel_svm_check(struct intel_iommu *iommu) in intel_svm_check()
324 struct intel_iommu *iommu = device_to_iommu(dev, NULL, NULL); in intel_svm_bind_gpasid() local
465 struct intel_iommu *iommu = device_to_iommu(dev, NULL, NULL); in intel_svm_unbind_gpasid() local
623 struct intel_iommu *iommu; in intel_svm_unbind_mm() local
728 struct intel_iommu *iommu; in intel_svm_drain_prq() local
870 static void handle_bad_prq_event(struct intel_iommu *iommu, in handle_bad_prq_event()
912 struct intel_iommu *iommu = d; in prq_event_thread() local
[all …]
A Dpasid.c29 int vcmd_alloc_pasid(struct intel_iommu *iommu, u32 *pasid) in vcmd_alloc_pasid()
60 void vcmd_free_pasid(struct intel_iommu *iommu, u32 pasid) in vcmd_free_pasid()
469 pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu, in pasid_cache_invalidation_with_pasid()
484 devtlb_invalidation_with_pasid(struct intel_iommu *iommu, in devtlb_invalidation_with_pasid()
510 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, struct device *dev, in intel_pasid_tear_down_entry()
547 static void pasid_flush_caches(struct intel_iommu *iommu, in pasid_flush_caches()
582 int intel_pasid_setup_first_level(struct intel_iommu *iommu, in intel_pasid_setup_first_level()
648 struct intel_iommu *iommu, in iommu_skip_agaw()
665 int intel_pasid_setup_second_level(struct intel_iommu *iommu, in intel_pasid_setup_second_level()
731 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, in intel_pasid_setup_pass_through()
[all …]
A Dcap_audit.c75 static int cap_audit_hotplug(struct intel_iommu *iommu, enum cap_audit_type type) in cap_audit_hotplug()
143 static int cap_audit_static(struct intel_iommu *iommu, enum cap_audit_type type) in cap_audit_static()
180 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu) in intel_cap_audit()
/linux/drivers/iommu/
A Dsun50i-iommu.c96 struct iommu_device iommu; member
121 struct sun50i_iommu *iommu; member
290 struct sun50i_iommu *iommu = sun50i_domain->iommu; in sun50i_table_flush() local
327 struct sun50i_iommu *iommu = sun50i_domain->iommu; in sun50i_iommu_flush_iotlb_all() local
484 struct sun50i_iommu *iommu = sun50i_domain->iommu; in sun50i_dte_get_page_table() local
524 struct sun50i_iommu *iommu = sun50i_domain->iommu; in sun50i_iommu_map() local
694 struct sun50i_iommu *iommu = dev_iommu_priv_get(dev); in sun50i_iommu_detach_device() local
709 struct sun50i_iommu *iommu; in sun50i_iommu_attach_device() local
732 struct sun50i_iommu *iommu; in sun50i_iommu_probe_device() local
872 struct sun50i_iommu *iommu = dev_id; in sun50i_iommu_irq() local
[all …]
A Dmsm_iommu.c120 struct msm_iommu_dev *iommu = NULL; in __flush_iotlb() local
142 struct msm_iommu_dev *iommu = NULL; in __flush_iotlb_range() local
366 struct msm_iommu_dev *iommu, *ret = NULL; in find_iommu_for_dev() local
384 struct msm_iommu_dev *iommu; in msm_iommu_probe_device() local
405 struct msm_iommu_dev *iommu; in msm_iommu_attach_dev() local
455 struct msm_iommu_dev *iommu; in msm_iommu_detach_dev() local
516 struct msm_iommu_dev *iommu; in msm_iommu_iova_to_phys() local
592 struct msm_iommu_dev **iommu, in insert_iommu_master()
618 struct msm_iommu_dev *iommu; in qcom_iommu_of_xlate() local
641 struct msm_iommu_dev *iommu = dev_id; in msm_iommu_fault_handler() local
[all …]
A Drockchip-iommu.c114 struct iommu_device iommu; member
122 struct rk_iommu *iommu; member
611 struct rk_iommu *iommu = dev_id; in rk_iommu_irq() local
715 struct rk_iommu *iommu; in rk_iommu_zap_iova() local
988 struct rk_iommu *iommu; in rk_iommu_detach_device() local
1021 struct rk_iommu *iommu; in rk_iommu_attach_device() local
1138 struct rk_iommu *iommu; in rk_iommu_probe_device() local
1161 struct rk_iommu *iommu; in rk_iommu_device_group() local
1206 struct rk_iommu *iommu; in rk_iommu_probe() local
1347 struct rk_iommu *iommu = dev_get_drvdata(dev); in rk_iommu_suspend() local
[all …]
A Diommu-sysfs.c54 int iommu_device_sysfs_add(struct iommu_device *iommu, in iommu_device_sysfs_add()
92 void iommu_device_sysfs_remove(struct iommu_device *iommu) in iommu_device_sysfs_remove()
106 int iommu_device_link(struct iommu_device *iommu, struct device *link) in iommu_device_link()
127 void iommu_device_unlink(struct iommu_device *iommu, struct device *link) in iommu_device_unlink()
/linux/arch/sparc/kernel/
A Diommu.c80 #define IOPTE_IS_DUMMY(iommu, iopte) \ argument
157 struct iommu *iommu, in alloc_npages()
202 struct iommu *iommu; in dma_4u_alloc_coherent() local
250 struct iommu *iommu; in dma_4u_free_coherent() local
268 struct iommu *iommu; in dma_4u_map_page() local
390 struct iommu *iommu; in dma_4u_unmap_page() local
443 struct iommu *iommu; in dma_4u_map_sg() local
612 struct iommu *iommu; in dma_4u_unmap_sg() local
661 struct iommu *iommu; in dma_4u_sync_single_for_cpu() local
699 struct iommu *iommu; in dma_4u_sync_sg_for_cpu() local
[all …]
A Diommu-common.c19 static inline bool need_flush(struct iommu_map_table *iommu) in need_flush()
24 static inline void set_flush(struct iommu_map_table *iommu) in set_flush()
29 static inline void clear_flush(struct iommu_map_table *iommu) in clear_flush()
52 void iommu_tbl_pool_init(struct iommu_map_table *iommu, in iommu_tbl_pool_init()
98 struct iommu_map_table *iommu, in iommu_tbl_range_alloc()
246 void iommu_tbl_range_free(struct iommu_map_table *iommu, u64 dma_addr, in iommu_tbl_range_free()
A Dsbus.c62 struct iommu *iommu = dev->archdata.iommu; in sbus_set_sbus64() local
212 struct iommu *iommu = op->dev.archdata.iommu; in sbus_build_irq() local
274 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ue_handler() local
348 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ce_handler() local
427 struct iommu *iommu = op->dev.archdata.iommu; in sysio_sbus_error_handler() local
496 struct iommu *iommu = op->dev.archdata.iommu; in sysio_register_error_handlers() local
544 struct iommu *iommu; in sbus_iommu_init() local
A Dpci_sun4v.c77 static inline bool iommu_use_atu(struct iommu *iommu, u64 mask) in iommu_use_atu()
187 struct iommu *iommu; in dma_4v_alloc_coherent() local
326 struct iommu *iommu; in dma_4v_free_coherent() local
359 struct iommu *iommu; in dma_4v_map_page() local
433 struct iommu *iommu; in dma_4v_unmap_page() local
478 struct iommu *iommu; in dma_4v_map_sg() local
629 struct iommu *iommu; in dma_4v_unmap_sg() local
676 struct iommu *iommu = dev->archdata.iommu; in dma_4v_supported() local
709 struct iommu_map_table *iommu) in probe_existing_entries()
868 struct iommu *iommu = pbm->iommu; in pci_sun4v_iommu_init() local
[all …]
/linux/drivers/vfio/
A Dvfio_iommu_type1.c835 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_pin_pages() local
955 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_unpin_pages() local
2159 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_attach_group() local
2457 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_detach_group() local
2540 struct vfio_iommu *iommu; in vfio_iommu_type1_open() local
2590 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_release() local
2985 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_ioctl() local
3007 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_register_notifier() local
3022 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_unregister_notifier() local
3092 struct vfio_iommu *iommu = iommu_data; in vfio_iommu_type1_dma_rw() local
[all …]
/linux/drivers/gpu/drm/msm/
A Dmsm_iommu.c85 struct msm_iommu *iommu = to_msm_iommu(pagetable->parent); in msm_iommu_pagetable_destroy() local
151 struct msm_iommu *iommu = to_msm_iommu(parent); in msm_iommu_pagetable_create() local
226 struct msm_iommu *iommu = arg; in msm_fault_handler() local
251 struct msm_iommu *iommu = to_msm_iommu(mmu); in msm_iommu_detach() local
259 struct msm_iommu *iommu = to_msm_iommu(mmu); in msm_iommu_map() local
274 struct msm_iommu *iommu = to_msm_iommu(mmu); in msm_iommu_unmap() local
286 struct msm_iommu *iommu = to_msm_iommu(mmu); in msm_iommu_destroy() local
301 struct msm_iommu *iommu; in msm_iommu_new() local
/linux/arch/powerpc/platforms/cell/
A Diommu.c102 struct cbe_iommu *iommu; member
233 struct cbe_iommu *iommu = data; in ioc_interrupt() local
296 static void cell_iommu_setup_stab(struct cbe_iommu *iommu, in cell_iommu_setup_stab()
316 static unsigned long *cell_iommu_alloc_ptab(struct cbe_iommu *iommu, in cell_iommu_alloc_ptab()
376 static void cell_iommu_enable_hardware(struct cbe_iommu *iommu) in cell_iommu_enable_hardware()
416 static void cell_iommu_setup_hardware(struct cbe_iommu *iommu, in cell_iommu_setup_hardware()
543 struct cbe_iommu *iommu; in cell_get_iommu_table() local
620 struct cbe_iommu *iommu; in cell_iommu_alloc() local
661 struct cbe_iommu *iommu; in cell_iommu_init_one() local
876 static void cell_iommu_setup_fixed_ptab(struct cbe_iommu *iommu, in cell_iommu_setup_fixed_ptab()
[all …]
/linux/arch/x86/events/amd/
A Diommu.c38 struct amd_iommu *iommu; member
239 struct amd_iommu *iommu = perf_event_2_iommu(ev); in perf_iommu_enable_event() local
269 struct amd_iommu *iommu = perf_event_2_iommu(event); in perf_iommu_disable_event() local
296 struct amd_iommu *iommu = perf_event_2_iommu(event); in perf_iommu_start() local
313 struct amd_iommu *iommu = perf_event_2_iommu(event); in perf_iommu_read() local

Completed in 116 milliseconds

1234