Home
last modified time | relevance | path

Searched refs:s1dfb (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/video/fbdev/
Ds1d13xxxfb.c201 struct s1d13xxxfb_par *s1dfb = info->par; in s1d13xxxfb_set_par() local
206 if ((s1dfb->display & 0x01)) /* LCD */ in s1d13xxxfb_set_par()
207 val = s1d13xxxfb_readreg(s1dfb, S1DREG_LCD_DISP_MODE); /* read colour control */ in s1d13xxxfb_set_par()
209 val = s1d13xxxfb_readreg(s1dfb, S1DREG_CRT_DISP_MODE); /* read colour control */ in s1d13xxxfb_set_par()
237 if ((s1dfb->display & 0x01)) /* LCD */ in s1d13xxxfb_set_par()
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()
267 struct s1d13xxxfb_par *s1dfb = info->par; in s1d13xxxfb_setcolreg() local
297 s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_ADDR, regno); in s1d13xxxfb_setcolreg()
298 s1d13xxxfb_writereg(s1dfb, S1DREG_LKUP_DATA, red); in s1d13xxxfb_setcolreg()
[all …]