Lines Matching defs:smmu

91 static void parse_driver_options(struct arm_smmu_device *smmu)  in parse_driver_options()
182 static void queue_poll_init(struct arm_smmu_device *smmu, in queue_poll_init()
338 static struct arm_smmu_cmdq *arm_smmu_get_cmdq(struct arm_smmu_device *smmu) in arm_smmu_get_cmdq()
343 static void arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu, in arm_smmu_cmdq_build_sync_cmd()
362 static void __arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_skip_err()
417 static void arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu) in arm_smmu_cmdq_skip_err()
583 static int arm_smmu_cmdq_poll_until_not_full(struct arm_smmu_device *smmu, in arm_smmu_cmdq_poll_until_not_full()
618 static int __arm_smmu_cmdq_poll_until_msi(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_poll_until_msi()
642 static int __arm_smmu_cmdq_poll_until_consumed(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_poll_until_consumed()
692 static int arm_smmu_cmdq_poll_until_sync(struct arm_smmu_device *smmu, in arm_smmu_cmdq_poll_until_sync()
734 static int arm_smmu_cmdq_issue_cmdlist(struct arm_smmu_device *smmu, in arm_smmu_cmdq_issue_cmdlist()
854 static int __arm_smmu_cmdq_issue_cmd(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_issue_cmd()
869 static int arm_smmu_cmdq_issue_cmd(struct arm_smmu_device *smmu, in arm_smmu_cmdq_issue_cmd()
875 static int arm_smmu_cmdq_issue_cmd_with_sync(struct arm_smmu_device *smmu, in arm_smmu_cmdq_issue_cmd_with_sync()
881 static void arm_smmu_cmdq_batch_add(struct arm_smmu_device *smmu, in arm_smmu_cmdq_batch_add()
902 static int arm_smmu_cmdq_batch_submit(struct arm_smmu_device *smmu, in arm_smmu_cmdq_batch_submit()
947 void arm_smmu_tlb_inv_asid(struct arm_smmu_device *smmu, u16 asid) in arm_smmu_tlb_inv_asid()
965 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_sync_cd() local
988 static int arm_smmu_alloc_cd_leaf_table(struct arm_smmu_device *smmu, in arm_smmu_alloc_cd_leaf_table()
1019 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_get_cd_ptr() local
1124 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_alloc_cd_tables() local
1172 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_free_cd_tables() local
1228 static void arm_smmu_sync_ste_for_sid(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_sync_ste_for_sid()
1262 struct arm_smmu_device *smmu = NULL; in arm_smmu_write_strtab_ent() local
1393 static int arm_smmu_init_l2_strtab(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_init_l2_strtab()
1422 arm_smmu_find_master(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_find_master()
1444 static int arm_smmu_handle_evt(struct arm_smmu_device *smmu, u64 *evt) in arm_smmu_handle_evt()
1541 struct arm_smmu_device *smmu = dev; in arm_smmu_evtq_thread() local
1577 static void arm_smmu_handle_ppr(struct arm_smmu_device *smmu, u64 *evt) in arm_smmu_handle_ppr()
1617 struct arm_smmu_device *smmu = dev; in arm_smmu_priq_thread() local
1642 struct arm_smmu_device *smmu = dev; in arm_smmu_gerror_handler() local
1687 struct arm_smmu_device *smmu = dev; in arm_smmu_combined_irq_thread() local
1838 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_tlb_inv_context() local
1863 struct arm_smmu_device *smmu = smmu_domain->smmu; in __arm_smmu_tlb_inv_range() local
2045 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_free() local
2074 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_finalise_s1() local
2132 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_finalise_s2() local
2165 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_finalise() local
2224 static __le64 *arm_smmu_get_step_for_sid(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_get_step_for_sid()
2249 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_install_ste_for_dev() local
2269 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_ats_supported() local
2285 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_enable_ats() local
2390 struct arm_smmu_device *smmu; in arm_smmu_attach_dev() local
2529 static bool arm_smmu_sid_in_range(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_sid_in_range()
2539 static int arm_smmu_insert_master(struct arm_smmu_device *smmu, in arm_smmu_insert_master()
2615 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_remove_master() local
2634 struct arm_smmu_device *smmu; in arm_smmu_probe_device() local
2871 static int arm_smmu_init_one_queue(struct arm_smmu_device *smmu, in arm_smmu_init_one_queue()
2920 static int arm_smmu_cmdq_init(struct arm_smmu_device *smmu) in arm_smmu_cmdq_init()
2942 static int arm_smmu_init_queues(struct arm_smmu_device *smmu) in arm_smmu_init_queues()
2980 static int arm_smmu_init_l1_strtab(struct arm_smmu_device *smmu) in arm_smmu_init_l1_strtab()
2999 static int arm_smmu_init_strtab_2lvl(struct arm_smmu_device *smmu) in arm_smmu_init_strtab_2lvl()
3037 static int arm_smmu_init_strtab_linear(struct arm_smmu_device *smmu) in arm_smmu_init_strtab_linear()
3065 static int arm_smmu_init_strtab(struct arm_smmu_device *smmu) in arm_smmu_init_strtab()
3088 static int arm_smmu_init_structures(struct arm_smmu_device *smmu) in arm_smmu_init_structures()
3102 static int arm_smmu_write_reg_sync(struct arm_smmu_device *smmu, u32 val, in arm_smmu_write_reg_sync()
3113 static int arm_smmu_update_gbpa(struct arm_smmu_device *smmu, u32 set, u32 clr) in arm_smmu_update_gbpa()
3144 struct arm_smmu_device *smmu = dev_get_drvdata(dev); in arm_smmu_write_msi_msg() local
3155 static void arm_smmu_setup_msis(struct arm_smmu_device *smmu) in arm_smmu_setup_msis()
3205 static void arm_smmu_setup_unique_irqs(struct arm_smmu_device *smmu) in arm_smmu_setup_unique_irqs()
3251 static int arm_smmu_setup_irqs(struct arm_smmu_device *smmu) in arm_smmu_setup_irqs()
3292 static int arm_smmu_device_disable(struct arm_smmu_device *smmu) in arm_smmu_device_disable()
3303 static int arm_smmu_device_reset(struct arm_smmu_device *smmu, bool bypass) in arm_smmu_device_reset()
3438 static int arm_smmu_device_hw_probe(struct arm_smmu_device *smmu) in arm_smmu_device_hw_probe()
3652 static void acpi_smmu_get_options(u32 model, struct arm_smmu_device *smmu) in acpi_smmu_get_options()
3667 struct arm_smmu_device *smmu) in arm_smmu_device_acpi_probe()
3687 struct arm_smmu_device *smmu) in arm_smmu_device_acpi_probe()
3694 struct arm_smmu_device *smmu) in arm_smmu_device_dt_probe()
3715 static unsigned long arm_smmu_resource_size(struct arm_smmu_device *smmu) in arm_smmu_resource_size()
3773 struct arm_smmu_device *smmu; in arm_smmu_device_probe() local
3881 struct arm_smmu_device *smmu = platform_get_drvdata(pdev); in arm_smmu_device_remove() local