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

1234

/drivers/video/fbdev/
H A Dau1100fb.c108 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); local
116 fbdev->regs->lcd_control |= LCD_CONTROL_GO;
124 fbdev->regs->lcd_control &= ~LCD_CONTROL_GO;
138 int au1100fb_setmode(struct au1100fb_device *fbdev) argument
140 struct fb_info *info = &fbdev->info;
144 if (!fbdev)
148 if (panel_is_active(fbdev->panel) || panel_is_color(fbdev->panel)) {
172 index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT;
188 info->var.rotate = ((fbdev
237 struct au1100fb_device *fbdev; local
296 struct au1100fb_device *fbdev; local
343 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); local
364 struct au1100fb_device *fbdev; local
390 au1100fb_setup(struct au1100fb_device *fbdev) argument
435 struct au1100fb_device *fbdev = NULL; local
570 struct au1100fb_device *fbdev = NULL; local
600 struct au1100fb_device *fbdev = platform_get_drvdata(dev); local
618 struct au1100fb_device *fbdev = platform_get_drvdata(dev); local
[all...]
H A Dbfin_adv7393fb.c116 static int dma_desc_list(struct adv7393fb_device *fbdev, u16 arg) argument
119 fbdev->vb1 = l1_data_sram_zalloc(sizeof(struct dmasg));
120 if (fbdev->vb1 == NULL)
123 fbdev->av1 = l1_data_sram_zalloc(sizeof(struct dmasg));
124 if (fbdev->av1 == NULL)
127 fbdev->vb2 = l1_data_sram_zalloc(sizeof(struct dmasg));
128 if (fbdev->vb2 == NULL)
131 fbdev->av2 = l1_data_sram_zalloc(sizeof(struct dmasg));
132 if (fbdev->av2 == NULL)
136 fbdev
207 bfin_config_dma(struct adv7393fb_device *fbdev) argument
228 bfin_config_ppi(struct adv7393fb_device *fbdev) argument
305 struct adv7393fb_device *fbdev = (struct adv7393fb_device *)dev_id; local
352 struct adv7393fb_device *fbdev = PDE_DATA(file_inode(file)); local
378 struct adv7393fb_device *fbdev = NULL; local
543 struct adv7393fb_device *fbdev = to_adv7393fb_device(info); local
563 struct adv7393fb_device *fbdev = to_adv7393fb_device(info); local
625 struct adv7393fb_device *fbdev = to_adv7393fb_device(info); local
654 struct adv7393fb_device *fbdev = to_adv7393fb_device(info); local
719 struct adv7393fb_device *fbdev = i2c_get_clientdata(client); local
743 struct adv7393fb_device *fbdev = dev_get_drvdata(dev); local
757 struct adv7393fb_device *fbdev = dev_get_drvdata(dev); local
[all...]
H A Docfb.c87 static inline u32 ocfb_readreg(struct ocfb_dev *fbdev, loff_t offset) argument
89 if (fbdev->little_endian)
90 return ioread32(fbdev->regs + offset);
92 return ioread32be(fbdev->regs + offset);
95 static void ocfb_writereg(struct ocfb_dev *fbdev, loff_t offset, u32 data) argument
97 if (fbdev->little_endian)
98 iowrite32(data, fbdev->regs + offset);
100 iowrite32be(data, fbdev->regs + offset);
103 static int ocfb_setupfb(struct ocfb_dev *fbdev) argument
106 struct fb_var_screeninfo *var = &fbdev
178 struct ocfb_dev *fbdev = (struct ocfb_dev *)info->par; local
211 ocfb_init_fix(struct ocfb_dev *fbdev) argument
230 ocfb_init_var(struct ocfb_dev *fbdev) argument
299 struct ocfb_dev *fbdev; local
383 struct ocfb_dev *fbdev = platform_get_drvdata(pdev); local
[all...]
H A Dau1200fb.c700 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane, argument
762 lcd->window[plane].winbuf1 = fbdev->fb_phys;
850 au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos);
851 au1200_setlocation(fbdev, 1, win->w[1].xpos, win->w[1].ypos);
852 au1200_setlocation(fbdev, 2, win->w[2].xpos, win->w[2].ypos);
853 au1200_setlocation(fbdev, 3, win->w[3].xpos, win->w[3].ypos);
935 static void au1200_setmode(struct au1200fb_device *fbdev) argument
937 int plane = fbdev->plane;
944 au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos);
949 | LCD_WINCTRL2_BX_N(fbdev
1037 struct au1200fb_device *fbdev = fbi->par; local
1129 struct au1200fb_device *fbdev = fbi->par; local
1198 struct au1200fb_device *fbdev = fbi->par; local
1232 struct au1200fb_device *fbdev = info->par; local
1417 struct au1200fb_device *fbdev = info->par; local
1517 au1200fb_init_fbinfo(struct au1200fb_device *fbdev) argument
1647 struct au1200fb_device *fbdev; local
1773 struct au1200fb_device *fbdev; local
[all...]
/drivers/video/fbdev/omap/
H A Domapfb_main.c121 static void omapfb_rqueue_lock(struct omapfb_device *fbdev) argument
123 mutex_lock(&fbdev->rqueue_mutex);
126 static void omapfb_rqueue_unlock(struct omapfb_device *fbdev) argument
128 mutex_unlock(&fbdev->rqueue_mutex);
142 static int ctrl_init(struct omapfb_device *fbdev) argument
150 fbdev->mem_desc.region[i].size =
152 fbdev->mem_desc.region_cnt = i;
155 if (!fbdev->mem_desc.region_cnt) {
156 struct lcd_panel *panel = fbdev->panel;
164 fbdev
186 ctrl_cleanup(struct omapfb_device *fbdev) argument
197 struct omapfb_device *fbdev = plane->fbdev; local
256 struct omapfb_device *fbdev = plane->fbdev; local
335 struct omapfb_device *fbdev = plane->fbdev; local
374 struct omapfb_device *fbdev = plane->fbdev; local
490 struct omapfb_device *fbdev = plane->fbdev; local
606 struct omapfb_device *fbdev = plane->fbdev; local
631 struct omapfb_device *fbdev = plane->fbdev; local
658 struct omapfb_device *fbdev = plane->fbdev; local
681 struct omapfb_device *fbdev = plane->fbdev; local
700 struct omapfb_device *fbdev = plane->fbdev; local
718 struct omapfb_device *fbdev = plane->fbdev; local
775 struct omapfb_device *fbdev = plane->fbdev; local
803 struct omapfb_device *fbdev = plane->fbdev; local
851 struct omapfb_device *fbdev = plane->fbdev; local
927 struct omapfb_device *fbdev = plane->fbdev; local
938 omapfb_set_color_key(struct omapfb_device *fbdev, struct omapfb_color_key *ck) argument
953 omapfb_get_color_key(struct omapfb_device *fbdev, struct omapfb_color_key *ck) argument
1017 omapfb_notify_clients(struct omapfb_device *fbdev, unsigned long event) argument
1031 omapfb_set_update_mode(struct omapfb_device *fbdev, enum omapfb_update_mode mode) argument
1043 omapfb_get_update_mode(struct omapfb_device *fbdev) argument
1054 omapfb_get_caps(struct omapfb_device *fbdev, int plane, struct omapfb_caps *caps) argument
1063 omapfb_write_first_pixel(struct omapfb_device *fbdev, u16 pixval) argument
1089 struct omapfb_device *fbdev = plane->fbdev; local
1237 struct omapfb_device *fbdev = plane->fbdev; local
1277 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1297 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1344 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1353 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1368 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1387 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1420 struct omapfb_device *fbdev = dev_get_drvdata(dev); local
1438 omapfb_register_sysfs(struct omapfb_device *fbdev) argument
1466 omapfb_unregister_sysfs(struct omapfb_device *fbdev) argument
1482 fbinfo_init(struct omapfb_device *fbdev, struct fb_info *info) argument
1514 fbinfo_cleanup(struct omapfb_device *fbdev, struct fb_info *fbi) argument
1519 planes_cleanup(struct omapfb_device *fbdev) argument
1531 planes_init(struct omapfb_device *fbdev) argument
1568 omapfb_free_resources(struct omapfb_device *fbdev, int state) argument
1599 omapfb_find_ctrl(struct omapfb_device *fbdev) argument
1633 check_required_callbacks(struct omapfb_device *fbdev) argument
1662 struct omapfb_device *fbdev = NULL; local
1831 struct omapfb_device *fbdev = platform_get_drvdata(pdev); local
1848 struct omapfb_device *fbdev = platform_get_drvdata(pdev); local
1858 struct omapfb_device *fbdev = platform_get_drvdata(pdev); local
[all...]
H A Dlcdc.c72 struct omapfb_device *fbdev; member in struct:omap_lcd_controller
146 dev_err(lcdc.fbdev->dev, "timeout waiting for FRAME DONE\n");
157 dev_err(lcdc.fbdev->dev,
166 dev_err(lcdc.fbdev->dev,
173 * in lcdc.fbdev and fbdev->var.
184 struct omapfb_plane_struct *plane = lcdc.fbdev->fb_info[0]->par;
185 struct fb_var_screeninfo *var = &lcdc.fbdev->fb_info[0]->var;
217 dev_dbg(lcdc.fbdev->dev,
296 struct fb_var_screeninfo *var = &lcdc.fbdev
682 omap_lcdc_init(struct omapfb_device *fbdev, int ext_mode, struct omapfb_mem_desc *req_vram) argument
[all...]
H A Dhwa742.c131 struct omapfb_device *fbdev; member in struct:__anon7171
187 dev_dbg(hwa742.fbdev->dev, "hwa742: enabled pixel doubling\n");
192 dev_dbg(hwa742.fbdev->dev, "hwa742: disabled pixel doubling\n");
352 int scr_width = hwa742.fbdev->panel->x_res;
353 int scr_height = hwa742.fbdev->panel->y_res;
356 dev_dbg(hwa742.fbdev->dev, "x %d y %d w %d h %d scr_width %d "
501 dev_dbg(hwa742.fbdev->dev, "invalid update mode\n");
508 dev_dbg(hwa742.fbdev->dev, "invalid window flag\n");
575 dev_dbg(hwa742.fbdev->dev, "update_mode %d\n", hwa742.update_mode);
577 omapfb_notify_clients(hwa742.fbdev, OMAPFB_EVENT_READ
934 hwa742_init(struct omapfb_device *fbdev, int ext_mode, struct omapfb_mem_desc *req_vram) argument
[all...]
H A 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 in struct:omapfb_plane_struct
234 extern void omapfb_write_first_pixel(struct omapfb_device *fbdev, u16 pixval);
235 extern void omapfb_notify_clients(struct omapfb_device *fbdev,
H A Dsossi.c80 struct omapfb_device *fbdev; member in struct:__anon7174
226 dev_dbg(sossi.fbdev->dev, "Using TW0 = %d, TW1 = %d, div = %d\n",
415 dev_dbg(sossi.fbdev->dev,
442 dev_dbg(sossi.fbdev->dev, "tearsync %d line %d\n", enable, line);
571 static int sossi_init(struct omapfb_device *fbdev) argument
580 dev_err(fbdev->dev, "can't ioremap SoSSI\n");
584 sossi.fbdev = fbdev;
587 dpll1out_ck = clk_get(fbdev->dev, "ck_dpll1out");
589 dev_err(fbdev
[all...]
/drivers/video/adf/
H A Dadf_fbdev.c199 static int adf_fbdev_post(struct adf_fbdev *fbdev) argument
206 buf.overlay_engine = fbdev->eng;
207 buf.w = fbdev->info->var.xres;
208 buf.h = fbdev->info->var.yres;
209 buf.format = fbdev->format;
210 buf.dma_bufs[0] = fbdev->dma_buf;
211 buf.offset[0] = fbdev->offset +
212 fbdev->info->var.yoffset * fbdev->pitch +
213 fbdev
248 adf_fb_alloc(struct adf_fbdev *fbdev) argument
281 adf_fb_destroy(struct adf_fbdev *fbdev) argument
287 adf_fbdev_set_format(struct adf_fbdev *fbdev, u32 format) argument
323 adf_fbdev_fill_modelist(struct adf_fbdev *fbdev) argument
356 struct adf_fbdev *fbdev = info->par; local
406 struct adf_fbdev *fbdev = info->par; local
422 struct adf_fbdev *fbdev = info->par; local
494 struct adf_fbdev *fbdev = info->par; local
523 struct adf_fbdev *fbdev = info->par; local
556 struct adf_fbdev *fbdev = info->par; local
566 struct adf_fbdev *fbdev = info->par; local
591 adf_fbdev_init(struct adf_fbdev *fbdev, struct adf_interface *interface, struct adf_overlay_engine *eng, u16 xres_virtual, u16 yres_virtual, u32 format, struct fb_ops *fbops, const char *fmt, ...) argument
658 adf_fbdev_destroy(struct adf_fbdev *fbdev) argument
[all...]
/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c29 * fbdev funcs, to implement legacy fbdev interface on top of drm driver
44 * basic fbdev ops which write to the framebuffer
63 struct msm_fbdev *fbdev = to_msm_fbdev(helper); local
64 struct drm_gem_object *drm_obj = fbdev->bo;
88 struct msm_fbdev *fbdev = to_msm_fbdev(helper); local
99 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width,
116 fbdev->bo = msm_gem_new(dev, size, MSM_BO_SCANOUT | MSM_BO_WC);
118 if (IS_ERR(fbdev->bo)) {
119 ret = PTR_ERR(fbdev
229 struct msm_fbdev *fbdev = NULL; local
268 struct msm_fbdev *fbdev; local
[all...]
/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c30 * fbdev funcs, to implement legacy fbdev interface on top of drm driver
83 struct omap_fbdev *fbdev = container_of(work, struct omap_fbdev, work); local
84 struct fb_info *fbi = fbdev->base.fbdev;
89 omap_gem_roll(fbdev->bo, fbi->var.yoffset * npages);
96 struct omap_fbdev *fbdev = to_omap_fbdev(helper); local
101 if (!fbdev->ywrap_enabled)
105 pan_worker(&fbdev->work);
108 queue_work(priv->wq, &fbdev
139 struct omap_fbdev *fbdev = to_omap_fbdev(helper); local
316 struct omap_fbdev *fbdev = NULL; local
357 struct omap_fbdev *fbdev; local
[all...]
/drivers/video/fbdev/kyro/
H A DMakefile8 STG4000InitDevice.o fbdev.o
/drivers/video/fbdev/riva/
H A DMakefile7 rivafb-objs := fbdev.o riva_hw.o nv_driver.o
/drivers/video/fbdev/omap2/omapfb/
H A Domapfb.h75 struct omapfb2_device *fbdev; member in struct:omapfb_info
82 struct omapfb2_device *fbdev; member in struct:omapfb_display_data
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)
166 for (i = 0; i < fbdev->num_displays; ++i)
167 if (fbdev->displays[i].dssdev == dssdev)
168 return &fbdev
161 get_display_data( struct omapfb2_device *fbdev, struct omap_dss_device *dssdev) argument
175 omapfb_lock(struct omapfb2_device *fbdev) argument
180 omapfb_unlock(struct omapfb2_device *fbdev) argument
[all...]
H A 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,
758 * fbdev framework callbacks
1145 /*struct omapfb2_device *fbdev = ofbi->fbdev;*/
1163 if (fbdev->ctrl->setcolreg)
1164 r = fbdev->ctrl->setcolreg(regno, red, green, blue,
1230 struct omapfb2_device *fbdev = ofbi->fbdev; local
1238 omapfb_lock(fbdev);
1314 struct omapfb2_device *fbdev = ofbi->fbdev; local
1351 omapfb_free_all_fbmem(struct omapfb2_device *fbdev) argument
1370 struct omapfb2_device *fbdev = ofbi->fbdev; local
1434 struct omapfb2_device *fbdev = ofbi->fbdev; local
1536 omapfb_allocate_all_fbs(struct omapfb2_device *fbdev) argument
1597 struct omapfb2_device *fbdev = ofbi->fbdev; local
1675 struct omapfb2_device *fbdev; local
1700 omapfb_start_auto_update(struct omapfb2_device *fbdev, struct omap_dss_device *display) argument
1728 omapfb_stop_auto_update(struct omapfb2_device *fbdev, struct omap_dss_device *display) argument
1741 omapfb_fb_init(struct omapfb2_device *fbdev, struct fb_info *fbi) argument
1821 fbinfo_cleanup(struct omapfb2_device *fbdev, struct fb_info *fbi) argument
1827 omapfb_free_resources(struct omapfb2_device *fbdev) argument
1879 omapfb_create_framebuffers(struct omapfb2_device *fbdev) argument
2117 omapfb_set_def_mode(struct omapfb2_device *fbdev, struct omap_dss_device *display, char *mode_str) argument
2153 omapfb_get_recommended_bpp(struct omapfb2_device *fbdev, struct omap_dss_device *dssdev) argument
2168 omapfb_parse_def_modes(struct omapfb2_device *fbdev) argument
2321 omapfb_init_display(struct omapfb2_device *fbdev, struct omap_dss_device *dssdev) argument
2371 omapfb_init_connections(struct omapfb2_device *fbdev, struct omap_dss_device *def_dssdev) argument
2420 omapfb_find_default_display(struct omapfb2_device *fbdev) argument
2470 struct omapfb2_device *fbdev = NULL; local
2623 struct omapfb2_device *fbdev = platform_get_drvdata(pdev); local
[all...]
H A Domapfb-sysfs.c148 struct omapfb2_device *fbdev = ofbi->fbdev; local
154 omapfb_lock(fbdev);
160 for (ovlnum = 0; ovlnum < fbdev->num_overlays; ++ovlnum)
161 if (ovl == fbdev->overlays[ovlnum])
170 omapfb_unlock(fbdev);
176 static struct omapfb_info *get_overlay_fb(struct omapfb2_device *fbdev, argument
181 for (i = 0; i < fbdev->num_fbs; i++) {
182 struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[i]);
198 struct omapfb2_device *fbdev local
443 struct omapfb2_device *fbdev = ofbi->fbdev; local
571 omapfb_create_sysfs(struct omapfb2_device *fbdev) argument
594 omapfb_remove_sysfs(struct omapfb2_device *fbdev) argument
[all...]
H A Domapfb-ioctl.c49 struct omapfb2_device *fbdev = ofbi->fbdev; local
56 if (mem_idx >= fbdev->num_fbs)
59 return &fbdev->regions[mem_idx];
65 struct omapfb2_device *fbdev = ofbi->fbdev; local
179 dev_err(fbdev->dev, "setup_plane failed\n");
213 struct omapfb2_device *fbdev = ofbi->fbdev; local
240 for (i = 0; i < fbdev
311 struct omapfb2_device *fbdev = ofbi->fbdev; local
354 struct omapfb2_device *fbdev = ofbi->fbdev; local
427 struct omapfb2_device *fbdev = ofbi->fbdev; local
457 struct omapfb2_device *fbdev = ofbi->fbdev; local
518 omapfb_get_ovl_colormode(struct omapfb2_device *fbdev, struct omapfb_ovl_colormode *mode) argument
583 struct omapfb2_device *fbdev = ofbi->fbdev; local
[all...]
/drivers/gpu/drm/tegra/
H A Dfb.c196 struct tegra_fbdev *fbdev = to_tegra_fbdev(helper); local
230 fbdev->fb = tegra_fb_alloc(drm, &cmd, &bo, 1);
231 if (IS_ERR(fbdev->fb)) {
233 err = PTR_ERR(fbdev->fb);
237 fb = &fbdev->fb->base;
239 helper->fbdev = info;
279 struct tegra_fbdev *fbdev; local
281 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL);
282 if (!fbdev) {
292 tegra_fbdev_init(struct tegra_fbdev *fbdev, unsigned int preferred_bpp, unsigned int num_crtc, unsigned int max_connectors) argument
325 tegra_fbdev_free(struct tegra_fbdev *fbdev) argument
351 tegra_fbdev_restore_mode(struct tegra_fbdev *fbdev) argument
[all...]
/drivers/gpu/drm/gma500/
H A Dframebuffer.h33 struct fb_info *fbdev; member in struct:psb_framebuffer
H A Dframebuffer.c59 struct psb_fbdev *fbdev = info->par; local
60 struct drm_framebuffer *fb = fbdev->psb_fb_helper.fb;
96 struct psb_fbdev *fbdev = info->par; local
97 struct psb_framebuffer *psbfb = &fbdev->pfb;
164 struct psb_fbdev *fbdev = info->par; local
165 struct psb_framebuffer *psbfb = &fbdev->pfb;
332 * @fbdev: the framebuffer device
337 static int psbfb_create(struct psb_fbdev *fbdev, argument
340 struct drm_device *dev = fbdev->psb_fb_helper.dev;
344 struct psb_framebuffer *psbfb = &fbdev
571 psb_fbdev_destroy(struct drm_device *dev, struct psb_fbdev *fbdev) argument
594 struct psb_fbdev *fbdev; local
634 struct psb_fbdev *fbdev = (struct psb_fbdev *)dev_priv->fbdev; local
[all...]
/drivers/video/
H A DMakefile9 obj-y += fbdev/
/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c81 struct fb_info *fbi = helper->fbdev;
191 helper->fbdev = fbi;
253 struct exynos_drm_fbdev *fbdev; local
265 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL);
266 if (!fbdev)
269 private->fb_helper = helper = &fbdev->drm_fb_helper;
304 kfree(fbdev);
329 if (fb_helper->fbdev) {
333 info = fb_helper->fbdev;
350 struct exynos_drm_fbdev *fbdev; local
[all...]
/drivers/gpu/drm/armada/
H A Darmada_fbdev.c104 fbh->fbdev = info;
150 priv->fbdev = fbh;
176 priv->fbdev = NULL;
184 if (priv->fbdev)
185 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev);
191 struct drm_fb_helper *fbh = priv->fbdev;
194 struct fb_info *info = fbh->fbdev;
208 priv->fbdev = NULL;
/drivers/video/backlight/
H A Dgpio_backlight.c24 struct device *fbdev; member in struct:gpio_backlight
52 return gbl->fbdev == NULL || gbl->fbdev == info->dev;
111 gbl->fbdev = pdata->fbdev;

Completed in 350 milliseconds

1234