Lines Matching defs:info
861 unsigned int blue, struct fb_info *info)
887 static int smtc_blank(int blank_mode, struct fb_info *info)
889 struct smtcfb_info *sfb = info->par;
973 unsigned int trans, struct fb_info *info)
978 sfb = info->par;
1010 sm712_setpalette(regno, red, green, blue, info);
1020 static ssize_t smtcfb_read(struct fb_info *info, char __user *buf,
1030 if (!info || !info->screen_base)
1033 if (info->state != FBINFO_STATE_RUNNING)
1036 total_size = info->screen_size;
1039 total_size = info->fix.smem_len;
1054 src = (u32 __iomem *)(info->screen_base + p);
1056 if (info->fbops->fb_sync)
1057 info->fbops->fb_sync(info);
1086 static ssize_t smtcfb_write(struct fb_info *info, const char __user *buf,
1096 if (!info || !info->screen_base)
1099 if (info->state != FBINFO_STATE_RUNNING)
1102 total_size = info->screen_size;
1105 total_size = info->fix.smem_len;
1126 dst = (u32 __iomem *)(info->screen_base + p);
1128 if (info->fbops->fb_sync)
1129 info->fbops->fb_sync(info);
1324 static int smtc_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
1341 static int smtc_set_par(struct fb_info *info)
1343 smtcfb_setmode(info->par);
1498 struct fb_info *info;
1517 info = framebuffer_alloc(sizeof(*sfb), &pdev->dev);
1518 if (!info) {
1523 sfb = info->par;
1524 sfb->fb = info;
1527 info->flags = FBINFO_FLAG_DEFAULT;
1528 info->fbops = &smtcfb_ops;
1529 info->fix = smtcfb_fix;
1530 info->var = smtcfb_var;
1531 info->pseudo_palette = sfb->colreg;
1532 info->par = sfb;
1626 err = register_framebuffer(info);
1643 framebuffer_release(info);