Lines Matching refs:ret
292 int ret;
304 ret = wait_event_interruptible_timeout(frame_done_wq,
307 if (ret == 0)
713 int ret;
716 ret = clk_set_rate(par->lcdc_clk, lcdc_clk_rate);
717 if (IS_ERR_VALUE(ret)) {
721 return ret;
785 int ret = 0;
787 ret = da8xx_fb_calc_config_clk_divider(par, panel);
788 if (IS_ERR_VALUE(ret)) {
790 return ret;
801 ret = lcd_cfg_dma(cfg->dma_burst_sz, cfg->fifo_th);
802 if (ret < 0)
803 return ret;
812 ret = lcd_cfg_display(cfg, panel);
813 if (ret < 0)
814 return ret;
820 ret = lcd_cfg_frame_buffer(par, (unsigned int)panel->xres,
823 if (ret < 0)
824 return ret;
1120 int ret;
1135 ret = wait_event_interruptible_timeout(par->vsync_wait,
1138 if (ret < 0)
1139 return ret;
1140 if (ret == 0)
1186 int ret = 0;
1209 ret = -EINVAL;
1212 return ret;
1222 int ret = 0;
1236 ret = -EINVAL;
1264 return ret;
1270 int ret;
1284 ret = lcd_init(par, &par->cfg, &par->mode);
1285 if (ret < 0) {
1287 return ret;
1351 int ret;
1397 ret = -EINVAL;
1405 ret = -ENOMEM;
1436 ret = -EINVAL;
1456 ret = -EINVAL;
1462 ret = -ENOENT;
1479 ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0);
1480 if (ret)
1500 ret = -EINVAL;
1505 ret = lcd_da8xx_cpufreq_register(par);
1506 if (ret) {
1519 ret = devm_request_irq(&device->dev, par->irq, lcdc_irq_handler, 0,
1521 if (ret)
1549 return ret;