Home
last modified time | relevance | path

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

/linux-5.19.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.c244 struct s3c_fb *sfb = win->parent; in s3c_fb_check_var() local
246 dev_dbg(sfb->dev, "checking parameters\n"); in s3c_fb_check_var()
252 dev_dbg(sfb->dev, "win %d: unsupported bpp %d\n", in s3c_fb_check_var()
266 if (sfb->variant.palette[win->index] != 0) { in s3c_fb_check_var()
329 dev_err(sfb->dev, "invalid bpp\n"); in s3c_fb_check_var()
333 dev_dbg(sfb->dev, "%s: verified parameters\n", __func__); in s3c_fb_check_var()
345 static int s3c_fb_calc_pixclk(struct s3c_fb *sfb, unsigned int pixclk) in s3c_fb_calc_pixclk() argument
351 if (sfb->variant.has_clksel) in s3c_fb_calc_pixclk()
352 clk = clk_get_rate(sfb->bus_clk); in s3c_fb_calc_pixclk()
354 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.c1207 void __iomem *sfb; local
1210 sfb = tga_fb + sepos;
1215 !(((unsigned long)sfb | (unsigned long)dfb) & 63)) {
1217 __raw_writel(sfb - tga_fb, tga_regs+TGA_COPY64_SRC);
1221 sfb += 64;
1228 __raw_writel(0xffffffff, sfb);
1232 sfb += step;
1237 sfb += last_step - step;
1239 __raw_writel(mask_last, sfb);
/linux-5.19.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 …]