Lines Matching refs:ret

279 	int ret;
291 ret = wait_event_interruptible_timeout(frame_done_wq,
294 if (ret == 0)
700 int ret;
703 ret = clk_set_rate(par->lcdc_clk, lcdc_clk_rate);
704 if (ret) {
708 return ret;
772 int ret = 0;
774 ret = da8xx_fb_calc_config_clk_divider(par, panel);
775 if (ret) {
777 return ret;
788 ret = lcd_cfg_dma(cfg->dma_burst_sz, cfg->fifo_th);
789 if (ret < 0)
790 return ret;
799 ret = lcd_cfg_display(cfg, panel);
800 if (ret < 0)
801 return ret;
807 ret = lcd_cfg_frame_buffer(par, (unsigned int)panel->xres,
810 if (ret < 0)
811 return ret;
1071 int ret;
1077 ret = regulator_disable(par->lcd_supply);
1078 if (ret)
1080 ERR_PTR(ret));
1103 int ret;
1118 ret = wait_event_interruptible_timeout(par->vsync_wait,
1121 if (ret < 0)
1122 return ret;
1123 if (ret == 0)
1169 int ret = 0;
1180 ret = regulator_enable(par->lcd_supply);
1181 if (ret)
1182 return ret;
1190 ret = regulator_disable(par->lcd_supply);
1191 if (ret)
1192 return ret;
1198 ret = -EINVAL;
1201 return ret;
1211 int ret = 0;
1225 ret = -EINVAL;
1253 return ret;
1259 int ret;
1273 ret = lcd_init(par, &par->cfg, &par->mode);
1274 if (ret < 0) {
1276 return ret;
1337 int ret;
1381 ret = -EINVAL;
1388 ret = -ENOMEM;
1400 ret = -EPROBE_DEFER;
1406 ret = regulator_enable(par->lcd_supply);
1407 if (ret)
1429 ret = -EINVAL;
1449 ret = -EINVAL;
1455 ret = -ENOENT;
1471 ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0);
1472 if (ret)
1492 ret = -EINVAL;
1497 ret = lcd_da8xx_cpufreq_register(par);
1498 if (ret) {
1511 ret = devm_request_irq(&device->dev, par->irq, lcdc_irq_handler, 0,
1513 if (ret)
1537 return ret;
1608 int ret;
1612 ret = regulator_disable(par->lcd_supply);
1613 if (ret)
1614 return ret;
1629 int ret;
1638 ret = regulator_enable(par->lcd_supply);
1639 if (ret)
1640 return ret;