Searched refs:sfb (Results 1 – 4 of 4) sorted by relevance
/drivers/video/fbdev/ |
D | sm712fb.c | 889 struct smtcfb_info *sfb = info->par; in smtc_blank() local 896 switch (sfb->chip_id) { in smtc_blank() 975 struct smtcfb_info *sfb; in smtc_setcolreg() local 978 sfb = info->par; in smtc_setcolreg() 983 switch (sfb->fb->fix.visual) { in smtc_setcolreg() 991 if (sfb->fb->var.bits_per_pixel == 16) { in smtc_setcolreg() 992 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() 994 val = chan_to_field(red, &sfb->fb->var.red); in smtc_setcolreg() 995 val |= chan_to_field(green, &sfb->fb->var.green); in smtc_setcolreg() 996 val |= chan_to_field(blue, &sfb->fb->var.blue); in smtc_setcolreg() [all …]
|
D | s3c-fb.c | 243 struct s3c_fb *sfb = win->parent; in s3c_fb_check_var() local 245 dev_dbg(sfb->dev, "checking parameters\n"); in s3c_fb_check_var() 251 dev_dbg(sfb->dev, "win %d: unsupported bpp %d\n", in s3c_fb_check_var() 265 if (sfb->variant.palette[win->index] != 0) { in s3c_fb_check_var() 328 dev_err(sfb->dev, "invalid bpp\n"); in s3c_fb_check_var() 332 dev_dbg(sfb->dev, "%s: verified parameters\n", __func__); in s3c_fb_check_var() 344 static int s3c_fb_calc_pixclk(struct s3c_fb *sfb, unsigned int pixclk) in s3c_fb_calc_pixclk() argument 350 if (sfb->variant.has_clksel) in s3c_fb_calc_pixclk() 351 clk = clk_get_rate(sfb->bus_clk); in s3c_fb_calc_pixclk() 353 clk = clk_get_rate(sfb->lcd_clk); in s3c_fb_calc_pixclk() [all …]
|
D | pmagb-b-fb.c | 39 volatile u32 __iomem *sfb; member 71 writel(v, par->sfb + reg / 4); in sfb_write() 76 return readl(par->sfb + reg / 4); in sfb_read() 296 par->sfb = par->mmio + PMAGB_B_SFB; in pmagbbfb_probe()
|
D | tgafb.c | 1211 void __iomem *sfb; local 1214 sfb = tga_fb + sepos; 1219 !(((unsigned long)sfb | (unsigned long)dfb) & 63)) { 1221 __raw_writel(sfb - tga_fb, tga_regs+TGA_COPY64_SRC); 1225 sfb += 64; 1232 __raw_writel(0xffffffff, sfb); 1236 sfb += step; 1241 sfb += last_step - step; 1243 __raw_writel(mask_last, sfb);
|