Lines Matching refs:ret
165 int ret; in rockchip_edp_phy_set_rate() local
227 ret = regmap_read_poll_timeout(edpphy->grf, EDP_PHY_GRF_STATUS0, in rockchip_edp_phy_set_rate()
229 if (ret) { in rockchip_edp_phy_set_rate()
230 dev_err(edpphy->dev, "pll is not ready: %d\n", ret); in rockchip_edp_phy_set_rate()
231 return ret; in rockchip_edp_phy_set_rate()
296 int ret; in rockchip_edp_phy_configure() local
298 ret = rockchip_edp_phy_verify_config(edpphy, &opts->dp); in rockchip_edp_phy_configure()
299 if (ret) { in rockchip_edp_phy_configure()
301 return ret; in rockchip_edp_phy_configure()
305 ret = rockchip_edp_phy_set_rate(edpphy, &opts->dp); in rockchip_edp_phy_configure()
306 if (ret) { in rockchip_edp_phy_configure()
309 return ret; in rockchip_edp_phy_configure()
314 ret = rockchip_edp_phy_set_voltages(edpphy, &opts->dp); in rockchip_edp_phy_configure()
315 if (ret) { in rockchip_edp_phy_configure()
318 return ret; in rockchip_edp_phy_configure()