Home
last modified time | relevance | path

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

12

/linux/drivers/video/fbdev/omap/
H A Domapfb_main.c106 static void omapfb_rqueue_lock(struct omapfb_device *fbdev) in omapfb_rqueue_lock() argument
108 mutex_lock(&fbdev->rqueue_mutex); in omapfb_rqueue_lock()
111 static void omapfb_rqueue_unlock(struct omapfb_device *fbdev) in omapfb_rqueue_unlock() argument
113 mutex_unlock(&fbdev->rqueue_mutex); in omapfb_rqueue_unlock()
127 static int ctrl_init(struct omapfb_device *fbdev) in ctrl_init() argument
135 fbdev->mem_desc.region[i].size = in ctrl_init()
137 fbdev->mem_desc.region_cnt = i; in ctrl_init()
140 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
141 struct lcd_panel *panel = fbdev->panel; in ctrl_init()
149 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
[all …]
H A Dsossi.c69 struct omapfb_device *fbdev; member
215 dev_dbg(sossi.fbdev->dev, "Using TW0 = %d, TW1 = %d, div = %d\n", in _set_timing()
404 dev_dbg(sossi.fbdev->dev, in sossi_setup_tearsync()
431 dev_dbg(sossi.fbdev->dev, "tearsync %d line %d\n", enable, line); in sossi_enable_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()
[all …]
H 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,
H A Dlcd_mipid.c47 struct omapfb_device *fbdev; member
288 omapfb_write_first_pixel(md->fbdev, test_values[i]); in mipid_run_test()
462 struct omapfb_device *fbdev) in mipid_init() argument
466 md->fbdev = fbdev; in mipid_init()
/linux/drivers/video/fbdev/
H A Dau1100fb.c421 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); in au1100fb_fb_blank() local
429 fbdev->regs->lcd_control |= LCD_CONTROL_GO; in au1100fb_fb_blank()
437 fbdev->regs->lcd_control &= ~LCD_CONTROL_GO; in au1100fb_fb_blank()
451 static int au1100fb_setmode(struct au1100fb_device *fbdev) in au1100fb_setmode() argument
457 if (!fbdev) in au1100fb_setmode()
460 info = &fbdev->info; in au1100fb_setmode()
463 if (panel_is_active(fbdev->panel) || panel_is_color(fbdev->panel)) { in au1100fb_setmode()
487 index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT; in au1100fb_setmode()
503 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
507 fbdev->regs->lcd_control = fbdev->panel->control_base; in au1100fb_setmode()
[all …]
H A 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 …]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c44 struct omap_fbdev *fbdev = container_of(work, struct omap_fbdev, work); in pan_worker() local
45 struct drm_fb_helper *helper = fbdev->dev->fb_helper; in pan_worker()
63 struct omap_fbdev *fbdev; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS() local
69 fbdev = priv->fbdev; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
71 if (!fbdev->ywrap_enabled) in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
75 pan_worker(&fbdev->work); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
77 queue_work(priv->wq, &fbdev->work); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
156 struct omap_fbdev *fbdev = priv->fbdev; in omap_fbdev_driver_fbdev_probe() local
181 fbdev->ywrap_enabled = priv->has_dmm && ywrap_enabled; in omap_fbdev_driver_fbdev_probe()
182 if (fbdev->ywrap_enabled) { in omap_fbdev_driver_fbdev_probe()
[all …]
/linux/drivers/auxdisplay/
H A Dht16k33.c95 struct ht16k33_fbdev fbdev; member
211 struct ht16k33_fbdev *fbdev = &priv->fbdev; in ht16k33_fb_queue() local
213 schedule_delayed_work(&priv->work, HZ / fbdev->refresh_rate); in ht16k33_fb_queue()
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()
242 p1 = fbdev->cache + HT16K33_FB_SIZE - 1; in ht16k33_fb_update()
243 p2 = fbdev->buffer + HT16K33_FB_SIZE - 1; in ht16k33_fb_update()
252 p1 = fbdev->cache + first; in ht16k33_fb_update()
253 p2 = fbdev->buffer + first; in ht16k33_fb_update()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/
H 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,
150 struct omapfb2_device *fbdev, struct omap_dss_device *dssdev) in get_display_data() argument
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()
[all …]
/linux/drivers/gpu/drm/clients/
H A DKconfig32 bool "Enable legacy fbdev support for your modesetting driver"
39 Choose this option if you have a need for the legacy fbdev
46 int "Overallocation of the fbdev buffer"
50 Defines the fbdev buffer overallocation in percent. Default
55 bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
60 use-cases to keep leaking the fbdev physical address to the
61 user-space program handling the fbdev buffer.
66 legacy behaviour from a modern fbdev device driver.
97 command line 'drm_client_lib.active=fbdev' option.
100 bool "fbdev"
[all …]
/linux/Documentation/driver-api/
H 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/video/fbdev/mmp/
H 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/
H 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
H A Dcmap_xfbdev.rst2 Understanding fbdev's cmap
5 These notes explain how X's dix layer uses fbdev's cmap structures.
7 - example of relevant structures in fbdev as used for a 3-bit grayscale cmap::
H A Dframebuffer.rst132 - If the `Display` subsection for the `fbdev` driver in the /etc/XF86Config
306 applications, please refer to the Linux-fbdev website:
308 http://linux-fbdev.sourceforge.net/
326 linux-fbdev@vger.kernel.org.
328 Point your web browser to http://sourceforge.net/projects/linux-fbdev/ for
343 http://www.linux-fbdev.org/
/linux/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c20 static bool fbdev = true; variable
21 MODULE_PARM_DESC(fbdev, "Enable fbdev compat layer");
22 module_param(fbdev, bool, 0600);
H A DNOTES77 the downstream android fbdev driver), bitfield sizes, etc. My current
85 parse logged register reads/writes (both from downstream android fbdev
/linux/drivers/video/fbdev/kyro/
H A DMakefile9 STG4000InitDevice.o fbdev.o
/linux/drivers/video/fbdev/omap2/
H A DKconfig4 source "drivers/video/fbdev/omap2/omapfb/Kconfig"
/linux/drivers/video/fbdev/riva/
H A DMakefile8 rivafb-objs := fbdev.o riva_hw.o nv_driver.o
/linux/drivers/staging/fbtft/
H A DTODO2 into the DRM subsystem under drivers/gpu/drm - fbdev doesn't take any new
/linux/drivers/video/
H A DMakefile18 obj-y += fbdev/
/linux/drivers/gpu/drm/tegra/
H A DMakefile33 tegra-drm-$(CONFIG_DRM_FBDEV_EMULATION) += fbdev.o
/linux/drivers/gpu/drm/gma500/
H A DMakefile40 gma500_gfx-$(CONFIG_DRM_FBDEV_EMULATION) += fbdev.o
/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c1381 if (fb == intel_fbdev_framebuffer(display->fbdev.fbdev)) { in intel_panic_flush()
1384 intel_fbdev_get_map(display->fbdev.fbdev, &map); in intel_panic_flush()
1441 if (fb == intel_fbdev_framebuffer(display->fbdev.fbdev)) { in intel_get_scanout_buffer()
1442 intel_fbdev_get_map(display->fbdev.fbdev, &sb->map[0]); in intel_get_scanout_buffer()

12