Lines Matching defs:lcr
205 void __iomem *lcr;
222 unsigned int bbisc = tmio_ioread16(par->lcr + LCR_BBISC);
225 tmio_iowrite16(bbisc, par->lcr + LCR_BBISC);
259 tmio_iowrite16(0, par->lcr + LCR_GM);
261 tmio_iowrite16(0x0010, par->lcr + LCR_LCDCCRC);
300 tmio_iowrite16(base >> 16, par->lcr + LCR_CFSAH);
301 tmio_iowrite16(base, par->lcr + LCR_CFSAL);
302 tmio_iowrite16(TMIOFB_FIFO_SIZE - 1, par->lcr + LCR_CFS);
303 tmio_iowrite16(1, par->lcr + LCR_CFC);
304 tmio_iowrite16(1, par->lcr + LCR_BBIE);
305 tmio_iowrite16(0, par->lcr + LCR_CFWS);
322 tmio_iowrite16(0, par->lcr + LCR_GM);
324 tmio_iowrite16(0x0010, par->lcr + LCR_LCDCCRC);
328 tmio_iowrite16(info->fix.line_length, par->lcr + LCR_VHPN);
329 tmio_iowrite16(0, par->lcr + LCR_GDSAH);
330 tmio_iowrite16(0, par->lcr + LCR_GDSAL);
331 tmio_iowrite16(info->fix.line_length >> 16, par->lcr + LCR_VHPCH);
332 tmio_iowrite16(info->fix.line_length, par->lcr + LCR_VHPCL);
333 tmio_iowrite16(i = 0, par->lcr + LCR_HSS);
334 tmio_iowrite16(i += mode->hsync_len, par->lcr + LCR_HSE);
335 tmio_iowrite16(i += mode->left_margin, par->lcr + LCR_HDS);
336 tmio_iowrite16(i += mode->xres + mode->right_margin, par->lcr + LCR_HT);
337 tmio_iowrite16(mode->xres, par->lcr + LCR_HNP);
338 tmio_iowrite16(i = 0, par->lcr + LCR_VSS);
339 tmio_iowrite16(i += mode->vsync_len, par->lcr + LCR_VSE);
340 tmio_iowrite16(i += mode->upper_margin, par->lcr + LCR_VDS);
341 tmio_iowrite16(i += mode->yres, par->lcr + LCR_ILN);
342 tmio_iowrite16(i += mode->lower_margin, par->lcr + LCR_VT);
343 tmio_iowrite16(3, par->lcr + LCR_MISC); /* RGB565 mode */
344 tmio_iowrite16(1, par->lcr + LCR_GM); /* VRAM enable */
345 tmio_iowrite16(0x4007, par->lcr + LCR_LCDCC);
346 tmio_iowrite16(3, par->lcr + LCR_SP); /* sync polarity */
348 tmio_iowrite16(0x0010, par->lcr + LCR_LCDCCRC);
350 tmio_iowrite16(0x0014, par->lcr + LCR_LCDCCRC); /* STOP_CKP */
352 tmio_iowrite16(0x0015, par->lcr + LCR_LCDCCRC); /* STOP_CKP|SOFT_RESET*/
353 tmio_iowrite16(0xfffa, par->lcr + LCR_VCS);
370 while (tmio_ioread16(par->lcr + LCR_CCS) > ccs) {
382 tmio_ioread16(par->lcr + LCR_CCS) <= ccs,
406 tmio_iowrite16(*cmd >> 16, par->lcr + LCR_CMDH);
407 tmio_iowrite16(*cmd, par->lcr + LCR_CMDL);
426 while (tmio_ioread16(par->lcr + LCR_BBES) & 2) { /* blit active */
497 unsigned int vcount = tmio_ioread16(par->lcr + LCR_CDLN);
689 struct resource *lcr = platform_get_resource(dev, IORESOURCE_MEM, 0);
729 info->fix.mmio_start = lcr->start;
730 info->fix.mmio_len = resource_size(lcr);
741 par->lcr = ioremap(info->fix.mmio_start, info->fix.mmio_len);
742 if (!par->lcr) {
804 iounmap(par->lcr);
833 iounmap(par->lcr);
863 printk(KERN_DEBUG "lcr: \n");
865 tmio_ioread16(par->lcr + LCR_ ## n));