Lines Matching refs:s1d13xxxfb_writereg

103 s1d13xxxfb_writereg(struct s1d13xxxfb_par *par, u16 regno, u8 value)  in s1d13xxxfb_writereg()  function
120 s1d13xxxfb_writereg(par, initregs[i].addr, initregs[i].value); in s1d13xxxfb_runinit()
138 s1d13xxxfb_writereg(par, S1DREG_COM_DISP_MODE, mode); in lcd_enable()
151 s1d13xxxfb_writereg(par, S1DREG_COM_DISP_MODE, mode); in crt_enable()
238 s1d13xxxfb_writereg(s1dfb, S1DREG_LCD_DISP_MODE, val); in s1d13xxxfb_set_par()
240 s1d13xxxfb_writereg(s1dfb, S1DREG_CRT_DISP_MODE, val); in s1d13xxxfb_set_par()
297 s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_ADDR, regno); in s1d13xxxfb_setcolreg()
298 s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_DATA, red); in s1d13xxxfb_setcolreg()
299 s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_DATA, green); in s1d13xxxfb_setcolreg()
300 s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_DATA, blue); in s1d13xxxfb_setcolreg()
384 s1d13xxxfb_writereg(par, S1DREG_LCD_DISP_START0, (start & 0xff)); in s1d13xxxfb_pan_display()
385 s1d13xxxfb_writereg(par, S1DREG_LCD_DISP_START1, ((start >> 8) & 0xff)); in s1d13xxxfb_pan_display()
386 s1d13xxxfb_writereg(par, S1DREG_LCD_DISP_START2, ((start >> 16) & 0x0f)); in s1d13xxxfb_pan_display()
389 s1d13xxxfb_writereg(par, S1DREG_CRT_DISP_START0, (start & 0xff)); in s1d13xxxfb_pan_display()
390 s1d13xxxfb_writereg(par, S1DREG_CRT_DISP_START1, ((start >> 8) & 0xff)); in s1d13xxxfb_pan_display()
391 s1d13xxxfb_writereg(par, S1DREG_CRT_DISP_START2, ((start >> 16) & 0x0f)); in s1d13xxxfb_pan_display()
461 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_SRC_START0, (src & 0xff)); in s1d13xxxfb_bitblt_copyarea()
462 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_SRC_START1, (src >> 8) & 0x00ff); in s1d13xxxfb_bitblt_copyarea()
463 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_SRC_START2, (src >> 16) & 0x00ff); in s1d13xxxfb_bitblt_copyarea()
466 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_DST_START0, (dst & 0xff)); in s1d13xxxfb_bitblt_copyarea()
467 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_DST_START1, (dst >> 8) & 0x00ff); in s1d13xxxfb_bitblt_copyarea()
468 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_DST_START2, (dst >> 16) & 0x00ff); in s1d13xxxfb_bitblt_copyarea()
471 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH0, (width & 0xff) - 1); in s1d13xxxfb_bitblt_copyarea()
472 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH1, (width >> 8)); in s1d13xxxfb_bitblt_copyarea()
474 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT0, (height & 0xff) - 1); in s1d13xxxfb_bitblt_copyarea()
475 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT1, (height >> 8)); in s1d13xxxfb_bitblt_copyarea()
480 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_OP, 0x03); in s1d13xxxfb_bitblt_copyarea()
482 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_OP, 0x02); in s1d13xxxfb_bitblt_copyarea()
487 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL0, 0x0); in s1d13xxxfb_bitblt_copyarea()
490 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL1, (bpp >> 1)); in s1d13xxxfb_bitblt_copyarea()
493 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_MEM_OFF0, (stride >> 1) & 0xff); in s1d13xxxfb_bitblt_copyarea()
494 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_MEM_OFF1, (stride >> 9)); in s1d13xxxfb_bitblt_copyarea()
503 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CC_EXP, 0x0c); in s1d13xxxfb_bitblt_copyarea()
506 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL0, 0x80); in s1d13xxxfb_bitblt_copyarea()
549 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_DST_START0, (dest & 0x00ff)); in s1d13xxxfb_bitblt_solidfill()
550 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_DST_START1, ((dest >> 8) & 0x00ff)); in s1d13xxxfb_bitblt_solidfill()
551 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_DST_START2, ((dest >> 16) & 0x00ff)); in s1d13xxxfb_bitblt_solidfill()
554 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH0, ((rect->width) & 0x00ff) - 1); in s1d13xxxfb_bitblt_solidfill()
555 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH1, (rect->width >> 8)); in s1d13xxxfb_bitblt_solidfill()
558 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT0, ((rect->height) & 0x00ff) - 1); in s1d13xxxfb_bitblt_solidfill()
559 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_HEIGHT1, (rect->height >> 8)); in s1d13xxxfb_bitblt_solidfill()
572 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC0, (fg & 0xff)); in s1d13xxxfb_bitblt_solidfill()
573 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_FGC1, (fg >> 8) & 0xff); in s1d13xxxfb_bitblt_solidfill()
576 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL0, 0x0); in s1d13xxxfb_bitblt_solidfill()
579 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_OP, BBLT_SOLID_FILL); in s1d13xxxfb_bitblt_solidfill()
582 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL1, (info->var.bits_per_pixel >> 4)); in s1d13xxxfb_bitblt_solidfill()
585 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_MEM_OFF0, (screen_stride >> 1) & 0x00ff); in s1d13xxxfb_bitblt_solidfill()
586 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_MEM_OFF1, (screen_stride >> 9)); in s1d13xxxfb_bitblt_solidfill()
589 s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL0, 0x80); in s1d13xxxfb_bitblt_solidfill()
732 s1d13xxxfb_writereg(par, S1DREG_COM_DISP_MODE, 0x00); in __s1d13xxxfb_remove()
733 s1d13xxxfb_writereg(par, S1DREG_PS_CNF, 0x11); in __s1d13xxxfb_remove()
947 s1d13xxxfb_writereg(s1dfb, S1DREG_PS_CNF, 0x11); in s1d13xxxfb_suspend()
962 s1d13xxxfb_writereg(s1dfb, S1DREG_PS_CNF, 0x10); in s1d13xxxfb_resume()