Lines Matching refs:ipmmu_vmsa_device
55 struct ipmmu_vmsa_device { struct
59 struct ipmmu_vmsa_device *root; argument
71 struct ipmmu_vmsa_device *mmu; argument
86 static struct ipmmu_vmsa_device *to_ipmmu(struct device *dev) in to_ipmmu()
149 static bool ipmmu_is_root(struct ipmmu_vmsa_device *mmu) in ipmmu_is_root()
156 struct ipmmu_vmsa_device *mmu = dev_get_drvdata(dev); in __ipmmu_check_device()
157 struct ipmmu_vmsa_device **rootp = data; in __ipmmu_check_device()
165 static struct ipmmu_vmsa_device *ipmmu_find_root(void) in ipmmu_find_root()
167 struct ipmmu_vmsa_device *root = NULL; in ipmmu_find_root()
177 static u32 ipmmu_read(struct ipmmu_vmsa_device *mmu, unsigned int offset) in ipmmu_read()
182 static void ipmmu_write(struct ipmmu_vmsa_device *mmu, unsigned int offset, in ipmmu_write()
188 static unsigned int ipmmu_ctx_reg(struct ipmmu_vmsa_device *mmu, in ipmmu_ctx_reg()
199 static u32 ipmmu_ctx_read(struct ipmmu_vmsa_device *mmu, in ipmmu_ctx_read()
205 static void ipmmu_ctx_write(struct ipmmu_vmsa_device *mmu, in ipmmu_ctx_write()
232 static u32 ipmmu_utlb_reg(struct ipmmu_vmsa_device *mmu, unsigned int reg) in ipmmu_utlb_reg()
237 static void ipmmu_imuasid_write(struct ipmmu_vmsa_device *mmu, in ipmmu_imuasid_write()
243 static void ipmmu_imuctr_write(struct ipmmu_vmsa_device *mmu, in ipmmu_imuctr_write()
282 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_utlb_enable()
303 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_utlb_disable()
331 static int ipmmu_domain_allocate_context(struct ipmmu_vmsa_device *mmu, in ipmmu_domain_allocate_context()
351 static void ipmmu_domain_free_context(struct ipmmu_vmsa_device *mmu, in ipmmu_domain_free_context()
490 struct ipmmu_vmsa_device *mmu = domain->mmu; in ipmmu_domain_irq()
539 struct ipmmu_vmsa_device *mmu = dev; in ipmmu_irq()
595 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_attach_device()
792 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_init_arm_mapping()
835 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_probe_device()
860 struct ipmmu_vmsa_device *mmu = to_ipmmu(dev); in ipmmu_release_device()
902 static void ipmmu_device_reset(struct ipmmu_vmsa_device *mmu) in ipmmu_device_reset()
1006 struct ipmmu_vmsa_device *mmu; in ipmmu_probe()
1113 struct ipmmu_vmsa_device *mmu = platform_get_drvdata(pdev); in ipmmu_remove()
1125 struct ipmmu_vmsa_device *mmu = dev_get_drvdata(dev); in ipmmu_resume_noirq()