Searched refs:sfb (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/video/fbdev/ |
D | sm712fb.c | 895 struct smtcfb_info *sfb = info->par; in smtc_blank() local 902 switch (sfb->chip_id) { in smtc_blank() 981 struct smtcfb_info *sfb; in smtc_setcolreg() local 984 sfb = info->par; in smtc_setcolreg() 989 switch (sfb->fb->fix.visual) { in smtc_setcolreg() 997 if (sfb->fb->var.bits_per_pixel == 16) { in smtc_setcolreg() 998 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() 1000 val = chan_to_field(red, &sfb->fb->var.red); in smtc_setcolreg() 1001 val |= chan_to_field(green, &sfb->fb->var.green); in smtc_setcolreg() 1002 val |= chan_to_field(blue, &sfb->fb->var.blue); in smtc_setcolreg() [all …]
|
D | s3c-fb.c | 244 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 …]
|
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() 293 par->sfb = par->mmio + PMAGB_B_SFB; in pmagbbfb_probe()
|
D | tgafb.c | 1219 void __iomem *sfb; local 1222 sfb = tga_fb + sepos; 1227 !(((unsigned long)sfb | (unsigned long)dfb) & 63)) { 1229 __raw_writel(sfb - tga_fb, tga_regs+TGA_COPY64_SRC); 1233 sfb += 64; 1240 __raw_writel(0xffffffff, sfb); 1244 sfb += step; 1249 sfb += last_step - step; 1251 __raw_writel(mask_last, sfb);
|
/linux-6.12.1/arch/s390/kernel/ |
D | perf_cpum_sf.c | 96 struct sf_buffer sfb; member 109 struct sf_buffer sfb; /* Sampling buffer */ member 175 return !!cpuhw->sfb.sdbt; in sf_buffer_available() 181 static void free_sampling_buffer(struct sf_buffer *sfb) in free_sampling_buffer() argument 185 if (!sfb->sdbt) in free_sampling_buffer() 188 sdbt = sfb->sdbt; in free_sampling_buffer() 203 if (curr == sfb->sdbt) in free_sampling_buffer() 216 memset(sfb, 0, sizeof(*sfb)); in free_sampling_buffer() 248 static int realloc_sampling_buffer(struct sf_buffer *sfb, in realloc_sampling_buffer() argument 254 if (!sfb->sdbt || !sfb->tail) in realloc_sampling_buffer() [all …]
|