/linux-master/drivers/iommu/amd/ |
H A D | iommu.c | 124 struct dev_table_entry *get_dev_table(struct amd_iommu *iommu) argument 154 void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid) argument 187 alloc_dev_data(struct amd_iommu *iommu, u16 devid) argument 204 search_dev_data(struct amd_iommu *iommu, u16 devid) argument 224 struct amd_iommu *iommu; local 244 clone_aliases(struct amd_iommu *iommu, struct device *dev) argument 262 setup_aliases(struct amd_iommu *iommu, struct device *dev) argument 284 find_dev_data(struct amd_iommu *iommu, u16 devid) argument 471 struct amd_iommu *iommu; local 494 iommu_init_device(struct amd_iommu *iommu, struct device *dev) argument 530 iommu_ignore_device(struct amd_iommu *iommu, struct device *dev) argument 570 dump_dte_entry(struct amd_iommu *iommu, u16 devid) argument 588 amd_iommu_report_rmp_hw_error(struct amd_iommu *iommu, volatile u32 *event) argument 620 amd_iommu_report_rmp_fault(struct amd_iommu *iommu, volatile u32 *event) argument 659 amd_iommu_report_page_fault(struct amd_iommu *iommu, u16 devid, u16 domain_id, u64 address, int flags) argument 710 iommu_print_event(struct amd_iommu *iommu, void *__evt) argument 806 iommu_poll_events(struct amd_iommu *iommu) argument 821 iommu_poll_ppr_log(struct amd_iommu *iommu) argument 885 iommu_poll_ga_log(struct amd_iommu *iommu) argument 928 amd_iommu_set_pci_msi_domain(struct device *dev, struct amd_iommu *iommu) argument 939 amd_iommu_set_pci_msi_domain(struct device *dev, struct amd_iommu *iommu) argument 947 struct amd_iommu *iommu = (struct amd_iommu *) data; local 1030 wait_on_sem(struct amd_iommu *iommu, u64 data) argument 1047 copy_cmd_to_buffer(struct amd_iommu *iommu, struct iommu_cmd *cmd) argument 1065 build_completion_wait(struct iommu_cmd *cmd, struct amd_iommu *iommu, u64 data) argument 1203 __iommu_queue_command_sync(struct amd_iommu *iommu, struct iommu_cmd *cmd, bool sync) argument 1240 iommu_queue_command_sync(struct amd_iommu *iommu, struct iommu_cmd *cmd, bool sync) argument 1254 iommu_queue_command(struct amd_iommu *iommu, struct iommu_cmd *cmd) argument 1263 iommu_completion_wait(struct amd_iommu *iommu) argument 1290 iommu_flush_dte(struct amd_iommu *iommu, u16 devid) argument 1299 amd_iommu_flush_dte_all(struct amd_iommu *iommu) argument 1314 amd_iommu_flush_tlb_all(struct amd_iommu *iommu) argument 1329 amd_iommu_flush_tlb_domid(struct amd_iommu *iommu, u32 dom_id) argument 1340 amd_iommu_flush_all(struct amd_iommu *iommu) argument 1350 iommu_flush_irt(struct amd_iommu *iommu, u16 devid) argument 1359 amd_iommu_flush_irt_all(struct amd_iommu *iommu) argument 1373 amd_iommu_flush_all_caches(struct amd_iommu *iommu) argument 1390 struct amd_iommu *iommu = get_amd_iommu_from_dev_data(dev_data); local 1402 struct amd_iommu *iommu = data; local 1412 struct amd_iommu *iommu = get_amd_iommu_from_dev_data(dev_data); local 1454 struct amd_iommu *iommu = get_amd_iommu_from_dev(dev_data->dev); local 1580 struct amd_iommu *iommu = get_amd_iommu_from_dev(dev_data->dev); local 1645 struct amd_iommu *iommu = rlookup_amd_iommu(dev_data->dev); local 1671 struct amd_iommu *iommu; local 1784 setup_gcr3_table(struct gcr3_tbl_info *gcr3_info, struct amd_iommu *iommu, int pasids) argument 1895 set_dte_entry(struct amd_iommu *iommu, struct iommu_dev_data *dev_data) argument 1990 clear_dte_entry(struct amd_iommu *iommu, u16 devid) argument 2008 struct amd_iommu *iommu = get_amd_iommu_from_dev_data(dev_data); local 2050 struct amd_iommu *iommu = get_amd_iommu_from_dev_data(dev_data); local 2149 struct amd_iommu *iommu; local 2190 struct amd_iommu *iommu; local 2353 amd_iommu_hd_support(struct amd_iommu *iommu) argument 2363 struct amd_iommu *iommu = NULL; local 2447 struct amd_iommu *iommu = get_amd_iommu_from_dev(dev); local 2586 struct amd_iommu *iommu = get_amd_iommu_from_dev(dev); local 2604 struct amd_iommu *iommu; local 2666 struct amd_iommu *iommu; local 2824 iommu_flush_irt_and_complete(struct amd_iommu *iommu, u16 devid) argument 2850 set_dte_irq_entry(struct amd_iommu *iommu, u16 devid, struct irq_remap_table *table) argument 2866 get_irq_table(struct amd_iommu *iommu, u16 devid) argument 2908 set_remap_table_entry(struct amd_iommu *iommu, u16 devid, struct irq_remap_table *table) argument 2923 struct amd_iommu *iommu = rlookup_amd_iommu(&pdev->dev); local 2936 alloc_irq_table(struct amd_iommu *iommu, u16 devid, struct pci_dev *pdev) argument 3002 alloc_irq_index(struct amd_iommu *iommu, u16 devid, int count, bool align, struct pci_dev *pdev) argument 3048 __modify_irte_ga(struct amd_iommu *iommu, u16 devid, int index, struct irte_ga *irte) argument 3079 modify_irte_ga(struct amd_iommu *iommu, u16 devid, int index, struct irte_ga *irte) argument 3093 modify_irte(struct amd_iommu *iommu, u16 devid, int index, union irte *irte) argument 3112 free_irte(struct amd_iommu *iommu, u16 devid, int index) argument 3158 irte_activate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) argument 3166 irte_ga_activate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) argument 3174 irte_deactivate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) argument 3182 irte_ga_deactivate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) argument 3190 irte_set_affinity(struct amd_iommu *iommu, void *entry, u16 devid, u16 index, u8 vector, u32 dest_apicid) argument 3200 irte_ga_set_affinity(struct amd_iommu *iommu, void *entry, u16 devid, u16 index, u8 vector, u32 dest_apicid) argument 3299 struct amd_iommu *iommu = data->iommu; local 3350 struct amd_iommu *iommu; local 3486 struct amd_iommu *iommu = data->iommu; local 3503 struct amd_iommu *iommu = data->iommu; local 3513 struct amd_iommu *iommu; local 3652 amd_ir_update_irte(struct irq_data *irqd, struct amd_iommu *iommu, struct amd_ir_data *ir_data, struct irq_2_irte *irte_info, struct irq_cfg *cfg) argument 3674 struct amd_iommu *iommu = ir_data->iommu; local 3725 amd_iommu_create_irq_domain(struct amd_iommu *iommu) argument [all...] |
H A D | init.c | 235 bool translation_pre_enabled(struct amd_iommu *iommu) argument 240 static void clear_translation_pre_enabled(struct amd_iommu *iommu) argument 245 static void init_translation_status(struct amd_iommu *iommu) argument 273 struct amd_iommu *iommu; local 308 early_iommu_features_init(struct amd_iommu *iommu, struct ivhd_header *h) argument 321 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) argument 330 iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) argument 337 iommu_read_l2(struct amd_iommu *iommu, u8 address) argument 346 iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val) argument 365 iommu_set_exclusion_range(struct amd_iommu *iommu) argument 383 iommu_set_cwwb_range(struct amd_iommu *iommu) argument 407 iommu_set_device_table(struct amd_iommu *iommu) argument 422 iommu_feature_enable(struct amd_iommu *iommu, u8 bit) argument 431 iommu_feature_disable(struct amd_iommu *iommu, u8 bit) argument 440 iommu_set_inv_tlb_timeout(struct amd_iommu *iommu, int timeout) argument 451 iommu_enable(struct amd_iommu *iommu) argument 456 iommu_disable(struct amd_iommu *iommu) argument 499 iommu_unmap_mmio_space(struct amd_iommu *iommu) argument 737 alloc_command_buffer(struct amd_iommu *iommu) argument 749 amd_iommu_restart_log(struct amd_iommu *iommu, const char *evt_type, u8 cntrl_intr, u8 cntrl_log, u32 status_run_mask, u32 status_overflow_mask) argument 774 amd_iommu_restart_event_logging(struct amd_iommu *iommu) argument 785 amd_iommu_restart_ga_log(struct amd_iommu *iommu) argument 796 amd_iommu_restart_ppr_log(struct amd_iommu *iommu) argument 807 amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu) argument 823 iommu_enable_command_buffer(struct amd_iommu *iommu) argument 841 iommu_disable_command_buffer(struct amd_iommu *iommu) argument 846 free_command_buffer(struct amd_iommu *iommu) argument 851 iommu_alloc_4k_pages(struct amd_iommu *iommu, gfp_t gfp, size_t size) argument 868 alloc_event_buffer(struct amd_iommu *iommu) argument 876 iommu_enable_event_buffer(struct amd_iommu *iommu) argument 897 iommu_disable_event_buffer(struct amd_iommu *iommu) argument 902 free_event_buffer(struct amd_iommu *iommu) argument 908 alloc_ppr_log(struct amd_iommu *iommu) argument 916 iommu_enable_ppr_log(struct amd_iommu *iommu) argument 938 free_ppr_log(struct amd_iommu *iommu) argument 943 free_ga_log(struct amd_iommu *iommu) argument 952 iommu_ga_log_enable(struct amd_iommu *iommu) argument 987 iommu_init_ga_log(struct amd_iommu *iommu) argument 1009 alloc_cwwb_sem(struct amd_iommu *iommu) argument 1016 free_cwwb_sem(struct amd_iommu *iommu) argument 1022 iommu_enable_xt(struct amd_iommu *iommu) argument 1035 iommu_enable_gt(struct amd_iommu *iommu) argument 1053 set_dev_entry_bit(struct amd_iommu *iommu, u16 devid, u8 bit) argument 1069 get_dev_entry_bit(struct amd_iommu *iommu, u16 devid, u8 bit) argument 1076 __copy_device_table(struct amd_iommu *iommu) argument 1168 struct amd_iommu *iommu; local 1193 amd_iommu_apply_erratum_63(struct amd_iommu *iommu, u16 devid) argument 1208 set_dev_entry_from_acpi(struct amd_iommu *iommu, u16 devid, u32 flags, u32 ext_flags) argument 1342 init_iommu_from_acpi(struct amd_iommu *iommu, struct ivhd_header *h) argument 1681 free_iommu_one(struct amd_iommu *iommu) argument 1693 struct amd_iommu *iommu, *next; local 1708 amd_iommu_erratum_746_workaround(struct amd_iommu *iommu) argument 1739 amd_iommu_ats_write_check_workaround(struct amd_iommu *iommu) argument 1765 init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h, struct acpi_table_header *ivrs_base) argument 1852 init_iommu_one_late(struct amd_iommu *iommu) argument 1926 struct amd_iommu *iommu; local 1971 init_iommu_perf_ctr(struct amd_iommu *iommu) argument 1994 struct amd_iommu *iommu = dev_to_amd_iommu(dev); local 2028 late_iommu_features_init(struct amd_iommu *iommu) argument 2058 iommu_init_pci(struct amd_iommu *iommu) argument 2201 struct amd_iommu *iommu; local 2247 iommu_setup_msi(struct amd_iommu *iommu) argument 2331 struct amd_iommu *iommu = irqd->chip_data; local 2346 struct amd_iommu *iommu = irqd->chip_data; local 2411 __iommu_setup_intcapxt(struct amd_iommu *iommu, const char *devname, int hwirq, irq_handler_t thread_fn) argument 2445 iommu_setup_intcapxt(struct amd_iommu *iommu) argument 2476 iommu_init_irq(struct amd_iommu *iommu) argument 2655 iommu_init_flags(struct amd_iommu *iommu) argument 2682 iommu_apply_resume_quirks(struct amd_iommu *iommu) argument 2725 iommu_enable_ga(struct amd_iommu *iommu) argument 2741 iommu_disable_irtcachedis(struct amd_iommu *iommu) argument 2746 iommu_enable_irtcachedis(struct amd_iommu *iommu) argument 2768 early_enable_iommu(struct amd_iommu *iommu) argument 2794 struct amd_iommu *iommu; local 2845 struct amd_iommu *iommu; local 2855 struct amd_iommu *iommu; local 2920 struct amd_iommu *iommu; local 2938 struct amd_iommu *iommu; local 3170 struct amd_iommu *iommu; local 3327 struct amd_iommu *iommu; local 3409 struct amd_iommu *iommu; local 3711 struct amd_iommu *iommu; local 3728 struct amd_iommu *iommu = get_amd_iommu(idx); local 3743 struct amd_iommu *iommu = get_amd_iommu(idx); local 3751 iommu_pc_get_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value, bool is_write) argument 3789 amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value) argument 3797 amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value) argument 3863 struct amd_iommu *iommu; local [all...] |
/linux-master/drivers/iommu/ |
H A D | mtk_iommu.c | 260 struct iommu_device iommu; member in struct:mtk_iommu_data [all...] |
H A D | mtk_iommu_v1.c | 104 struct iommu_device iommu; member in struct:mtk_iommu_v1_data [all...] |
H A D | iommu.c | 250 int iommu_device_register(struct iommu_device *iommu, argument 275 iommu_device_unregister(struct iommu_device *iommu) argument 291 iommu_device_unregister_bus(struct iommu_device *iommu, const struct bus_type *bus, struct notifier_block *nb) argument 305 iommu_device_register_bus(struct iommu_device *iommu, const struct iommu_ops *ops, const struct bus_type *bus, struct notifier_block *nb) argument 1499 struct iommu_device *iommu = dev->iommu->iommu_dev; local 2810 struct iommu_device *iommu; local [all...] |
H A D | virtio-iommu.c | 35 struct iommu_device iommu; member in struct:viommu_dev [all...] |
H A D | tegra-smmu.c | 49 struct iommu_device iommu; /* IOMMU Core code handle */ member in struct:tegra_smmu [all...] |
H A D | sun50i-iommu.c | 99 struct iommu_device iommu; member in struct:sun50i_iommu 123 struct sun50i_iommu *iommu; member in struct:sun50i_iommu_domain 136 static u32 iommu_read(struct sun50i_iommu *iommu, u32 offset) argument 141 static void iommu_write(struct sun50i_iommu *iommu, u32 offset, u32 value) argument 292 struct sun50i_iommu *iommu = sun50i_domain->iommu; local 299 sun50i_iommu_zap_iova(struct sun50i_iommu *iommu, unsigned long iova) argument 316 sun50i_iommu_zap_ptw_cache(struct sun50i_iommu *iommu, unsigned long iova) argument 332 sun50i_iommu_zap_range(struct sun50i_iommu *iommu, unsigned long iova, size_t size) argument 355 sun50i_iommu_flush_all_tlb(struct sun50i_iommu *iommu) argument 385 struct sun50i_iommu *iommu = sun50i_domain->iommu; local 408 struct sun50i_iommu *iommu = sun50i_domain->iommu; local 424 sun50i_iommu_enable(struct sun50i_iommu *iommu) argument 506 sun50i_iommu_disable(struct sun50i_iommu *iommu) argument 521 sun50i_iommu_alloc_page_table(struct sun50i_iommu *iommu, gfp_t gfp) argument 544 sun50i_iommu_free_page_table(struct sun50i_iommu *iommu, u32 *page_table) argument 556 struct sun50i_iommu *iommu = sun50i_domain->iommu; local 597 struct sun50i_iommu *iommu = sun50i_domain->iommu; local 711 sun50i_iommu_attach_domain(struct sun50i_iommu *iommu, struct sun50i_iommu_domain *sun50i_domain) argument 727 sun50i_iommu_detach_domain(struct sun50i_iommu *iommu, struct sun50i_iommu_domain *sun50i_domain) argument 763 struct sun50i_iommu *iommu = dev_iommu_priv_get(dev); local 790 struct sun50i_iommu *iommu; local 812 struct sun50i_iommu *iommu; local 851 sun50i_iommu_report_fault(struct sun50i_iommu *iommu, unsigned master, phys_addr_t iova, unsigned prot) argument 866 sun50i_iommu_handle_pt_irq(struct sun50i_iommu *iommu, unsigned addr_reg, unsigned blame_reg) argument 890 sun50i_iommu_handle_perm_irq(struct sun50i_iommu *iommu) argument 948 struct sun50i_iommu *iommu = dev_id; local 985 struct sun50i_iommu *iommu; local [all...] |
H A D | rockchip-iommu.c | 113 struct iommu_device iommu; member in struct:rk_iommu 120 struct rk_iommu *iommu; member in struct:rk_iommudata 344 static void rk_iommu_command(struct rk_iommu *iommu, u32 command) argument 356 static void rk_iommu_zap_lines(struct rk_iommu *iommu, dma_addr_ argument 373 rk_iommu_is_stall_active(struct rk_iommu *iommu) argument 385 rk_iommu_is_paging_enabled(struct rk_iommu *iommu) argument 397 rk_iommu_is_reset_done(struct rk_iommu *iommu) argument 408 rk_iommu_enable_stall(struct rk_iommu *iommu) argument 433 rk_iommu_disable_stall(struct rk_iommu *iommu) argument 454 rk_iommu_enable_paging(struct rk_iommu *iommu) argument 475 rk_iommu_disable_paging(struct rk_iommu *iommu) argument 496 rk_iommu_force_reset(struct rk_iommu *iommu) argument 532 log_iova(struct rk_iommu *iommu, int index, dma_addr_t iova) argument 581 struct rk_iommu *iommu = dev_id; local 685 struct rk_iommu *iommu; local 907 rk_iommu_disable(struct rk_iommu *iommu) argument 924 rk_iommu_enable(struct rk_iommu *iommu) argument 961 struct rk_iommu *iommu; local 1006 struct rk_iommu *iommu; local 1121 struct rk_iommu *iommu; local 1183 struct rk_iommu *iommu; local 1302 struct rk_iommu *iommu = platform_get_drvdata(pdev); local 1316 struct rk_iommu *iommu = dev_get_drvdata(dev); local 1327 struct rk_iommu *iommu = dev_get_drvdata(dev); local [all...] |
H A D | sprd-iommu.c | 72 struct iommu_device iommu; member in struct:sprd_iommu_device [all...] |
/linux-master/drivers/iommu/intel/ |
H A D | svm.c | 63 int intel_svm_enable_prq(struct intel_iommu *iommu) argument 126 intel_svm_finish_prq(struct intel_iommu *iommu) argument 149 intel_svm_check(struct intel_iommu *iommu) argument 321 struct intel_iommu *iommu = info->iommu; local 471 struct intel_iommu *iommu; local 557 intel_svm_prq_report(struct intel_iommu *iommu, struct device *dev, struct page_req_dsc *desc) argument 597 handle_bad_prq_event(struct intel_iommu *iommu, struct page_req_dsc *req, int result) argument 638 struct intel_iommu *iommu = d; local 736 struct intel_iommu *iommu = info->iommu; local [all...] |
H A D | perfmon.c | 346 struct intel_iommu *iommu = iommu_pmu->iommu; local 383 struct intel_iommu *iommu = iommu_pmu->iommu; local 495 struct intel_iommu *iommu = iommu_pmu->iommu; local 503 struct intel_iommu *iommu = iommu_pmu->iommu; local 538 struct intel_iommu *iommu = dev_id; local 551 __iommu_pmu_register(struct intel_iommu *iommu) argument 574 get_perf_reg_address(struct intel_iommu *iommu, u32 offset) argument 581 alloc_iommu_pmu(struct intel_iommu *iommu) argument 725 free_iommu_pmu(struct intel_iommu *iommu) argument 744 iommu_pmu_set_interrupt(struct intel_iommu *iommu) argument 766 iommu_pmu_unset_interrupt(struct intel_iommu *iommu) argument 859 iommu_pmu_register(struct intel_iommu *iommu) argument 887 iommu_pmu_unregister(struct intel_iommu *iommu) argument [all...] |
H A D | iommu.c | 134 struct device *device_rbtree_find(struct intel_iommu *iommu, u16 rid) argument 149 static int device_rbtree_insert(struct intel_iommu *iommu, argument 166 struct intel_iommu *iommu = info->iommu; local 204 struct intel_iommu *iommu; /* the corresponding iommu */ member in struct:dmar_satc_unit 235 translation_pre_enabled(struct intel_iommu *iommu) argument 240 clear_translation_pre_enabled(struct intel_iommu *iommu) argument 245 init_translation_status(struct intel_iommu *iommu) argument 334 __iommu_calculate_sagaw(struct intel_iommu *iommu) argument 352 __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) argument 369 iommu_calculate_max_sagaw(struct intel_iommu *iommu) argument 379 iommu_calculate_agaw(struct intel_iommu *iommu) argument 384 iommu_paging_structure_coherency(struct intel_iommu *iommu) argument 394 struct intel_iommu *iommu; local 424 struct intel_iommu *iommu; local 519 iommu_context_addr(struct intel_iommu *iommu, u8 bus, u8 devfn, int alloc) argument 617 iommu_is_dummy(struct intel_iommu *iommu, struct device *dev) argument 638 struct intel_iommu *iommu; local 711 free_context_table(struct intel_iommu *iommu) argument 737 pgtable_walk(struct intel_iommu *iommu, unsigned long pfn, u8 bus, u8 devfn, struct dma_pte *parent, int level) argument 761 dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, unsigned long long addr, u32 pasid) argument 1117 iommu_alloc_root_entry(struct intel_iommu *iommu) argument 1134 iommu_set_root_entry(struct intel_iommu *iommu) argument 1168 iommu_flush_write_buffer(struct intel_iommu *iommu) argument 1187 __iommu_flush_context(struct intel_iommu *iommu, u16 did, u16 source_id, u8 function_mask, u64 type) argument 1223 __iommu_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, unsigned int size_order, u64 type) argument 1274 domain_lookup_dev_info(struct dmar_domain *domain, struct intel_iommu *iommu, u8 bus, u8 devfn) argument 1426 domain_flush_pasid_iotlb(struct intel_iommu *iommu, struct dmar_domain *domain, u64 addr, unsigned long npages, bool ih) argument 1443 __iommu_flush_iotlb_psi(struct intel_iommu *iommu, u16 did, unsigned long pfn, unsigned int pages, int ih) argument 1483 iommu_flush_iotlb_psi(struct intel_iommu *iommu, struct dmar_domain *domain, unsigned long pfn, unsigned int pages, int ih, int map) argument 1513 __mapping_notify_one(struct intel_iommu *iommu, struct dmar_domain *domain, unsigned long pfn, unsigned int pages) argument 1573 struct intel_iommu *iommu = info->iommu; local 1590 iommu_disable_protect_mem_regions(struct intel_iommu *iommu) argument 1610 iommu_enable_translation(struct intel_iommu *iommu) argument 1626 iommu_disable_translation(struct intel_iommu *iommu) argument 1646 iommu_init_domains(struct intel_iommu *iommu) argument 1681 disable_dmar_iommu(struct intel_iommu *iommu) argument 1698 free_dmar_iommu(struct intel_iommu *iommu) argument 1759 domain_attach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) argument 1808 domain_detach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) argument 1853 domain_context_mapping_one(struct dmar_domain *domain, struct intel_iommu *iommu, u8 bus, u8 devfn) argument 1970 struct intel_iommu *iommu = info->iommu; local 1981 struct intel_iommu *iommu = info->iommu; local 2174 struct intel_iommu *iommu = info->iommu; local 2205 domain_setup_first_level(struct intel_iommu *iommu, struct dmar_domain *domain, struct device *dev, u32 pasid) argument 2323 struct intel_iommu *iommu = info->iommu; local 2413 intel_iommu_init_qi(struct intel_iommu *iommu) argument 2448 copy_context_table(struct intel_iommu *iommu, struct root_entry *old_re, struct context_entry **tbl, int bus, bool ext) argument 2532 copy_translation_tables(struct intel_iommu *iommu) argument 2620 struct intel_iommu *iommu; local 2810 struct intel_iommu *iommu = NULL; local 2844 struct intel_iommu *iommu; local 2857 struct intel_iommu *iommu = NULL; local 2884 struct intel_iommu *iommu = NULL; local 3134 struct intel_iommu *iommu = dmaru->iommu; local 3206 struct intel_iommu *iommu = dmaru->iommu; local 3270 dmar_ats_supported(struct pci_dev *dev, struct intel_iommu *iommu) argument 3418 struct intel_iommu *iommu; local 3444 struct intel_iommu *iommu = NULL; local 3454 struct intel_iommu *iommu = NULL; local 3481 struct intel_iommu *iommu = dev_to_intel_iommu(dev); local 3491 struct intel_iommu *iommu = dev_to_intel_iommu(dev); local 3499 struct intel_iommu *iommu = dev_to_intel_iommu(dev); local 3507 struct intel_iommu *iommu = dev_to_intel_iommu(dev); local 3515 struct intel_iommu *iommu = dev_to_intel_iommu(dev); local 3523 struct intel_iommu *iommu = dev_to_intel_iommu(dev); local 3637 struct intel_iommu *iommu; local 3799 struct intel_iommu *iommu = info->iommu; local 3902 struct intel_iommu *iommu = info->iommu; local 3963 struct intel_iommu *iommu = info->iommu; local 4245 struct intel_iommu *iommu; local 4338 struct intel_iommu *iommu = info->iommu; local 4430 struct intel_iommu *iommu; local 4466 struct intel_iommu *iommu; local 4505 struct intel_iommu *iommu = info->iommu; local 4597 struct intel_iommu *iommu = info->iommu; local 4641 struct intel_iommu *iommu = info->iommu; local 4698 struct intel_iommu *iommu = info->iommu; local 5120 ecmd_submit_sync(struct intel_iommu *iommu, u8 ecmd, u64 oa, u64 ob) argument [all...] |
/linux-master/include/linux/ |
H A D | device.h | 787 struct dev_iommu *iommu; member in struct:device
|
H A D | iommu.h | 1250 iommu_device_register(struct iommu_device *iommu, const struct iommu_ops *ops, struct device *hwdev) argument 1289 iommu_device_unregister(struct iommu_device *iommu) argument 1293 iommu_device_sysfs_add(struct iommu_device *iommu, struct device *parent, const struct attribute_group **groups, const char *fmt, ...) argument 1301 iommu_device_sysfs_remove(struct iommu_device *iommu) argument [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | x86_init.h | 171 struct x86_init_iommu iommu; member in struct:x86_init_ops
|
/linux-master/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.h | 684 struct iommu_device iommu; member in struct:arm_smmu_device
|
/linux-master/drivers/xen/ |
H A D | grant-dma-iommu.c | 16 struct iommu_device iommu; member in struct:grant_dma_iommu_device
|
/linux-master/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 606 struct vhost_iotlb *iommu; local 634 struct vhost_iotlb *iommu; local [all...] |
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 165 static struct vfio_dma *vfio_find_dma(struct vfio_iommu *iommu, argument 184 static struct rb_node *vfio_find_dma_first_node(struct vfio_iommu *iommu, argument 209 static void vfio_link_dma(struct vfio_iommu *iommu, struct vfio_dma *new) argument 228 static void vfio_unlink_dma(struct vfio_iommu *iommu, struc argument 272 vfio_iommu_populate_bitmap_full(struct vfio_iommu *iommu) argument 284 vfio_dma_bitmap_alloc_all(struct vfio_iommu *iommu, size_t pgsize) argument 309 vfio_dma_bitmap_free_all(struct vfio_iommu *iommu) argument 790 struct vfio_iommu *iommu = iommu_data; local 907 struct vfio_iommu *iommu = iommu_data; local 1025 vfio_unmap_unpin(struct vfio_iommu *iommu, struct vfio_dma *dma, bool do_accounting) argument 1109 vfio_remove_dma(struct vfio_iommu *iommu, struct vfio_dma *dma) argument 1123 vfio_update_pgsize_bitmap(struct vfio_iommu *iommu) argument 1146 update_user_bitmap(u64 __user *bitmap, struct vfio_iommu *iommu, struct vfio_dma *dma, dma_addr_t base_iova, size_t pgsize) argument 1183 vfio_iova_dirty_bitmap(u64 __user *bitmap, struct vfio_iommu *iommu, dma_addr_t iova, size_t size, size_t pgsize) argument 1243 vfio_notify_dma_unmap(struct vfio_iommu *iommu, struct vfio_dma *dma) argument 1267 vfio_dma_do_unmap(struct vfio_iommu *iommu, struct vfio_iommu_type1_dma_unmap *unmap, struct vfio_bitmap *bitmap) argument 1418 vfio_iommu_map(struct vfio_iommu *iommu, dma_addr_t iova, unsigned long pfn, long npage, int prot) argument 1445 vfio_pin_map_dma(struct vfio_iommu *iommu, struct vfio_dma *dma, size_t map_size) argument 1495 vfio_iommu_iova_dma_valid(struct vfio_iommu *iommu, dma_addr_t start, dma_addr_t end) argument 1545 vfio_dma_do_map(struct vfio_iommu *iommu, struct vfio_iommu_type1_dma_map *map) argument 1665 vfio_iommu_replay(struct vfio_iommu *iommu, struct vfio_domain *domain) argument 1867 vfio_iommu_find_iommu_group(struct vfio_iommu *iommu, struct iommu_group *iommu_group) argument 1941 vfio_iommu_aper_conflict(struct vfio_iommu *iommu, dma_addr_t start, dma_addr_t end) argument 2015 vfio_iommu_resv_conflict(struct vfio_iommu *iommu, struct list_head *resv_regions) argument 2104 vfio_iommu_iova_get_copy(struct vfio_iommu *iommu, struct list_head *iova_copy) argument 2124 vfio_iommu_iova_insert_copy(struct vfio_iommu *iommu, struct list_head *iova_copy) argument 2145 struct vfio_iommu *iommu = iommu_data; local 2341 vfio_iommu_unmap_unpin_all(struct vfio_iommu *iommu) argument 2349 vfio_iommu_unmap_unpin_reaccount(struct vfio_iommu *iommu) argument 2377 vfio_iommu_aper_expand(struct vfio_iommu *iommu, struct list_head *iova_copy) argument 2410 vfio_iommu_resv_refresh(struct vfio_iommu *iommu, struct list_head *iova_copy) argument 2454 struct vfio_iommu *iommu = iommu_data; local 2538 struct vfio_iommu *iommu; local 2587 struct vfio_iommu *iommu = iommu_data; local 2611 vfio_domains_have_enforce_cache_coherency(struct vfio_iommu *iommu) argument 2628 vfio_iommu_has_emulated(struct vfio_iommu *iommu) argument 2638 vfio_iommu_type1_check_extension(struct vfio_iommu *iommu, unsigned long arg) argument 2683 vfio_iommu_iova_build_caps(struct vfio_iommu *iommu, struct vfio_info_cap *caps) argument 2722 vfio_iommu_migration_build_caps(struct vfio_iommu *iommu, struct vfio_info_cap *caps) argument 2738 vfio_iommu_dma_avail_build_caps(struct vfio_iommu *iommu, struct vfio_info_cap *caps) argument 2752 vfio_iommu_type1_get_info(struct vfio_iommu *iommu, unsigned long arg) argument 2811 vfio_iommu_type1_map_dma(struct vfio_iommu *iommu, unsigned long arg) argument 2830 vfio_iommu_type1_unmap_dma(struct vfio_iommu *iommu, unsigned long arg) argument 2883 vfio_iommu_type1_dirty_pages(struct vfio_iommu *iommu, unsigned long arg) argument 2990 struct vfio_iommu *iommu = iommu_data; local 3011 struct vfio_iommu *iommu = iommu_data; local 3032 struct vfio_iommu *iommu = iommu_data; local 3044 vfio_iommu_type1_dma_rw_chunk(struct vfio_iommu *iommu, dma_addr_t user_iova, void *data, size_t count, bool write, size_t *copied) argument 3107 struct vfio_iommu *iommu = iommu_data; local 3140 struct vfio_iommu *iommu = iommu_data; local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | psycho_common.c | 209 struct iommu *iommu = pbm->iommu; local 405 struct iommu *iommu = pbm->iommu; local [all...] |
H A D | pci_schizo.c | 242 struct iommu *iommu = pbm->iommu; local 1140 struct iommu *iommu = pbm->iommu; local 1422 struct iommu *iommu; local [all...] |
H A D | pci_impl.h | 150 struct iommu *iommu; member in struct:pci_pbm_info
|
H A D | pci.c | 252 static void pci_init_dev_archdata(struct dev_archdata *sd, void *iommu, argument 821 struct iommu *iommu = dev->archdata.iommu; local [all...] |
H A D | ldc.c | 146 struct ldc_iommu iommu; member in struct:ldc_channel 1022 static void ldc_demap(struct ldc_iommu *iommu, unsigned long id, u64 cookie, argument 1045 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; local 1103 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; local 2017 alloc_npages(struct ldc_iommu *iommu, unsigned long npages) argument 2155 struct ldc_iommu *iommu; local 2201 struct ldc_iommu *iommu; local 2233 free_npages(unsigned long id, struct ldc_iommu *iommu, u64 cookie, u64 size) argument 2248 struct ldc_iommu *iommu = &lp->iommu; local [all...] |