Lines Matching refs:s1d13xxxfb_readreg
97 s1d13xxxfb_readreg(struct s1d13xxxfb_par *par, u16 regno) in s1d13xxxfb_readreg() function
131 u8 mode = s1d13xxxfb_readreg(par, S1DREG_COM_DISP_MODE); in lcd_enable()
144 u8 mode = s1d13xxxfb_readreg(par, S1DREG_COM_DISP_MODE); in crt_enable()
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()
413 while (s1d13xxxfb_readreg(info->par, S1DREG_BBLT_CTL0) & bit) { in bltbit_wait_bitclear()
650 par->display = s1d13xxxfb_readreg(par, S1DREG_COM_DISP_MODE); in s1d13xxxfb_fetch_hw_state()
658 display = s1d13xxxfb_readreg(par, S1DREG_LCD_DISP_MODE); in s1d13xxxfb_fetch_hw_state()
660 display = s1d13xxxfb_readreg(par, S1DREG_CRT_DISP_MODE); in s1d13xxxfb_fetch_hw_state()
680 panel = s1d13xxxfb_readreg(par, S1DREG_PANEL_TYPE); in s1d13xxxfb_fetch_hw_state()
687 xres = (s1d13xxxfb_readreg(par, S1DREG_LCD_DISP_HWIDTH) + 1) * 8; in s1d13xxxfb_fetch_hw_state()
688 yres = (s1d13xxxfb_readreg(par, S1DREG_LCD_DISP_VHEIGHT0) + in s1d13xxxfb_fetch_hw_state()
689 ((s1d13xxxfb_readreg(par, S1DREG_LCD_DISP_VHEIGHT1) & 0x03) << 8) + 1); in s1d13xxxfb_fetch_hw_state()
691 offset = (s1d13xxxfb_readreg(par, S1DREG_LCD_MEM_OFF0) + in s1d13xxxfb_fetch_hw_state()
692 ((s1d13xxxfb_readreg(par, S1DREG_LCD_MEM_OFF1) & 0x7) << 8)); in s1d13xxxfb_fetch_hw_state()
694 xres = (s1d13xxxfb_readreg(par, S1DREG_CRT_DISP_HWIDTH) + 1) * 8; in s1d13xxxfb_fetch_hw_state()
695 yres = (s1d13xxxfb_readreg(par, S1DREG_CRT_DISP_VHEIGHT0) + in s1d13xxxfb_fetch_hw_state()
696 ((s1d13xxxfb_readreg(par, S1DREG_CRT_DISP_VHEIGHT1) & 0x03) << 8) + 1); in s1d13xxxfb_fetch_hw_state()
698 offset = (s1d13xxxfb_readreg(par, S1DREG_CRT_MEM_OFF0) + in s1d13xxxfb_fetch_hw_state()
699 ((s1d13xxxfb_readreg(par, S1DREG_CRT_MEM_OFF1) & 0x7) << 8)); in s1d13xxxfb_fetch_hw_state()
837 prod_id = s1d13xxxfb_readreg(default_par, S1DREG_REV_CODE) >> 2; in s1d13xxxfb_probe()
839 revision = s1d13xxxfb_readreg(default_par, S1DREG_REV_CODE) & 0x3; in s1d13xxxfb_probe()
967 while ((s1d13xxxfb_readreg(s1dfb, S1DREG_PS_STATUS) & 0x01)) in s1d13xxxfb_resume()