Lines Matching refs:ret
419 int ret; in rk_get_cpu_version() local
421 ret = uclass_get_device_by_driver(UCLASS_MISC, in rk_get_cpu_version()
423 if (ret) { in rk_get_cpu_version()
432 ret = ofnode_read_u32_array(node, "reg", regs, 2); in rk_get_cpu_version()
433 if (ret) { in rk_get_cpu_version()
438 ret = misc_read(dev, regs[0], &fuses, regs[1]); in rk_get_cpu_version()
439 if (ret) { in rk_get_cpu_version()
1230 int val, phy_table_size, ret; in inno_hdmi_phy_init()
1284 ret = inno_hdmi_update_phy_table(inno, phy_config, in inno_hdmi_phy_init()
1287 if (ret) { in inno_hdmi_phy_init()
1289 return ret; in inno_hdmi_phy_init()
1449 int ret; in rockchip_inno_phy_hdmi_bind() local
1457 ret = device_bind_driver_to_node(parent, "clk_inno_hdmi", "inno_hdmi_pll_clk", subnode, &child); in rockchip_inno_phy_hdmi_bind()
1458 if (ret) { in rockchip_inno_phy_hdmi_bind()
1460 return ret; in rockchip_inno_phy_hdmi_bind()
1488 int ret; in inno_hdmi_clk_set_rate() local
1492 ret = inno_hdmi_phy_clk_set_rate(g_inno, rate); in inno_hdmi_clk_set_rate()
1493 if (ret < 0) { in inno_hdmi_clk_set_rate()
1494 printf("inno hdmi set rate failed ret:%d\n", ret); in inno_hdmi_clk_set_rate()
1495 return ret; in inno_hdmi_clk_set_rate()