Home
last modified time | relevance | path

Searched refs:fbdev (Results 1 – 117 of 117) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/
Dbfin_adv7393fb.c116 static int dma_desc_list(struct adv7393fb_device *fbdev, u16 arg) in dma_desc_list() argument
119 fbdev->vb1 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
120 if (fbdev->vb1 == NULL) in dma_desc_list()
123 fbdev->av1 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
124 if (fbdev->av1 == NULL) in dma_desc_list()
127 fbdev->vb2 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
128 if (fbdev->vb2 == NULL) in dma_desc_list()
131 fbdev->av2 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
132 if (fbdev->av2 == NULL) in dma_desc_list()
136 fbdev->vb1->next_desc_addr = fbdev->av1; in dma_desc_list()
[all …]
Dau1100fb.c108 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); in au1100fb_fb_blank() local
116 fbdev->regs->lcd_control |= LCD_CONTROL_GO; in au1100fb_fb_blank()
124 fbdev->regs->lcd_control &= ~LCD_CONTROL_GO; in au1100fb_fb_blank()
138 int au1100fb_setmode(struct au1100fb_device *fbdev) in au1100fb_setmode() argument
140 struct fb_info *info = &fbdev->info; in au1100fb_setmode()
144 if (!fbdev) in au1100fb_setmode()
148 if (panel_is_active(fbdev->panel) || panel_is_color(fbdev->panel)) { in au1100fb_setmode()
172 index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT; in au1100fb_setmode()
188 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
192 fbdev->regs->lcd_control = fbdev->panel->control_base; in au1100fb_setmode()
[all …]
Docfb.c87 static inline u32 ocfb_readreg(struct ocfb_dev *fbdev, loff_t offset) in ocfb_readreg() argument
89 if (fbdev->little_endian) in ocfb_readreg()
90 return ioread32(fbdev->regs + offset); in ocfb_readreg()
92 return ioread32be(fbdev->regs + offset); in ocfb_readreg()
95 static void ocfb_writereg(struct ocfb_dev *fbdev, loff_t offset, u32 data) in ocfb_writereg() argument
97 if (fbdev->little_endian) in ocfb_writereg()
98 iowrite32(data, fbdev->regs + offset); in ocfb_writereg()
100 iowrite32be(data, fbdev->regs + offset); in ocfb_writereg()
103 static int ocfb_setupfb(struct ocfb_dev *fbdev) in ocfb_setupfb() argument
106 struct fb_var_screeninfo *var = &fbdev->info.var; in ocfb_setupfb()
[all …]
Dau1200fb.c700 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane, in au1200_setlocation() argument
762 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation()
850 au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos); in au1200_setpanel()
851 au1200_setlocation(fbdev, 1, win->w[1].xpos, win->w[1].ypos); in au1200_setpanel()
852 au1200_setlocation(fbdev, 2, win->w[2].xpos, win->w[2].ypos); in au1200_setpanel()
853 au1200_setlocation(fbdev, 3, win->w[3].xpos, win->w[3].ypos); in au1200_setpanel()
935 static void au1200_setmode(struct au1200fb_device *fbdev) in au1200_setmode() argument
937 int plane = fbdev->plane; in au1200_setmode()
944 au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos); in au1200_setmode()
949 | LCD_WINCTRL2_BX_N(fbdev->fb_info->fix.line_length) in au1200_setmode()
[all …]
Dudlfb.c1371 static ssize_t metrics_bytes_rendered_show(struct device *fbdev, in metrics_bytes_rendered_show() argument
1373 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_bytes_rendered_show()
1379 static ssize_t metrics_bytes_identical_show(struct device *fbdev, in metrics_bytes_identical_show() argument
1381 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_bytes_identical_show()
1387 static ssize_t metrics_bytes_sent_show(struct device *fbdev, in metrics_bytes_sent_show() argument
1389 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_bytes_sent_show()
1395 static ssize_t metrics_cpu_kcycles_used_show(struct device *fbdev, in metrics_cpu_kcycles_used_show() argument
1397 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_cpu_kcycles_used_show()
1407 struct device *fbdev = container_of(kobj, struct device, kobj); in edid_show() local
1408 struct fb_info *fb_info = dev_get_drvdata(fbdev); in edid_show()
[all …]
Dbfin_adv7393fb.h306 static void bfin_config_ppi(struct adv7393fb_device *fbdev);
307 static int bfin_config_dma(struct adv7393fb_device *fbdev);
DKconfig2 # fbdev configuration
180 Common utility functions useful to fbdev drivers of VGA-based
345 See <http://www.linux-fbdev.org/> for information on framebuffer
1030 Because fbdev-2.6 requires that drivers must be able to
1077 Because fbdev-2.6 requires that drivers must be able to
1307 3.9.17 preview you can use both heads if you use SVGA over fbdev or
1308 the fbdev driver on first head and the fbdev driver on second head.
1489 Because fbdev-2.6 requires that drivers must be able to
1567 If you use any X server other than fbdev you should enable this
1791 source "drivers/video/fbdev/geode/Kconfig"
[all …]
/linux-4.1.27/drivers/video/fbdev/omap/
Domapfb_main.c121 static void omapfb_rqueue_lock(struct omapfb_device *fbdev) in omapfb_rqueue_lock() argument
123 mutex_lock(&fbdev->rqueue_mutex); in omapfb_rqueue_lock()
126 static void omapfb_rqueue_unlock(struct omapfb_device *fbdev) in omapfb_rqueue_unlock() argument
128 mutex_unlock(&fbdev->rqueue_mutex); in omapfb_rqueue_unlock()
142 static int ctrl_init(struct omapfb_device *fbdev) in ctrl_init() argument
150 fbdev->mem_desc.region[i].size = in ctrl_init()
152 fbdev->mem_desc.region_cnt = i; in ctrl_init()
155 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
156 struct lcd_panel *panel = fbdev->panel; in ctrl_init()
164 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
[all …]
Dlcdc.c72 struct omapfb_device *fbdev; member
146 dev_err(lcdc.fbdev->dev, "timeout waiting for FRAME DONE\n"); in disable_controller()
157 dev_err(lcdc.fbdev->dev, in reset_controller()
166 dev_err(lcdc.fbdev->dev, in reset_controller()
184 struct omapfb_plane_struct *plane = lcdc.fbdev->fb_info[0]->par; in setup_lcd_dma()
185 struct fb_var_screeninfo *var = &lcdc.fbdev->fb_info[0]->var; in setup_lcd_dma()
217 dev_dbg(lcdc.fbdev->dev, in setup_lcd_dma()
296 struct fb_var_screeninfo *var = &lcdc.fbdev->fb_info[0]->var; in omap_lcdc_setup_plane()
297 struct lcd_panel *panel = lcdc.fbdev->panel; in omap_lcdc_setup_plane()
310 dev_dbg(lcdc.fbdev->dev, in omap_lcdc_setup_plane()
[all …]
Dhwa742.c131 struct omapfb_device *fbdev; member
187 dev_dbg(hwa742.fbdev->dev, "hwa742: enabled pixel doubling\n"); in set_format_regs()
192 dev_dbg(hwa742.fbdev->dev, "hwa742: disabled pixel doubling\n"); in set_format_regs()
352 int scr_width = hwa742.fbdev->panel->x_res; in send_frame_handler()
353 int scr_height = hwa742.fbdev->panel->y_res; in send_frame_handler()
356 dev_dbg(hwa742.fbdev->dev, "x %d y %d w %d h %d scr_width %d " in send_frame_handler()
501 dev_dbg(hwa742.fbdev->dev, "invalid update mode\n"); in hwa742_update_window_async()
508 dev_dbg(hwa742.fbdev->dev, "invalid window flag\n"); in hwa742_update_window_async()
575 dev_dbg(hwa742.fbdev->dev, "update_mode %d\n", hwa742.update_mode); in hwa742_bind_client()
577 omapfb_notify_clients(hwa742.fbdev, OMAPFB_EVENT_READY); in hwa742_bind_client()
[all …]
Dsossi.c80 struct omapfb_device *fbdev; member
226 dev_dbg(sossi.fbdev->dev, "Using TW0 = %d, TW1 = %d, div = %d\n", in _set_timing()
415 dev_dbg(sossi.fbdev->dev, in sossi_setup_tearsync()
442 dev_dbg(sossi.fbdev->dev, "tearsync %d line %d\n", enable, line); in sossi_enable_tearsync()
571 static int sossi_init(struct omapfb_device *fbdev) in sossi_init() argument
580 dev_err(fbdev->dev, "can't ioremap SoSSI\n"); in sossi_init()
584 sossi.fbdev = fbdev; in sossi_init()
587 dpll1out_ck = clk_get(fbdev->dev, "ck_dpll1out"); in sossi_init()
589 dev_err(fbdev->dev, "can't get DPLL1OUT clock\n"); in sossi_init()
600 fck = clk_get(fbdev->dev, "ck_sossi"); in sossi_init()
[all …]
Domapfb.h92 struct omapfb_device *fbdev);
124 int (*init) (struct omapfb_device *fbdev);
158 int (*init) (struct omapfb_device *fbdev,
205 struct omapfb_device *fbdev; member
234 extern void omapfb_write_first_pixel(struct omapfb_device *fbdev, u16 pixval);
235 extern void omapfb_notify_clients(struct omapfb_device *fbdev,
Dlcd_mipid.c58 struct omapfb_device *fbdev; member
300 omapfb_write_first_pixel(md->fbdev, test_values[i]); in mipid_run_test()
474 struct omapfb_device *fbdev) in mipid_init() argument
478 md->fbdev = fbdev; in mipid_init()
Dlcd_palmte.c29 struct omapfb_device *fbdev) in palmte_panel_init() argument
Dlcd_palmz71.c30 struct omapfb_device *fbdev) in palmz71_panel_init() argument
Dlcd_inn1510.c31 struct omapfb_device *fbdev) in innovator1510_panel_init() argument
Dlcd_palmtt.c36 struct omapfb_device *fbdev) in palmtt_panel_init() argument
Dlcd_htcherald.c35 struct omapfb_device *fbdev) in htcherald_panel_init() argument
Dlcd_osk.c33 static int osk_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) in osk_panel_init() argument
Dlcd_inn1610.c31 struct omapfb_device *fbdev) in innovator1610_panel_init() argument
Dlcd_h3.c31 static int h3_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) in h3_panel_init() argument
Dlcd_ams_delta.c116 struct omapfb_device *fbdev) in ams_delta_panel_init() argument
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_fbdev.c49 struct omap_fbdev *fbdev = container_of(work, struct omap_fbdev, work); in pan_worker() local
50 struct fb_info *fbi = fbdev->base.fbdev; in pan_worker()
55 omap_gem_roll(fbdev->bo, fbi->var.yoffset * npages); in pan_worker()
62 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_pan_display() local
67 if (!fbdev->ywrap_enabled) in omap_fbdev_pan_display()
71 pan_worker(&fbdev->work); in omap_fbdev_pan_display()
74 queue_work(priv->wq, &fbdev->work); in omap_fbdev_pan_display()
105 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create() local
135 fbdev->ywrap_enabled = priv->has_dmm && ywrap_enabled; in omap_fbdev_create()
136 if (fbdev->ywrap_enabled) { in omap_fbdev_create()
[all …]
Domap_drv.c54 if (priv->fbdev) in omap_fb_output_poll_changed()
55 drm_fb_helper_hotplug_event(priv->fbdev); in omap_fb_output_poll_changed()
511 priv->fbdev = omap_fbdev_init(dev); in dev_load()
512 if (!priv->fbdev) { in dev_load()
534 if (priv->fbdev) in dev_unload()
604 if (priv->fbdev) { in dev_lastclose()
605 ret = drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev); in dev_lastclose()
Domap_debugfs.c62 omap_framebuffer_describe(priv->fbdev->fb, m); in fb_show()
66 if (fb == priv->fbdev->fb) in fb_show()
Domap_drv.h104 struct drm_fb_helper *fbdev; member
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_fbdev.c63 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap() local
64 struct drm_gem_object *drm_obj = fbdev->bo; in msm_fbdev_mmap()
88 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create() local
113 fbdev->bo = msm_gem_new(dev, size, MSM_BO_SCANOUT | in msm_fbdev_create()
116 if (IS_ERR(fbdev->bo)) { in msm_fbdev_create()
117 ret = PTR_ERR(fbdev->bo); in msm_fbdev_create()
118 fbdev->bo = NULL; in msm_fbdev_create()
123 fb = msm_framebuffer_init(dev, &mode_cmd, &fbdev->bo); in msm_fbdev_create()
129 drm_gem_object_unreference(fbdev->bo); in msm_fbdev_create()
141 ret = msm_gem_get_iova_locked(fbdev->bo, 0, &paddr); in msm_fbdev_create()
[all …]
Dmsm_drv.c26 if (priv->fbdev) in msm_fb_output_poll_changed()
27 drm_fb_helper_hotplug_event(priv->fbdev); in msm_fb_output_poll_changed()
60 static bool fbdev = true; variable
61 MODULE_PARM_DESC(fbdev, "Enable fbdev compat layer");
62 module_param(fbdev, bool, 0600);
357 if (fbdev) in msm_load()
358 priv->fbdev = msm_fbdev_init(dev); in msm_load()
426 if (priv->fbdev) in msm_lastclose()
427 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev); in msm_lastclose()
528 if (priv->fbdev) { in msm_fb_show()
[all …]
DKconfig17 bool "Enable legacy fbdev support for MSM modesetting driver"
26 Choose this option if you have a need for the legacy fbdev
DNOTES77 the downstream android fbdev driver), bitfield sizes, etc. My current
85 parse logged register reads/writes (both from downstream android fbdev
Dmsm_drv.h92 struct drm_fb_helper *fbdev; member
/linux-4.1.27/drivers/gpu/drm/tegra/
Dfb.c200 struct tegra_fbdev *fbdev = to_tegra_fbdev(helper); in tegra_fbdev_probe() local
234 fbdev->fb = tegra_fb_alloc(drm, &cmd, &bo, 1); in tegra_fbdev_probe()
235 if (IS_ERR(fbdev->fb)) { in tegra_fbdev_probe()
236 err = PTR_ERR(fbdev->fb); in tegra_fbdev_probe()
243 fb = &fbdev->fb->base; in tegra_fbdev_probe()
245 helper->fbdev = info; in tegra_fbdev_probe()
295 struct tegra_fbdev *fbdev; in tegra_fbdev_create() local
297 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL); in tegra_fbdev_create()
298 if (!fbdev) { in tegra_fbdev_create()
303 drm_fb_helper_prepare(drm, &fbdev->base, &tegra_fb_helper_funcs); in tegra_fbdev_create()
[all …]
DKconfig20 bool "Enable legacy fbdev support"
27 Choose this option if you have a need for the legacy fbdev support.
Ddrm.h49 struct tegra_fbdev *fbdev; member
267 void tegra_fbdev_restore_mode(struct tegra_fbdev *fbdev);
Ddrm.c164 goto fbdev; in tegra_drm_load()
192 fbdev: in tegra_drm_load()
257 tegra_fbdev_restore_mode(tegra->fbdev); in tegra_drm_lastclose()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c60 static int omapfb_fb_init(struct omapfb2_device *fbdev, struct fb_info *fbi);
61 static int omapfb_get_recommended_bpp(struct omapfb2_device *fbdev,
1230 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_blank() local
1238 omapfb_lock(fbdev); in omapfb_blank()
1240 d = get_display_data(fbdev, display); in omapfb_blank()
1252 omapfb_start_auto_update(fbdev, display); in omapfb_blank()
1266 omapfb_stop_auto_update(fbdev, display); in omapfb_blank()
1277 omapfb_unlock(fbdev); in omapfb_blank()
1314 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_free_fbmem() local
1334 dma_free_attrs(fbdev->dev, rg->size, rg->token, rg->dma_handle, in omapfb_free_fbmem()
[all …]
Domapfb.h75 struct omapfb2_device *fbdev; member
82 struct omapfb2_device *fbdev; member
127 int omapfb_create_sysfs(struct omapfb2_device *fbdev);
128 void omapfb_remove_sysfs(struct omapfb2_device *fbdev);
138 void omapfb_start_auto_update(struct omapfb2_device *fbdev,
140 void omapfb_stop_auto_update(struct omapfb2_device *fbdev,
162 struct omapfb2_device *fbdev, struct omap_dss_device *dssdev) in get_display_data() argument
166 for (i = 0; i < fbdev->num_displays; ++i) in get_display_data()
167 if (fbdev->displays[i].dssdev == dssdev) in get_display_data()
168 return &fbdev->displays[i]; in get_display_data()
[all …]
Domapfb-ioctl.c49 struct omapfb2_device *fbdev = ofbi->fbdev; in get_mem_region() local
56 if (mem_idx >= fbdev->num_fbs) in get_mem_region()
59 return &fbdev->regions[mem_idx]; in get_mem_region()
65 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_plane() local
182 dev_err(fbdev->dev, "setup_plane failed\n"); in omapfb_setup_plane()
216 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_mem() local
243 for (i = 0; i < fbdev->num_fbs; i++) { in omapfb_setup_mem()
244 struct omapfb_info *ofbi2 = FB2OFB(fbdev->fbs[i]); in omapfb_setup_mem()
262 dev_err(fbdev->dev, "realloc fbmem failed\n"); in omapfb_setup_mem()
314 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_set_update_mode() local
[all …]
Domapfb-sysfs.c148 struct omapfb2_device *fbdev = ofbi->fbdev; in show_overlays() local
154 omapfb_lock(fbdev); in show_overlays()
160 for (ovlnum = 0; ovlnum < fbdev->num_overlays; ++ovlnum) in show_overlays()
161 if (ovl == fbdev->overlays[ovlnum]) in show_overlays()
170 omapfb_unlock(fbdev); in show_overlays()
176 static struct omapfb_info *get_overlay_fb(struct omapfb2_device *fbdev, in get_overlay_fb() argument
181 for (i = 0; i < fbdev->num_fbs; i++) { in get_overlay_fb()
182 struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[i]); in get_overlay_fb()
198 struct omapfb2_device *fbdev = ofbi->fbdev; in store_overlays() local
213 omapfb_lock(fbdev); in store_overlays()
[all …]
/linux-4.1.27/drivers/gpu/drm/gma500/
Dframebuffer.c59 struct psb_fbdev *fbdev = info->par; in psbfb_setcolreg() local
60 struct drm_framebuffer *fb = fbdev->psb_fb_helper.fb; in psbfb_setcolreg()
96 struct psb_fbdev *fbdev = info->par; in psbfb_pan() local
97 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_pan()
164 struct psb_fbdev *fbdev = info->par; in psbfb_mmap() local
165 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_mmap()
337 static int psbfb_create(struct psb_fbdev *fbdev, in psbfb_create() argument
340 struct drm_device *dev = fbdev->psb_fb_helper.dev; in psbfb_create()
344 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_create()
417 info->par = fbdev; in psbfb_create()
[all …]
Daccel_2d.c242 struct psb_fbdev *fbdev = info->par; in psbfb_copyarea_accel() local
243 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_copyarea_accel()
245 struct drm_framebuffer *fb = fbdev->psb_fb_helper.fb; in psbfb_copyarea_accel()
325 struct psb_fbdev *fbdev = info->par; in psbfb_sync() local
326 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_sync()
Dframebuffer.h33 struct fb_info *fbdev; member
Dpsb_drv.c113 struct psb_fbdev *fbdev = dev_priv->fbdev; in psb_driver_lastclose() local
115 ret = drm_fb_helper_restore_fbdev_mode_unlocked(&fbdev->psb_fb_helper); in psb_driver_lastclose()
Dpsb_drv.h585 void *fbdev; member
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c82 struct fb_info *fbi = helper->fbdev; in exynos_drm_fbdev_update()
181 helper->fbdev = fbi; in exynos_drm_fbdev_create()
243 struct exynos_drm_fbdev *fbdev; in exynos_drm_fbdev_init() local
255 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL); in exynos_drm_fbdev_init()
256 if (!fbdev) in exynos_drm_fbdev_init()
259 private->fb_helper = helper = &fbdev->drm_fb_helper; in exynos_drm_fbdev_init()
294 kfree(fbdev); in exynos_drm_fbdev_init()
319 if (fb_helper->fbdev) { in exynos_drm_fbdev_destroy()
323 info = fb_helper->fbdev; in exynos_drm_fbdev_destroy()
340 struct exynos_drm_fbdev *fbdev; in exynos_drm_fbdev_fini() local
[all …]
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_fbdev.c104 fbh->fbdev = info; in armada_fb_create()
150 priv->fbdev = fbh; in armada_fbdev_init()
176 priv->fbdev = NULL; in armada_fbdev_init()
184 if (priv->fbdev) in armada_fbdev_lastclose()
185 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev); in armada_fbdev_lastclose()
191 struct drm_fb_helper *fbh = priv->fbdev; in armada_fbdev_fini()
194 struct fb_info *info = fbh->fbdev; in armada_fbdev_fini()
208 priv->fbdev = NULL; in armada_fbdev_fini()
Darmada_drm.h76 struct drm_fb_helper *fbdev; member
Darmada_fb.c161 struct drm_fb_helper *fbh = priv->fbdev; in armada_output_poll_changed()
/linux-4.1.27/drivers/video/fbdev/omap2/
DKconfig6 source "drivers/video/fbdev/omap2/dss/Kconfig"
7 source "drivers/video/fbdev/omap2/omapfb/Kconfig"
8 source "drivers/video/fbdev/omap2/displays-new/Kconfig"
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_fb.c236 afbdev->helper.fbdev = info; in astfb_create()
302 if (afbdev->helper.fbdev) { in ast_fbdev_destroy()
303 info = afbdev->helper.fbdev; in ast_fbdev_destroy()
331 ast->fbdev = afbdev; in ast_fbdev_init()
365 if (!ast->fbdev) in ast_fbdev_fini()
368 ast_fbdev_destroy(dev, ast->fbdev); in ast_fbdev_fini()
369 kfree(ast->fbdev); in ast_fbdev_fini()
370 ast->fbdev = NULL; in ast_fbdev_fini()
377 if (!ast->fbdev) in ast_fbdev_set_suspend()
380 fb_set_suspend(ast->fbdev->helper.fbdev, state); in ast_fbdev_set_suspend()
Dast_drv.h99 struct ast_fbdev *fbdev; member
Dast_mode.c545 if (&ast->fbdev->afb == ast_fb) { in ast_crtc_do_set_base()
/linux-4.1.27/drivers/video/fbdev/mmp/
DKconfig8 source "drivers/video/fbdev/mmp/hw/Kconfig"
9 source "drivers/video/fbdev/mmp/panel/Kconfig"
10 source "drivers/video/fbdev/mmp/fb/Kconfig"
/linux-4.1.27/drivers/staging/fbtft/
DREADME13 cd drivers/video/fbdev/fbtft
16 Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig"
17 Add to drivers/video/fbdev/Makefile: obj-y += fbtft/
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_fbdev.c225 ifbdev->helper.fbdev = info; in intelfb_create()
527 if (ifbdev->helper.fbdev) { in intel_fbdev_destroy()
528 struct fb_info *info = ifbdev->helper.fbdev; in intel_fbdev_destroy()
711 dev_priv->fbdev = ifbdev; in intel_fbdev_init()
722 struct intel_fbdev *ifbdev = dev_priv->fbdev; in intel_fbdev_initial_config()
731 if (!dev_priv->fbdev) in intel_fbdev_fini()
737 intel_fbdev_destroy(dev, dev_priv->fbdev); in intel_fbdev_fini()
738 kfree(dev_priv->fbdev); in intel_fbdev_fini()
739 dev_priv->fbdev = NULL; in intel_fbdev_fini()
745 struct intel_fbdev *ifbdev = dev_priv->fbdev; in intel_fbdev_set_suspend()
[all …]
DKconfig49 bool "Enable legacy fbdev support for the modesetting intel driver"
57 Choose this option if you have a need for the legacy fbdev
Dintel_dp_mst.c397 drm_fb_helper_add_one_connector(&dev_priv->fbdev->helper, &connector->base); in intel_connector_add_to_fbdev()
405 drm_fb_helper_remove_one_connector(&dev_priv->fbdev->helper, &connector->base); in intel_connector_remove_from_fbdev()
Di915_drv.h1747 struct intel_fbdev *fbdev; member
Dintel_display.c8956 if (!dev_priv->fbdev) in mode_fits_in_fbdev()
8959 if (!dev_priv->fbdev->fb) in mode_fits_in_fbdev()
8962 obj = dev_priv->fbdev->fb->obj; in mode_fits_in_fbdev()
8965 fb = &dev_priv->fbdev->fb->base; in mode_fits_in_fbdev()
Di915_debugfs.c1797 ifbdev = dev_priv->fbdev; in i915_gem_framebuffer_info()
/linux-4.1.27/drivers/video/backlight/
Dgpio_backlight.c24 struct device *fbdev; member
52 return gbl->fbdev == NULL || gbl->fbdev == info->dev; in gpio_backlight_check_fb()
111 gbl->fbdev = pdata->fbdev; in gpio_backlight_probe()
Dlv5207lp.c78 return lv->pdata->fbdev == NULL || lv->pdata->fbdev == info->dev; in lv5207lp_backlight_check_fb()
Dbd6107.c113 return bd->pdata->fbdev == NULL || bd->pdata->fbdev == info->dev; in bd6107_backlight_check_fb()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c239 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
240 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
249 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; in nouveau_fbcon_accel_restore()
260 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_fini()
278 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_accel_init()
316 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_zfill()
415 fbcon->helper.fbdev = info; in nouveau_fbcon_create()
479 if (fbcon->helper.fbdev) { in nouveau_fbcon_destroy()
480 info = fbcon->helper.fbdev; in nouveau_fbcon_destroy()
523 fb_set_suspend(drm->fbcon->helper.fbdev, state); in nouveau_fbcon_set_suspend()
[all …]
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_fb.c523 ufbdev->helper.fbdev = info; in udlfb_create()
562 if (ufbdev->helper.fbdev) { in udl_fbdev_destroy()
563 info = ufbdev->helper.fbdev; in udl_fbdev_destroy()
586 udl->fbdev = ufbdev; in udl_fbdev_init()
618 if (!udl->fbdev) in udl_fbdev_cleanup()
621 udl_fbdev_destroy(dev, udl->fbdev); in udl_fbdev_cleanup()
622 kfree(udl->fbdev); in udl_fbdev_cleanup()
623 udl->fbdev = NULL; in udl_fbdev_cleanup()
630 if (!udl->fbdev) in udl_fbdev_unplug()
633 ufbdev = udl->fbdev; in udl_fbdev_unplug()
[all …]
Dudl_drv.h61 struct udl_fbdev *fbdev; member
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_drv.c15 module_param_named(fbdev, enable_fbdev, bool, 0444);
16 MODULE_PARM_DESC(fbdev, "register fbdev device");
112 fb_set_suspend(bochs->fb.helper.fbdev, 1); in bochs_pm_suspend()
129 fb_set_suspend(bochs->fb.helper.fbdev, 0); in bochs_pm_resume()
Dbochs_fbdev.c124 bochs->fb.helper.fbdev = info; in bochsfb_create()
158 if (bochs->fb.helper.fbdev) { in bochs_fbdev_destroy()
159 info = bochs->fb.helper.fbdev; in bochs_fbdev_destroy()
/linux-4.1.27/Documentation/fb/
Dudlfb.txt28 capable system. On Linux, number of displays is limited by fbdev interface
35 one-to-one with the fbdev interface, making the driver quite small and
37 * X servers and other applications can use the standard fbdev interface
40 and a slightly modified "fbdev" X driver are among those that already do.
48 In the future, hopefully fbdev will be enhanced with an small standard
53 * It's not clear what the future of fbdev is, given the rise of KMS/DRM.
64 means that from a hardware and fbdev software perspective, everything is good.
68 standard fbdev calls. Note that if mmap() is used, by default the user mode
75 xf86-video-fbdev X server. These servers have no real DisplayLink specific
105 Standard fbdev applications that use mmap but that do not
Dcmap_xfbdev.txt1 Understanding fbdev's cmap
4 These notes explain how X's dix layer uses fbdev's cmap structures.
6 *. example of relevant structures in fbdev as used for a 3-bit grayscale cmap
D00-INDEX11 - info on the fbdev driver for ARK Logic chips.
17 - an introduction to fbdev's cmap structures.
49 - info on the fbdev driver for S3 Trio/Virge chips.
Dframebuffer.txt132 - If the `Display' subsection for the `fbdev' driver in the /etc/XF86Config
297 applications, please refer to the Linux-fbdev website:
299 http://linux-fbdev.sourceforge.net/
316 linux-fbdev@vger.kernel.org.
318 Point your web browser to http://sourceforge.net/projects/linux-fbdev/ for
333 http://www.linux-fbdev.org/
Dfbcon.txt169 console ---> fbcon ---> fbdev drivers ---> hardware
171 The fbdev drivers cannot be unloaded if it's bound to fbcon, and fbcon cannot
174 So to unload the fbdev drivers, one must first unbind fbcon from the console,
175 then unbind the fbdev drivers from fbcon. Fortunately, unbinding fbcon from
177 fbcon. Thus, there is no need to explicitly unbind the fbdev drivers from
Dvt8623fb.txt2 vt8623fb - fbdev driver for graphics core in VIA VT8623 chipset
Darkfb.txt2 arkfb - fbdev driver for ARK Logic chips
Ds3fb.txt2 s3fb - fbdev driver for S3 Trio/Virge chips
Ddeferred_io.txt46 How to use it: (for fbdev drivers)
Dsisfb.txt113 If using XFree86 or X.org, it is recommended that you don't use the "fbdev"
Dsstfb.txt140 - When using XFree86 FBdev (X over fbdev) you may see strange color
Dmatroxfb.txt13 * You can run XF{68,86}_FBDev or XFree86 fbdev driver on top of /dev/fb0
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c211 if (dc->fbdev) { in atmel_hlcdc_fb_output_poll_changed()
212 drm_fbdev_cma_hotplug_event(dc->fbdev); in atmel_hlcdc_fb_output_poll_changed()
214 dc->fbdev = drm_fbdev_cma_init(dev, 24, in atmel_hlcdc_fb_output_poll_changed()
217 if (IS_ERR(dc->fbdev)) in atmel_hlcdc_fb_output_poll_changed()
218 dc->fbdev = NULL; in atmel_hlcdc_fb_output_poll_changed()
361 if (dc->fbdev) in atmel_hlcdc_dc_unload()
362 drm_fbdev_cma_fini(dc->fbdev); in atmel_hlcdc_dc_unload()
427 drm_fbdev_cma_restore_mode(dc->fbdev); in atmel_hlcdc_dc_lastclose()
Datmel_hlcdc_dc.h135 struct drm_fbdev_cma *fbdev; member
/linux-4.1.27/Documentation/DocBook/
D.device-drivers.xml.cmd2 …video/fbdev/core/fbmem.c drivers/video/fbdev/core/fbcmap.c drivers/video/fbdev/core/modedb.c drive…
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c188 drm_fbdev_cma_hotplug_event(rcdu->fbdev); in rcar_du_output_poll_changed()
659 struct drm_fbdev_cma *fbdev; in rcar_du_modeset_init() local
735 fbdev = drm_fbdev_cma_init(dev, 32, dev->mode_config.num_crtc, in rcar_du_modeset_init()
737 if (IS_ERR(fbdev)) in rcar_du_modeset_init()
738 return PTR_ERR(fbdev); in rcar_du_modeset_init()
740 rcdu->fbdev = fbdev; in rcar_du_modeset_init()
Drcar_du_drv.c135 if (rcdu->fbdev) in rcar_du_unload()
136 drm_fbdev_cma_fini(rcdu->fbdev); in rcar_du_unload()
221 drm_fbdev_cma_restore_mode(rcdu->fbdev); in rcar_du_lastclose()
Drcar_du_drv.h79 struct drm_fbdev_cma *fbdev; member
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c95 helper->fbdev = fbi; in rockchip_drm_fbdev_create()
193 if (helper->fbdev) { in rockchip_drm_fbdev_fini()
197 info = helper->fbdev; in rockchip_drm_fbdev_fini()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c61 drm_fbdev_cma_hotplug_event(priv->fbdev); in tilcdc_fb_output_poll_changed()
124 drm_fbdev_cma_fini(priv->fbdev); in tilcdc_unload()
287 priv->fbdev = drm_fbdev_cma_init(dev, bpp, in tilcdc_load()
290 if (IS_ERR(priv->fbdev)) { in tilcdc_load()
291 ret = PTR_ERR(priv->fbdev); in tilcdc_load()
345 drm_fbdev_cma_restore_mode(priv->fbdev); in tilcdc_lastclose()
DKconfig14 OMAP-L1xx. This driver replaces the FB_DA8XX fbdev driver.
Dtilcdc_drv.h79 struct drm_fbdev_cma *fbdev; member
/linux-4.1.27/arch/x86/video/
DMakefile1 obj-$(CONFIG_FB) += fbdev.o
/linux-4.1.27/include/linux/platform_data/
Dbd6107.h14 struct device *fbdev; member
Dlv5207lp.h14 struct device *fbdev; member
Dgpio_backlight.h14 struct device *fbdev; member
/linux-4.1.27/drivers/video/fbdev/kyro/
DMakefile8 STG4000InitDevice.o fbdev.o
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_fb.c379 qxl_fb_fillrect_internal(qfbdev->helper.fbdev, &entry->op.fr); in qxl_fb_work()
382 qxl_fb_copyarea_internal(qfbdev->helper.fbdev, &entry->op.ca); in qxl_fb_work()
385 qxl_fb_imageblit_internal(qfbdev->helper.fbdev, &entry->op.ib); in qxl_fb_work()
553 qfbdev->helper.fbdev = info; in qxlfb_create()
647 if (qfbdev->helper.fbdev) { in qxl_fbdev_destroy()
648 info = qfbdev->helper.fbdev; in qxl_fbdev_destroy()
721 fb_set_suspend(qdev->mode_info.qfbdev->helper.fbdev, state); in qxl_fbdev_set_suspend()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_drv.c95 fb_set_suspend(cdev->mode_info.gfbdev->helper.fbdev, 1); in cirrus_pm_suspend()
112 fb_set_suspend(cdev->mode_info.gfbdev->helper.fbdev, 0); in cirrus_pm_resume()
Dcirrus_fbdev.c219 gfbdev->helper.fbdev = info; in cirrusfb_create()
273 if (gfbdev->helper.fbdev) { in cirrus_fbdev_destroy()
274 info = gfbdev->helper.fbdev; in cirrus_fbdev_destroy()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_fb.c271 rfbdev->helper.fbdev = info; in radeonfb_create()
345 if (rfbdev->helper.fbdev) { in radeon_fbdev_destroy()
346 info = rfbdev->helper.fbdev; in radeon_fbdev_destroy()
434 fb_set_suspend(rdev->mode_info.rfbdev->helper.fbdev, state); in radeon_fbdev_set_suspend()
/linux-4.1.27/drivers/video/fbdev/riva/
DMakefile7 rivafb-objs := fbdev.o riva_hw.o nv_driver.o
/linux-4.1.27/drivers/video/
DMakefile8 obj-y += fbdev/
DKconfig30 source "drivers/video/fbdev/Kconfig"
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_fb.c211 mfbdev->helper.fbdev = info; in mgag200fb_create()
255 if (mfbdev->helper.fbdev) { in mga_fbdev_destroy()
256 info = mfbdev->helper.fbdev; in mga_fbdev_destroy()
/linux-4.1.27/drivers/staging/sm7xxfb/
DTODO6 - move it to drivers/video/fbdev/sm7xxfb.c
/linux-4.1.27/drivers/
DMakefile62 obj-$(CONFIG_FB_I810) += video/fbdev/i810/
63 obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
/linux-4.1.27/drivers/staging/sm750fb/
DTODO8 - move it to drivers/video/fbdev
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fb_cma_helper.c294 helper->fbdev = fbi; in drm_fbdev_cma_create()
400 if (fbdev_cma->fb_helper.fbdev) { in drm_fbdev_cma_fini()
404 info = fbdev_cma->fb_helper.fbdev; in drm_fbdev_cma_fini()
Ddrm_fb_helper.c1091 info = fb_helper->fbdev; in drm_fb_helper_single_fb_probe()
1811 drm_fb_helper_set_par(fb_helper->fbdev); in drm_fb_helper_hotplug_event()
/linux-4.1.27/include/drm/
Ddrm_fb_helper.h116 struct fb_info *fbdev; member
/linux-4.1.27/drivers/auxdisplay/
DKconfig93 It will work fine. However, you can't attach it to the fbdev driver
/linux-4.1.27/Documentation/video4linux/
DREADME.davinci-vpbe93 - Add support for fbdev drivers.- Ready and part of subsequent patches.
/linux-4.1.27/
DMAINTAINERS622 F: drivers/video/fbdev/geode/
790 F: drivers/video/fbdev/arcfb.c
791 F: drivers/video/fbdev/core/fb_defio.c
830 F: drivers/video/fbdev/amba-clcd.*
1526 F: drivers/video/fbdev/nuc900fb.c
1609 F: drivers/video/fbdev/vt8500lcdfb.*
1610 F: drivers/video/fbdev/wm8505fb*
1611 F: drivers/video/fbdev/wmt_ge_rops.*
1816 L: linux-fbdev@vger.kernel.org
1818 F: drivers/video/fbdev/atmel_lcdfb.c
[all …]
DCREDITS1765 D: fbdev hacking
/linux-4.1.27/arch/sh/boards/mach-ecovec24/
Dsetup.c373 .fbdev = &lcdc_device.dev,
1199 gpio_backlight_data.fbdev = NULL; in arch_setup()
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/
Dsetup.c195 .fbdev = &kfr2r09_sh_lcdc_device.dev,
/linux-4.1.27/Documentation/
Dvgaarbiter.txt154 Memory, both, or none. All cards default to both, the card driver (fbdev for
/linux-4.1.27/arch/x86/
DKconfig2496 Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will