Lines Matching refs:sfb_read
74 static inline u32 sfb_read(struct pmagbbfb_par *par, unsigned int reg) in sfb_read() function
152 info->var.xres = ((sfb_read(par, SFB_REG_VID_HOR) >> in pmagbbfb_screen_setup()
155 info->var.yres = (sfb_read(par, SFB_REG_VID_VER) >> in pmagbbfb_screen_setup()
158 info->var.left_margin = ((sfb_read(par, SFB_REG_VID_HOR) >> in pmagbbfb_screen_setup()
161 info->var.right_margin = ((sfb_read(par, SFB_REG_VID_HOR) >> in pmagbbfb_screen_setup()
164 info->var.upper_margin = (sfb_read(par, SFB_REG_VID_VER) >> in pmagbbfb_screen_setup()
166 info->var.lower_margin = (sfb_read(par, SFB_REG_VID_VER) >> in pmagbbfb_screen_setup()
168 info->var.hsync_len = ((sfb_read(par, SFB_REG_VID_HOR) >> in pmagbbfb_screen_setup()
171 info->var.vsync_len = (sfb_read(par, SFB_REG_VID_VER) >> in pmagbbfb_screen_setup()
198 if (sfb_read(par, SFB_REG_TCCLK_COUNT) == 0) in pmagbbfb_osc_setup()
202 count0 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
211 if (sfb_read(par, SFB_REG_TCCLK_COUNT) == 0) in pmagbbfb_osc_setup()
215 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
304 vid_base = sfb_read(par, SFB_REG_VID_BASE); in pmagbbfb_probe()