Lines Matching refs:ret
470 int ret; in tegra_dc_sor_power_up() local
504 ret = tegra_dc_sor_io_set_dpd(sor, 1); in tegra_dc_sor_power_up()
505 if (ret) in tegra_dc_sor_power_up()
506 return ret; in tegra_dc_sor_power_up()
696 int ret; in tegra_dc_sor_enable_dp() local
739 ret = tegra_dc_sor_power_up(dev, 0); in tegra_dc_sor_enable_dp()
740 if (ret) { in tegra_dc_sor_enable_dp()
742 return ret; in tegra_dc_sor_enable_dp()
976 int ret; in tegra_dc_sor_detach() local
995 ret = -ETIMEDOUT; in tegra_dc_sor_detach()
1009 ret = tegra_dc_sor_general_act(disp_ctrl); in tegra_dc_sor_detach()
1010 if (ret) in tegra_dc_sor_detach()
1015 ret = tegra_dc_sor_general_act(disp_ctrl); in tegra_dc_sor_detach()
1016 if (ret) in tegra_dc_sor_detach()
1025 debug("%s: ret=%d\n", __func__, ret); in tegra_dc_sor_detach()
1027 return ret; in tegra_dc_sor_detach()
1033 int ret; in tegra_sor_set_backlight() local
1035 ret = panel_enable_backlight(priv->panel); in tegra_sor_set_backlight()
1036 if (ret) { in tegra_sor_set_backlight()
1038 return ret; in tegra_sor_set_backlight()
1047 int ret; in tegra_sor_ofdata_to_platdata() local
1055 ret = uclass_get_device_by_phandle(UCLASS_PANEL, dev, "nvidia,panel", in tegra_sor_ofdata_to_platdata()
1057 if (ret) { in tegra_sor_ofdata_to_platdata()
1059 dev->name, ret); in tegra_sor_ofdata_to_platdata()
1060 return ret; in tegra_sor_ofdata_to_platdata()