Lines Matching refs:diu_reg
220 struct diu __iomem *diu_reg; in mpc512x_init_diu() local
232 diu_reg = of_iomap(np, 0); in mpc512x_init_diu()
234 if (!diu_reg) { in mpc512x_init_diu()
239 mode = in_be32(&diu_reg->diu_mode); in mpc512x_init_diu()
245 desc = in_be32(&diu_reg->desc[0]); in mpc512x_init_diu()
256 res = in_be32(&diu_reg->disp_size); in mpc512x_init_diu()
264 desc = in_be32(&diu_reg->gamma); in mpc512x_init_diu()
277 out_be32(&diu_reg->gamma, virt_to_phys(&diu_shared_fb.gamma)); in mpc512x_init_diu()
278 out_be32(&diu_reg->desc[1], 0); in mpc512x_init_diu()
279 out_be32(&diu_reg->desc[2], 0); in mpc512x_init_diu()
280 out_be32(&diu_reg->desc[0], virt_to_phys(&diu_shared_fb.ad0)); in mpc512x_init_diu()
283 iounmap(diu_reg); in mpc512x_init_diu()