Lines Matching refs:cntl
132 u32 cntl;
243 cntl = CNTL_LCDEN | CNTL_LCDMONO8;
246 cntl = CNTL_LCDEN | CNTL_LCDTFT | CNTL_LCDVCOMP(1);
250 cntl |= CNTL_ST_CDWID_24;
262 cntl |= CNTL_ST_LCDBPP24_PACKED | CNTL_BGR;
267 cntl |= CNTL_ST_LCDBPP24_PACKED;
272 cntl |= CNTL_LCDBPP24 | CNTL_BGR;
274 cntl |= CNTL_LCDBPP24;
279 cntl |= CNTL_LCDBPP24;
281 cntl |= CNTL_LCDBPP24 | CNTL_BGR;
285 cntl |= CNTL_LCDBPP16;
287 cntl |= CNTL_LCDBPP16 | CNTL_ST_1XBPP_565 | CNTL_BGR;
289 cntl |= CNTL_LCDBPP16_565;
293 cntl |= CNTL_LCDBPP16 | CNTL_BGR;
295 cntl |= CNTL_LCDBPP16 | CNTL_ST_1XBPP_565;
297 cntl |= CNTL_LCDBPP16_565 | CNTL_BGR;
301 cntl |= CNTL_LCDBPP16;
303 cntl |= CNTL_ST_1XBPP_5551 | CNTL_BGR;
307 cntl |= CNTL_LCDBPP16;
309 cntl |= CNTL_ST_1XBPP_5551;
311 cntl |= CNTL_BGR;
315 cntl |= CNTL_LCDBPP16_444;
317 cntl |= CNTL_ST_1XBPP_444 | CNTL_BGR;
321 cntl |= CNTL_LCDBPP16_444;
323 cntl |= CNTL_ST_1XBPP_444;
325 cntl |= CNTL_BGR;
335 cntl &= ~CNTL_BGR;
338 writel(cntl, priv->regs + priv->ctrl);
350 cntl |= CNTL_LCDPWR;
351 writel(cntl, priv->regs + priv->ctrl);
362 u32 cntl;
368 cntl = readl(priv->regs + priv->ctrl);
369 if (cntl & CNTL_LCDPWR) {
370 cntl &= ~CNTL_LCDPWR;
371 writel(cntl, priv->regs + priv->ctrl);