Searched refs:ret (Results 1 - 25 of 5719) sorted by last modified time

1234567891011>>

/drivers/video/fbdev/aty/
H A Dradeon_base.c2146 int ret; local
2153 ret = pci_enable_device(pdev);
2154 if (ret < 0) {
2164 ret = -ENOMEM;
2196 ret = pci_request_region(pdev, 0, "radeonfb framebuffer");
2197 if (ret < 0) {
2203 ret = pci_request_region(pdev, 2, "radeonfb mmio");
2204 if (ret < 0) {
2215 ret = -EIO;
2271 ret
[all...]
/drivers/video/fbdev/
H A Dau1200fb.c1651 int bpp, plane, ret, irq; local
1671 ret = 0;
1719 if ((ret = au1200fb_init_fbinfo(fbdev)) < 0)
1723 ret = register_framebuffer(fbi);
1724 if (ret < 0) {
1743 ret = request_irq(irq, au1200fb_handle_irq,
1745 if (ret) {
1747 irq, ret);
1767 return ret;
H A Dauo_k190x.c198 int ret; local
200 ret = par->board->wait_for_rdy(par);
201 if (ret)
202 return ret;
212 int ret; local
214 ret = par->board->wait_for_rdy(par);
215 if (ret)
216 return ret;
226 int i, ret; local
228 ret
264 int ret; local
656 int mode, ret; local
685 int flash, ret; local
728 int ret; local
865 int ret; local
956 int videomemorysize, ret; local
[all...]
H A Dbf537-lq035.c93 int ret; local
100 ret = i2c_smbus_write_byte_data(client, 0x00, vcomm_value);
101 if (ret) {
102 dev_err(&client->dev, "write fail: %d\n", ret);
103 return ret;
693 int ret; local
702 ret = -EFAULT;
710 ret = -ENOMEM;
722 ret = -ENOMEM;
768 ret
[all...]
H A Dbf54x-lq043fb.c507 int ret; local
514 ret = -EFAULT;
521 ret = -ENOMEM;
539 ret = -EINVAL;
596 ret = -ENOMEM;
611 ret = -ENOMEM;
620 ret = -EFAULT;
626 ret = -EFAULT;
632 ret = -EINVAL;
640 ret
[all...]
H A Dbfin-lq035q1-fb.c124 int ret; local
135 ret = spi_write(spi, regs, ARRAY_SIZE(regs));
136 ret |= spi_write(spi, dat, ARRAY_SIZE(dat));
137 return ret;
142 int ret; local
156 ret = lq035q1_control(spi, LQ035_SHUT_CTL, LQ035_ON);
157 ret |= lq035q1_control(spi, LQ035_DRIVER_OUTPUT_CTL, ctl->mode);
158 if (ret) {
160 return ret;
185 int ret; local
371 int ret; local
376 int ret = gpio_request_one(P_IDENT(P_PPI0_FS3), local
570 int ret; local
[all...]
H A Dbfin-t350mcqb-fb.c428 int ret; local
436 ret = -EFAULT;
443 ret = -ENOMEM;
501 ret = -ENOMEM;
517 ret = -EFAULT;
523 ret = -EFAULT;
529 ret = -EINVAL;
533 ret = request_irq(info->irq, bfin_t350mcqb_irq_error, 0,
535 if (ret < 0) {
544 ret
[all...]
H A Dbfin_adv7393fb.c266 int ret = -1; local
271 ret = adv7393_write(client, reg, *data++);
272 if (ret < 0)
277 return ret;
354 int ret; local
356 ret = kstrtouint_from_user(buffer, count, 0, &val);
357 if (ret)
374 int ret = 0; local
410 ret = gpio_request_one(P_IDENT(P_PPI0_FS3), GPIOF_OUT_INIT_LOW,
412 if (ret) {
[all...]
H A Dcarminefb.c181 int ret; local
183 ret = carmine_find_mode(var);
184 if (ret < 0)
185 return ret;
410 int ret; local
412 ret = carmine_find_mode(&info->var);
413 if (ret < 0)
414 return ret;
416 par->new_mode = ret;
434 u32 ret; local
544 int ret; local
614 int ret; local
[all...]
H A Dcg14.c281 int cur_mode, mode, ret = 0; local
304 ret = -EFAULT;
309 ret = -EFAULT;
331 ret = -ENOSYS;
334 if (!ret) {
342 ret = sbusfb_ioctl_helper(cmd, arg, info,
348 return ret;
H A Dcirrusfb.c2084 int ret; local
2086 ret = pci_enable_device(pdev);
2087 if (ret < 0) {
2095 ret = -ENOMEM;
2121 ret = pci_request_regions(pdev, "cirrusfb");
2122 if (ret < 0) {
2131 ret = -EBUSY;
2140 ret = -EIO;
2153 ret = cirrusfb_register(info);
2154 if (!ret)
[all...]
H A Dclps711x-fb.c220 int ret = -ENOENT; local
238 ret = -ENOMEM;
248 ret = PTR_ERR(info->screen_base);
254 ret = -EINVAL;
260 ret = -ENOMEM;
271 ret = PTR_ERR(cfb->clk);
278 ret = PTR_ERR(cfb->syscon);
285 ret = -ENODATA;
289 ret = of_get_fb_videomode(disp, &cfb->mode, OF_USE_NATIVE_MODE);
290 if (ret)
[all...]
H A Dcontrolfb.c184 int ret = -ENXIO; local
188 ret = 0;
191 return ret;
590 int ret = -ENXIO; local
598 ret = 0;
601 return ret;
H A Dcyber2000fb.c282 int ret = 1; local
346 ret = 0;
362 ret = 0;
378 ret = 0;
405 ret = 0;
415 return ret;
1287 int ret; local
1290 ret = !!(cyber2000_grphr(EXT_LATCH2, cfb) & EXT_LATCH2_I2C_DAT);
1293 return ret;
1299 int ret; local
1875 int ret = -1, err; local
[all...]
H A Dda8xx-fb.c292 int ret; local
304 ret = wait_event_interruptible_timeout(frame_done_wq,
307 if (ret == 0)
713 int ret; local
716 ret = clk_set_rate(par->lcdc_clk, lcdc_clk_rate);
717 if (IS_ERR_VALUE(ret)) {
721 return ret;
785 int ret = 0; local
787 ret = da8xx_fb_calc_config_clk_divider(par, panel);
788 if (IS_ERR_VALUE(ret)) {
1120 int ret; local
1186 int ret = 0; local
1222 int ret = 0; local
1270 int ret; local
1351 int ret; local
[all...]
H A Ddnfb.c283 int ret; local
291 ret = platform_driver_register(&dnfb_driver);
293 if (!ret) {
294 ret = platform_device_register(&dnfb_device);
295 if (ret)
298 return ret;
H A Dfsl-diu-fb.c1204 int ret = 1; local
1234 ret = 0;
1239 return ret;
1691 int ret; local
1708 ret = -ENOMEM;
1736 prop = of_get_property(np, "edid", &ret);
1737 if (prop && ret == EDID_LENGTH) {
1745 ret = -EFAULT;
1754 ret = -EINVAL;
1786 ret
1899 int ret; local
[all...]
H A Dgbefb.c912 int ret; local
931 ret = compute_gbe_timing(var, &timing);
932 var->pixclock = ret;
933 if (ret < 0)
1132 int i, ret = 0; local
1145 ret = -ENODEV;
1153 ret = -EBUSY;
1161 ret = -ENXIO;
1171 ret = -ENOMEM;
1181 ret
1284 int ret = platform_driver_register(&gbefb_driver); local
[all...]
/drivers/video/fbdev/core/
H A Dfbcmap.c95 int ret = -ENOMEM; local
121 ret = fb_copy_cmap(fb_default_cmap(len), cmap);
122 if (ret)
128 return ret;
H A Dfbmem.c948 int ret = 0; local
956 ret = fb_mode_is_equal(&mode1, &mode2);
958 if (!ret) {
963 ret = fb_notifier_call_chain(FB_EVENT_MODE_DELETE, &event);
966 if (!ret)
970 ret = (ret) ? -EINVAL : 0;
997 ret = info->fbops->fb_check_var(var, info);
999 if (ret)
1007 ret
1059 int ret = -EINVAL, early_ret; local
1098 long ret = 0; local
1357 long ret = -ENOIOCTLCMD; local
1584 int i, ret; local
1613 int i, ret; local
1693 int i, ret = 0; local
1752 int ret; local
1774 int ret; local
1803 int ret; local
[all...]
H A Dfbmon.c154 int i, fix = 0, ret = 0; local
175 ret = fix;
185 ret = fix;
189 ret = fix;
193 ret = 0;
203 if (ret)
208 return ret;
1459 int ret; local
1461 ret = of_get_videomode(np, &vm, index);
1462 if (ret)
[all...]
H A Dmodedb.c655 int ret; local
673 ret = fb_find_mode_cvt(&cvt_mode, margins, rb);
675 if (!ret && !fb_try_mode(var, info, &cvt_mode, bpp)) {
/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi.c67 int ret; local
70 ret = regulator_bulk_enable(ARRAY_SIZE(supplies), supplies);
73 return ret;
78 int ret; local
81 ret = regulator_bulk_disable(ARRAY_SIZE(supplies), supplies);
84 return ret;
274 int ret; local
296 ret = device_register(&lcd_dev->dev);
297 if (ret < 0) {
300 dev_name(&lcd_dev->dev), ret);
337 int ret = -EINVAL; local
[all...]
H A Ds6e8ax0.c75 int ret = 0; local
81 ret = regulator_bulk_enable(ARRAY_SIZE(supplies), supplies);
82 if (ret)
94 int ret = 0; local
98 ret = regulator_bulk_disable(ARRAY_SIZE(supplies), supplies);
99 if (ret)
605 unsigned int ret; local
609 ret = ops->cmd_read(lcd_to_master(lcd),
670 int ret = 0; local
682 ret
709 int ret = 0, brightness = bd->props.brightness; local
770 int ret; local
[all...]
/drivers/video/fbdev/geode/
H A Dgx1fb_core.c203 int ret; local
209 ret = pci_enable_device(dev);
210 if (ret < 0)
211 return ret;
213 ret = pci_request_region(dev, 0, "gx1fb (video)");
214 if (ret < 0)
215 return ret;
325 int ret; local
336 if ((ret = gx1fb_map_video_memory(info, pdev)) < 0) {
341 ret
[all...]

Completed in 820 milliseconds

1234567891011>>