Lines Matching refs:display
37 static void lcd_wait(unsigned int __iomem *display)
41 } while (__raw_readl(display + DISPLAY_CPLDSTATUS) & 1);
44 __raw_readl(display + DISPLAY_LCDINSTRUCTION);
48 } while (__raw_readl(display + DISPLAY_CPLDSTATUS) & 1);
49 } while (__raw_readl(display + DISPLAY_CPLDDATA) & LCD_IR_BF);
54 static unsigned int __iomem *display; /* static => auto initialized to NULL */
58 if (unlikely(display == NULL))
59 display = ioremap_nocache(LCD_DISPLAY_POS_BASE, 4*2*sizeof(int));
66 lcd_wait(display);
67 __raw_writel(LCD_SETDDRAM | i, display + DISPLAY_LCDINSTRUCTION);
68 lcd_wait(display);
69 __raw_writel(ch, display + DISPLAY_LCDDATA);