Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsm712fb.c889 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 …]
Ds3c-fb.c243 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 …]
Dpmagb-b-fb.c39 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()
Dtgafb.c1208 void __iomem *sfb; local
1211 sfb = tga_fb + sepos;
1216 !(((unsigned long)sfb | (unsigned long)dfb) & 63)) {
1218 __raw_writel(sfb - tga_fb, tga_regs+TGA_COPY64_SRC);
1222 sfb += 64;
1229 __raw_writel(0xffffffff, sfb);
1233 sfb += step;
1238 sfb += last_step - step;
1240 __raw_writel(mask_last, sfb);
/kernel/linux/linux-5.10/arch/s390/kernel/
Dperf_cpum_sf.c79 struct sf_buffer sfb; member
92 struct sf_buffer sfb; /* Sampling buffer */ member
118 return !!cpuhw->sfb.sdbt; in sf_buffer_available()
124 static void free_sampling_buffer(struct sf_buffer *sfb) in free_sampling_buffer() argument
128 if (!sfb->sdbt) in free_sampling_buffer()
131 sdbt = sfb->sdbt; in free_sampling_buffer()
146 if (curr == sfb->sdbt) in free_sampling_buffer()
160 (unsigned long)sfb->sdbt); in free_sampling_buffer()
161 memset(sfb, 0, sizeof(*sfb)); in free_sampling_buffer()
192 static int realloc_sampling_buffer(struct sf_buffer *sfb, in realloc_sampling_buffer() argument
[all …]