Lines Matching refs:arm_smmu_device
89 static void parse_driver_options(struct arm_smmu_device *smmu) in parse_driver_options()
180 static void queue_poll_init(struct arm_smmu_device *smmu, in queue_poll_init()
336 static struct arm_smmu_cmdq *arm_smmu_get_cmdq(struct arm_smmu_device *smmu) in arm_smmu_get_cmdq()
341 static void arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu, in arm_smmu_cmdq_build_sync_cmd()
360 static void __arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_skip_err()
415 static void arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu) in arm_smmu_cmdq_skip_err()
581 static int arm_smmu_cmdq_poll_until_not_full(struct arm_smmu_device *smmu, in arm_smmu_cmdq_poll_until_not_full()
616 static int __arm_smmu_cmdq_poll_until_msi(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_poll_until_msi()
640 static int __arm_smmu_cmdq_poll_until_consumed(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_poll_until_consumed()
690 static int arm_smmu_cmdq_poll_until_sync(struct arm_smmu_device *smmu, in arm_smmu_cmdq_poll_until_sync()
732 static int arm_smmu_cmdq_issue_cmdlist(struct arm_smmu_device *smmu, in arm_smmu_cmdq_issue_cmdlist()
852 static int __arm_smmu_cmdq_issue_cmd(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_issue_cmd()
867 static int arm_smmu_cmdq_issue_cmd(struct arm_smmu_device *smmu, in arm_smmu_cmdq_issue_cmd()
873 static int arm_smmu_cmdq_issue_cmd_with_sync(struct arm_smmu_device *smmu, in arm_smmu_cmdq_issue_cmd_with_sync()
879 static void arm_smmu_cmdq_batch_add(struct arm_smmu_device *smmu, in arm_smmu_cmdq_batch_add()
906 static int arm_smmu_cmdq_batch_submit(struct arm_smmu_device *smmu, in arm_smmu_cmdq_batch_submit()
951 void arm_smmu_tlb_inv_asid(struct arm_smmu_device *smmu, u16 asid) in arm_smmu_tlb_inv_asid()
969 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_sync_cd()
992 static int arm_smmu_alloc_cd_leaf_table(struct arm_smmu_device *smmu, in arm_smmu_alloc_cd_leaf_table()
1023 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_get_cd_ptr()
1128 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_alloc_cd_tables()
1176 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_free_cd_tables()
1232 static void arm_smmu_sync_ste_for_sid(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_sync_ste_for_sid()
1266 struct arm_smmu_device *smmu = NULL; in arm_smmu_write_strtab_ent()
1406 static int arm_smmu_init_l2_strtab(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_init_l2_strtab()
1435 arm_smmu_find_master(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_find_master()
1457 static int arm_smmu_handle_evt(struct arm_smmu_device *smmu, u64 *evt) in arm_smmu_handle_evt()
1554 struct arm_smmu_device *smmu = dev; in arm_smmu_evtq_thread()
1591 static void arm_smmu_handle_ppr(struct arm_smmu_device *smmu, u64 *evt) in arm_smmu_handle_ppr()
1631 struct arm_smmu_device *smmu = dev; in arm_smmu_priq_thread()
1651 static int arm_smmu_device_disable(struct arm_smmu_device *smmu);
1656 struct arm_smmu_device *smmu = dev; in arm_smmu_gerror_handler()
1701 struct arm_smmu_device *smmu = dev; in arm_smmu_combined_irq_thread()
1852 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_tlb_inv_context()
1877 struct arm_smmu_device *smmu = smmu_domain->smmu; in __arm_smmu_tlb_inv_range()
2075 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_free()
2104 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_finalise_s1()
2162 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_finalise_s2()
2195 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_domain_finalise()
2254 static __le64 *arm_smmu_get_step_for_sid(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_get_step_for_sid()
2279 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_install_ste_for_dev()
2299 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_ats_supported()
2315 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_enable_ats()
2420 struct arm_smmu_device *smmu; in arm_smmu_attach_dev()
2551 struct arm_smmu_device *arm_smmu_get_by_fwnode(struct fwnode_handle *fwnode) in arm_smmu_get_by_fwnode()
2559 static bool arm_smmu_sid_in_range(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_sid_in_range()
2569 static int arm_smmu_init_sid_strtab(struct arm_smmu_device *smmu, u32 sid) in arm_smmu_init_sid_strtab()
2582 static int arm_smmu_insert_master(struct arm_smmu_device *smmu, in arm_smmu_insert_master()
2647 struct arm_smmu_device *smmu = master->smmu; in arm_smmu_remove_master()
2666 struct arm_smmu_device *smmu; in arm_smmu_probe_device()
2899 static int arm_smmu_init_one_queue(struct arm_smmu_device *smmu, in arm_smmu_init_one_queue()
2942 static int arm_smmu_cmdq_init(struct arm_smmu_device *smmu) in arm_smmu_cmdq_init()
2958 static int arm_smmu_init_queues(struct arm_smmu_device *smmu) in arm_smmu_init_queues()
2996 static int arm_smmu_init_l1_strtab(struct arm_smmu_device *smmu) in arm_smmu_init_l1_strtab()
3015 static int arm_smmu_init_strtab_2lvl(struct arm_smmu_device *smmu) in arm_smmu_init_strtab_2lvl()
3053 static int arm_smmu_init_strtab_linear(struct arm_smmu_device *smmu) in arm_smmu_init_strtab_linear()
3081 static int arm_smmu_init_strtab(struct arm_smmu_device *smmu) in arm_smmu_init_strtab()
3104 static int arm_smmu_init_structures(struct arm_smmu_device *smmu) in arm_smmu_init_structures()
3118 static int arm_smmu_write_reg_sync(struct arm_smmu_device *smmu, u32 val, in arm_smmu_write_reg_sync()
3129 static int arm_smmu_update_gbpa(struct arm_smmu_device *smmu, u32 set, u32 clr) in arm_smmu_update_gbpa()
3160 struct arm_smmu_device *smmu = dev_get_drvdata(dev); in arm_smmu_write_msi_msg()
3171 static void arm_smmu_setup_msis(struct arm_smmu_device *smmu) in arm_smmu_setup_msis()
3208 static void arm_smmu_setup_unique_irqs(struct arm_smmu_device *smmu) in arm_smmu_setup_unique_irqs()
3254 static int arm_smmu_setup_irqs(struct arm_smmu_device *smmu) in arm_smmu_setup_irqs()
3295 static int arm_smmu_device_disable(struct arm_smmu_device *smmu) in arm_smmu_device_disable()
3306 static int arm_smmu_device_reset(struct arm_smmu_device *smmu, bool bypass) in arm_smmu_device_reset()
3445 static void arm_smmu_device_iidr_probe(struct arm_smmu_device *smmu) in arm_smmu_device_iidr_probe()
3479 static int arm_smmu_device_hw_probe(struct arm_smmu_device *smmu) in arm_smmu_device_hw_probe()
3700 static void acpi_smmu_get_options(u32 model, struct arm_smmu_device *smmu) in acpi_smmu_get_options()
3715 struct arm_smmu_device *smmu) in arm_smmu_device_acpi_probe()
3735 struct arm_smmu_device *smmu) in arm_smmu_device_acpi_probe()
3742 struct arm_smmu_device *smmu) in arm_smmu_device_dt_probe()
3763 static unsigned long arm_smmu_resource_size(struct arm_smmu_device *smmu) in arm_smmu_resource_size()
3779 static void arm_smmu_rmr_install_bypass_ste(struct arm_smmu_device *smmu) in arm_smmu_rmr_install_bypass_ste()
3814 struct arm_smmu_device *smmu; in arm_smmu_device_probe()
3918 struct arm_smmu_device *smmu = platform_get_drvdata(pdev); in arm_smmu_device_remove()
3930 struct arm_smmu_device *smmu = platform_get_drvdata(pdev); in arm_smmu_device_shutdown()