Home
last modified time | relevance | path

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

1234

/linux/drivers/video/fbdev/
A Dau1100fb.c144 if (!fbdev) in au1100fb_setmode()
192 fbdev->regs->lcd_control = fbdev->panel->control_base; in au1100fb_setmode()
193 fbdev->regs->lcd_horztiming = fbdev->panel->horztiming; in au1100fb_setmode()
194 fbdev->regs->lcd_verttiming = fbdev->panel->verttiming; in au1100fb_setmode()
198 fbdev->regs->lcd_dmaaddr0 = LCD_DMA_SA_N(fbdev->fb_phys); in au1100fb_setmode()
349 return dma_mmap_coherent(fbdev->dev, vma, fbdev->fb_mem, fbdev->fb_phys, in au1100fb_fb_mmap()
417 if (!fbdev) in au1100fb_drv_probe()
458 fbdev->fb_len = fbdev->panel->xres * fbdev->panel->yres * in au1100fb_drv_probe()
483 fbdev->info.screen_base = fbdev->fb_mem; in au1100fb_drv_probe()
552 if (!fbdev) in au1100fb_drv_suspend()
[all …]
A Docfb.c116 ocfb_writereg(fbdev, OCFB_VBARA, fbdev->fb_phys); in ocfb_setupfb()
119 if (ocfb_readreg(fbdev, OCFB_VBARA) != fbdev->fb_phys) { in ocfb_setupfb()
121 ocfb_writereg(fbdev, OCFB_VBARA, fbdev->fb_phys); in ocfb_setupfb()
300 fbdev = devm_kzalloc(&pdev->dev, sizeof(*fbdev), GFP_KERNEL); in ocfb_probe()
301 if (!fbdev) in ocfb_probe()
308 fbdev->info.par = fbdev; in ocfb_probe()
311 if (!fb_find_mode(&fbdev->info.var, &fbdev->info, mode_option, in ocfb_probe()
332 fbdev->info.fix.smem_start = fbdev->fb_phys; in ocfb_probe()
333 fbdev->info.screen_base = fbdev->fb_virt; in ocfb_probe()
334 fbdev->info.pseudo_palette = fbdev->pseudo_palette; in ocfb_probe()
[all …]
A Dau1200fb.c939 int plane = fbdev->plane; in au1200_setmode()
1046 plane = fbdev->plane; in au1200fb_fb_check_var()
1137 au1200_setmode(fbdev); in au1200fb_fb_set_par()
1242 fbdev->fb_mem, fbdev->fb_phys, fbdev->fb_len); in au1200fb_fb_mmap()
1687 fbdev = fbi->par; in au1200fb_drv_probe()
1688 fbdev->fb_info = fbi; in au1200fb_drv_probe()
1689 fbdev->pd = pd; in au1200fb_drv_probe()
1690 fbdev->dev = &dev->dev; in au1200fb_drv_probe()
1692 fbdev->plane = plane; in au1200fb_drv_probe()
1700 if (!fbdev->fb_mem) { in au1200fb_drv_probe()
[all …]
/linux/drivers/video/fbdev/omap/
A Domapfb_main.c150 r = fbdev->ctrl->init(fbdev, 0, &fbdev->mem_desc); in ctrl_init()
180 struct omapfb_device *fbdev = plane->fbdev; in ctrl_change_mode() local
239 struct omapfb_device *fbdev = plane->fbdev; in _setcolreg() local
313 struct omapfb_device *fbdev = plane->fbdev; in omapfb_blank() local
324 fbdev->panel->enable(fbdev->panel); in omapfb_blank()
334 fbdev->panel->disable(fbdev->panel); in omapfb_blank()
1503 plane->fbdev = fbdev; in planes_init()
1536 fbdev->panel->disable(fbdev->panel); in omapfb_free_resources()
1549 fbdev->panel->cleanup(fbdev->panel); in omapfb_free_resources()
1576 fbdev->ctrl = fbdev->int_ctrl; in omapfb_find_ctrl()
[all …]
A Dlcdc.c61 struct omapfb_device *fbdev; member
146 dev_err(lcdc.fbdev->dev, in reset_controller()
155 dev_err(lcdc.fbdev->dev, in reset_controller()
206 dev_dbg(lcdc.fbdev->dev, in setup_lcd_dma()
299 dev_dbg(lcdc.fbdev->dev, in omap_lcdc_setup_plane()
369 dev_dbg(lcdc.fbdev->dev, in omap_lcdc_enable_plane()
502 dev_warn(lcdc.fbdev->dev, in setup_regs()
681 lcdc.fbdev = fbdev; in omap_lcdc_init()
716 r = request_irq(fbdev->int_irq, lcdc_irq_handler, 0, MODULE_NAME, fbdev); in omap_lcdc_init()
747 free_irq(fbdev->int_irq, lcdc.fbdev); in omap_lcdc_init()
[all …]
A Dhwa742.c126 struct omapfb_device *fbdev; member
780 dev_dbg(hwa742.fbdev->dev, in calc_hwa742_clk_rates()
887 dev_dbg(hwa742.fbdev->dev, in setup_tearsync()
890 dev_dbg(hwa742.fbdev->dev, in setup_tearsync()
944 BUG_ON(!fbdev->ext_if || !fbdev->int_ctrl); in hwa742_init()
946 hwa742.fbdev = fbdev; in hwa742_init()
947 hwa742.extif = fbdev->ext_if; in hwa742_init()
948 hwa742.int_ctrl = fbdev->int_ctrl; in hwa742_init()
982 dev_err(fbdev->dev, in hwa742_init()
989 dev_err(hwa742.fbdev->dev, in hwa742_init()
[all …]
A Dsossi.c69 struct omapfb_device *fbdev; member
404 dev_dbg(sossi.fbdev->dev, in sossi_setup_tearsync()
560 static int sossi_init(struct omapfb_device *fbdev) in sossi_init() argument
569 dev_err(fbdev->dev, "can't ioremap SoSSI\n"); in sossi_init()
573 sossi.fbdev = fbdev; in sossi_init()
576 dpll1out_ck = clk_get(fbdev->dev, "ck_dpll1out"); in sossi_init()
578 dev_err(fbdev->dev, "can't get DPLL1OUT clock\n"); in sossi_init()
589 fck = clk_get(fbdev->dev, "ck_sossi"); in sossi_init()
621 dev_err(fbdev->dev, in sossi_init()
628 dev_err(fbdev->dev, "can't get LCDC IRQ\n"); in sossi_init()
[all …]
A Domapfb.h79 struct omapfb_device *fbdev);
111 int (*init) (struct omapfb_device *fbdev);
145 int (*init) (struct omapfb_device *fbdev,
192 struct omapfb_device *fbdev; member
223 extern void omapfb_write_first_pixel(struct omapfb_device *fbdev, u16 pixval);
224 extern void omapfb_notify_clients(struct omapfb_device *fbdev,
/linux/drivers/staging/fieldbus/anybuss/
A Dhms-profinet.c34 struct fieldbus_dev fbdev; member
44 struct profi_priv *priv = container_of(fbdev, struct profi_priv, fbdev); in profi_read_area()
53 struct profi_priv *priv = container_of(fbdev, struct profi_priv, fbdev); in profi_write_area()
61 struct profi_priv *priv = container_of(fbdev, struct profi_priv, fbdev); in profi_id_get()
74 struct profi_priv *priv = container_of(fbdev, struct profi_priv, fbdev); in profi_enable_get()
134 struct profi_priv *priv = container_of(fbdev, struct profi_priv, fbdev); in profi_simple_enable()
150 fieldbus_dev_area_updated(&priv->fbdev); in profi_on_area_updated()
177 priv->fbdev.read_area = profi_read_area; in profinet_probe()
182 priv->fbdev.parent = dev; in profinet_probe()
187 dev_name(priv->fbdev.dev)); in profinet_probe()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/
A Domapfb-main.c1218 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_blank() local
1301 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_free_fbmem() local
1357 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_alloc_fbmem() local
1421 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_alloc_fbmem_display() local
1584 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_realloc_fbmem() local
1669 fbdev = d->fbdev; in omapfb_auto_update_work()
1838 fbinfo_cleanup(fbdev, fbdev->fbs[i]); in omapfb_free_resources()
1878 fbdev->dev); in omapfb_create_framebuffers()
1887 ofbi->fbdev = fbdev; in omapfb_create_framebuffers()
2318 d->fbdev = fbdev; in omapfb_init_display()
[all …]
A Domapfb.h63 struct omapfb2_device *fbdev; member
70 struct omapfb2_device *fbdev; member
115 int omapfb_create_sysfs(struct omapfb2_device *fbdev);
116 void omapfb_remove_sysfs(struct omapfb2_device *fbdev);
126 void omapfb_start_auto_update(struct omapfb2_device *fbdev,
128 void omapfb_stop_auto_update(struct omapfb2_device *fbdev,
154 for (i = 0; i < fbdev->num_displays; ++i) in get_display_data()
155 if (fbdev->displays[i].dssdev == dssdev) in get_display_data()
156 return &fbdev->displays[i]; in get_display_data()
165 mutex_lock(&fbdev->mtx); in omapfb_lock()
[all …]
A Domapfb-ioctl.c38 struct omapfb2_device *fbdev = ofbi->fbdev; in get_mem_region() local
54 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_plane() local
205 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_mem() local
303 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_set_update_mode() local
313 omapfb_lock(fbdev); in omapfb_set_update_mode()
346 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_get_update_mode() local
352 omapfb_lock(fbdev); in omapfb_get_update_mode()
419 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_set_color_key() local
424 omapfb_lock(fbdev); in omapfb_set_color_key()
449 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_get_color_key() local
[all …]
A Domapfb-sysfs.c136 struct omapfb2_device *fbdev = ofbi->fbdev; in show_overlays() local
141 omapfb_lock(fbdev); in show_overlays()
148 if (ovl == fbdev->overlays[ovlnum]) in show_overlays()
157 omapfb_unlock(fbdev); in show_overlays()
168 for (i = 0; i < fbdev->num_fbs; i++) { in get_overlay_fb()
185 struct omapfb2_device *fbdev = ofbi->fbdev; in store_overlays() local
199 omapfb_lock(fbdev); in store_overlays()
213 if (ovlnum > fbdev->num_overlays) { in store_overlays()
315 omapfb_unlock(fbdev); in store_overlays()
427 struct omapfb2_device *fbdev = ofbi->fbdev; in store_size() local
[all …]
/linux/drivers/auxdisplay/
A Dht16k33.c211 struct ht16k33_fbdev *fbdev = &priv->fbdev; in ht16k33_fb_queue() local
222 struct ht16k33_fbdev *fbdev = &priv->fbdev; in ht16k33_fb_update() local
227 p1 = fbdev->cache; in ht16k33_fb_update()
228 p2 = fbdev->buffer; in ht16k33_fb_update()
564 struct ht16k33_fbdev *fbdev = &priv->fbdev; in ht16k33_fbdev_probe() local
595 if (!fbdev->buffer) in ht16k33_fbdev_probe()
599 if (!fbdev->cache) { in ht16k33_fbdev_probe()
605 if (!fbdev->info) { in ht16k33_fbdev_probe()
621 fbdev->info->screen_buffer = fbdev->buffer; in ht16k33_fbdev_probe()
627 fbdev->info->par = priv; in ht16k33_fbdev_probe()
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_fbdev.c67 if (!fbdev->ywrap_enabled) in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
71 pan_worker(&fbdev->work); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
74 queue_work(priv->wq, &fbdev->work); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
107 kfree(fbdev); in omap_fbdev_fb_destroy()
159 if (fbdev->ywrap_enabled) { in omap_fbdev_create()
235 if (fbdev->ywrap_enabled) { in omap_fbdev_create()
341 struct omap_fbdev *fbdev; in omap_fbdev_setup() local
348 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL); in omap_fbdev_setup()
349 if (!fbdev) in omap_fbdev_setup()
351 helper = &fbdev->base; in omap_fbdev_setup()
[all …]
/linux/drivers/staging/fieldbus/
A Ddev_core.c161 struct fieldbus_dev *fbdev; member
168 struct fieldbus_dev *fbdev = container_of(inode->i_cdev, in fieldbus_open() local
175 of->fbdev = fbdev; in fieldbus_open()
192 struct fieldbus_dev *fbdev = of->fbdev; in fieldbus_read() local
194 of->dc_event = fbdev->dc_event; in fieldbus_read()
195 return fbdev->read_area(fbdev, buf, size, offset); in fieldbus_read()
202 struct fieldbus_dev *fbdev = of->fbdev; in fieldbus_write() local
204 return fbdev->write_area(fbdev, buf, size, offset); in fieldbus_write()
210 struct fieldbus_dev *fbdev = of->fbdev; in fieldbus_poll() local
213 poll_wait(filp, &fbdev->dc_wq, wait); in fieldbus_poll()
[all …]
A Dfieldbus_dev.h47 ssize_t (*read_area)(struct fieldbus_dev *fbdev, char __user *buf,
49 ssize_t (*write_area)(struct fieldbus_dev *fbdev,
55 bool (*enable_get)(struct fieldbus_dev *fbdev);
56 int (*fieldbus_id_get)(struct fieldbus_dev *fbdev, char *buf,
58 int (*simple_enable_set)(struct fieldbus_dev *fbdev, bool enable);
/linux/drivers/gpu/drm/i915/display/
A Dintel_fbdev.c131 struct intel_fbdev *fbdev = to_intel_fbdev(info->par); in intel_fbdev_mmap() local
459 display.fbdev.suspend_work)->drm, in intel_fbdev_suspend_worker()
470 struct intel_fbdev *ifbdev = i915->display.fbdev.fbdev; in intel_fbdev_hpd_set_suspend()
488 struct intel_fbdev *ifbdev = dev_priv->display.fbdev.fbdev; in intel_fbdev_set_suspend()
511 flush_work(&dev_priv->display.fbdev.suspend_work); in intel_fbdev_set_suspend()
526 &dev_priv->display.fbdev.suspend_work); in intel_fbdev_set_suspend()
548 struct intel_fbdev *ifbdev = to_i915(dev)->display.fbdev.fbdev; in intel_fbdev_output_poll_changed()
567 struct intel_fbdev *ifbdev = dev_priv->display.fbdev.fbdev; in intel_fbdev_restore_mode()
669 i915->display.fbdev.fbdev = ifbdev; in intel_fbdev_setup()
696 if (!fbdev || !fbdev->helper.fb) in intel_fbdev_framebuffer()
[all …]
A Dintel_fbdev.h19 struct intel_framebuffer *intel_fbdev_framebuffer(struct intel_fbdev *fbdev);
29 static inline struct intel_framebuffer *intel_fbdev_framebuffer(struct intel_fbdev *fbdev) in intel_fbdev_framebuffer() argument
/linux/Documentation/driver-api/
A Dframe-buffer.rst11 needed functions to make fbdev and fbcon work. fb_info is only visible
34 .. kernel-doc:: drivers/video/fbdev/core/fbmem.c
40 .. kernel-doc:: drivers/video/fbdev/core/fbcmap.c
46 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
49 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
55 .. kernel-doc:: drivers/video/fbdev/macmodes.c
/linux/drivers/gpu/drm/ci/xfails/
A Dmediatek-mt8183-fails.txt8 fbdev@eof,Fail
9 fbdev@pan,Fail
10 fbdev@read,Fail
11 fbdev@unaligned-read,Fail
/linux/drivers/staging/fbtft/
A 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/drivers/video/fbdev/mmp/
A DKconfig9 source "drivers/video/fbdev/mmp/hw/Kconfig"
10 source "drivers/video/fbdev/mmp/panel/Kconfig"
11 source "drivers/video/fbdev/mmp/fb/Kconfig"
/linux/Documentation/fb/
A Dudlfb.rst28 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
113 Standard fbdev applications that use mmap but that do not
/linux/drivers/gpu/drm/msm/
A Dmsm_fbdev.c20 static bool fbdev = true; variable
21 MODULE_PARM_DESC(fbdev, "Enable fbdev compat layer");
22 module_param(fbdev, bool, 0600);
232 if (!fbdev) in msm_fbdev_setup()

Completed in 45 milliseconds

1234