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)
1079 return ret;
1104 int ret;
1119 ret = wait_event_interruptible_timeout(par->vsync_wait,
1122 if (ret < 0)
1123 return ret;
1124 if (ret == 0)
1170 int ret = 0;
1181 ret = regulator_enable(par->lcd_supply);
1182 if (ret)
1183 return ret;
1191 ret = regulator_disable(par->lcd_supply);
1192 if (ret)
1193 return ret;
1199 ret = -EINVAL;
1202 return ret;
1212 int ret = 0;
1226 ret = -EINVAL;
1254 return ret;
1260 int ret;
1274 ret = lcd_init(par, &par->cfg, &par->mode);
1275 if (ret < 0) {
1277 return ret;
1340 int ret;
1385 ret = -EINVAL;
1392 ret = -ENOMEM;
1404 ret = -EPROBE_DEFER;
1410 ret = regulator_enable(par->lcd_supply);
1411 if (ret)
1433 ret = -EINVAL;
1453 ret = -EINVAL;
1459 ret = -ENOENT;
1476 ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0);
1477 if (ret)
1497 ret = -EINVAL;
1502 ret = lcd_da8xx_cpufreq_register(par);
1503 if (ret) {
1516 ret = devm_request_irq(&device->dev, par->irq, lcdc_irq_handler, 0,
1518 if (ret)
1539 return ret;
1610 int ret;
1614 ret = regulator_disable(par->lcd_supply);
1615 if (ret)
1616 return ret;
1631 int ret;
1640 ret = regulator_enable(par->lcd_supply);
1641 if (ret)
1642 return ret;