Searched refs:reg_bases (Results 1 – 3 of 3) sorted by relevance
774 vpu->reg_bases = devm_kcalloc(&pdev->dev, num_bases, in hantro_probe()775 sizeof(*vpu->reg_bases), GFP_KERNEL); in hantro_probe()776 if (!vpu->reg_bases) in hantro_probe()784 vpu->reg_bases[i] = devm_ioremap_resource(vpu->dev, res); in hantro_probe()785 if (IS_ERR(vpu->reg_bases[i])) in hantro_probe()786 return PTR_ERR(vpu->reg_bases[i]); in hantro_probe()788 vpu->enc_base = vpu->reg_bases[0] + vpu->variant->enc_offset; in hantro_probe()789 vpu->dec_base = vpu->reg_bases[0] + vpu->variant->dec_offset; in hantro_probe()
153 vpu->dec_base = vpu->reg_bases[0]; in imx8mq_vpu_hw_init()154 vpu->ctrl_base = vpu->reg_bases[vpu->variant->num_regs - 1]; in imx8mq_vpu_hw_init()
186 void __iomem **reg_bases; member