Lines Matching refs:ccr
196 void __iomem *ccr; member
249 tmio_iowrite16(0, par->ccr + CCR_UGCC); in tmiofb_hw_stop()
274 tmio_iowrite16(0x003a, par->ccr + CCR_UGCC); in tmiofb_hw_init()
275 tmio_iowrite16(0x003a, par->ccr + CCR_GCC); in tmiofb_hw_init()
276 tmio_iowrite16(0x3f00, par->ccr + CCR_USC); in tmiofb_hw_init()
280 tmio_iowrite16(0x0000, par->ccr + CCR_USC); in tmiofb_hw_init()
281 tmio_iowrite16(base >> 16, par->ccr + CCR_BASEH); in tmiofb_hw_init()
282 tmio_iowrite16(base, par->ccr + CCR_BASEL); in tmiofb_hw_init()
283 tmio_iowrite16(0x0002, par->ccr + CCR_CMD); /* base address enable */ in tmiofb_hw_init()
284 tmio_iowrite16(0x40a8, par->ccr + CCR_VRAMRTC); /* VRAMRC, VRAMTC */ in tmiofb_hw_init()
285 tmio_iowrite16(0x0018, par->ccr + CCR_VRAMSAC); /* VRAMSTS, VRAMAC */ in tmiofb_hw_init()
286 tmio_iowrite16(0x0002, par->ccr + CCR_VRAMBC); in tmiofb_hw_init()
288 tmio_iowrite16(0x000b, par->ccr + CCR_VRAMBC); in tmiofb_hw_init()
674 struct resource *ccr = platform_get_resource(dev, IORESOURCE_MEM, 1); in tmiofb_probe() local
689 if (ccr == NULL || lcr == NULL || vram == NULL || irq < 0) { in tmiofb_probe()
725 par->ccr = ioremap(ccr->start, resource_size(ccr)); in tmiofb_probe()
726 if (!par->ccr) { in tmiofb_probe()
794 iounmap(par->ccr); in tmiofb_probe()
820 iounmap(par->ccr); in tmiofb_remove()
836 tmio_ioread16(par->ccr + CCR_ ## n)); in tmiofb_dump_regs()