Lines Matching refs:diu_reg
206 struct diu __iomem *diu_reg; in mpc512x_init_diu() local
218 diu_reg = of_iomap(np, 0); in mpc512x_init_diu()
220 if (!diu_reg) { in mpc512x_init_diu()
225 mode = in_be32(&diu_reg->diu_mode); in mpc512x_init_diu()
231 desc = in_be32(&diu_reg->desc[0]); in mpc512x_init_diu()
242 res = in_be32(&diu_reg->disp_size); in mpc512x_init_diu()
250 desc = in_be32(&diu_reg->gamma); in mpc512x_init_diu()
263 out_be32(&diu_reg->gamma, virt_to_phys(&diu_shared_fb.gamma)); in mpc512x_init_diu()
264 out_be32(&diu_reg->desc[1], 0); in mpc512x_init_diu()
265 out_be32(&diu_reg->desc[2], 0); in mpc512x_init_diu()
266 out_be32(&diu_reg->desc[0], virt_to_phys(&diu_shared_fb.ad0)); in mpc512x_init_diu()
269 iounmap(diu_reg); in mpc512x_init_diu()