Lines Matching defs:info
25 static int tegra_fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
27 struct drm_fb_helper *helper = info->par;
40 static void tegra_fbdev_fb_destroy(struct fb_info *info)
42 struct drm_fb_helper *helper = info->par;
78 struct fb_info *info;
99 info = drm_fb_helper_alloc_info(helper);
100 if (IS_ERR(info)) {
101 dev_err(drm->dev, "failed to allocate framebuffer info\n");
103 return PTR_ERR(info);
116 helper->info = info;
118 info->fbops = &tegra_fb_ops;
120 drm_fb_helper_fill_info(info, helper, sizes);
122 offset = info->var.xoffset * bytes_per_pixel +
123 info->var.yoffset * fb->pitches[0];
135 info->flags |= FBINFO_VIRTFB;
136 info->screen_buffer = bo->vaddr + offset;
137 info->screen_size = size;
138 info->fix.smem_start = (unsigned long)(bo->iova + offset);
139 info->fix.smem_len = size;
160 if (fb_helper->info) {