Lines Matching refs:host1x
38 void host1x_hypervisor_writel(struct host1x *host1x, u32 v, u32 r) in host1x_hypervisor_writel() argument
40 writel(v, host1x->hv_regs + r); in host1x_hypervisor_writel()
43 u32 host1x_hypervisor_readl(struct host1x *host1x, u32 r) in host1x_hypervisor_readl() argument
45 return readl(host1x->hv_regs + r); in host1x_hypervisor_readl()
48 void host1x_sync_writel(struct host1x *host1x, u32 v, u32 r) in host1x_sync_writel() argument
50 void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset; in host1x_sync_writel()
55 u32 host1x_sync_readl(struct host1x *host1x, u32 r) in host1x_sync_readl() argument
57 void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset; in host1x_sync_readl()
192 static void host1x_setup_sid_table(struct host1x *host) in host1x_setup_sid_table()
205 static bool host1x_wants_iommu(struct host1x *host1x) in host1x_wants_iommu() argument
236 if (host1x->info->dma_mask <= DMA_BIT_MASK(32)) { in host1x_wants_iommu()
244 static struct iommu_domain *host1x_iommu_attach(struct host1x *host) in host1x_iommu_attach()
320 static int host1x_iommu_init(struct host1x *host) in host1x_iommu_init()
353 static void host1x_iommu_exit(struct host1x *host) in host1x_iommu_exit()
371 struct host1x *host; in host1x_probe()
525 struct host1x *host = platform_get_drvdata(pdev); in host1x_remove()
583 u64 host1x_get_dma_mask(struct host1x *host1x) in host1x_get_dma_mask() argument
585 return host1x->info->dma_mask; in host1x_get_dma_mask()