Lines Matching refs:ret
144 int ret = 0; in board_mmc_getcd() local
148 ret = !gpio_get_value(USDHC2_CD_GPIO); in board_mmc_getcd()
155 ret = 1; in board_mmc_getcd()
158 return ret; in board_mmc_getcd()
163 int ret; in board_mmc_init() local
191 ret = fsl_esdhc_initialize(bis, &usdhc_cfg[index]); in board_mmc_init()
192 if (ret) in board_mmc_init()
193 return ret; in board_mmc_init()
450 int ret; in spl_start_uboot() local
470 ret = env_get_f("boot_os", s, sizeof(s)); in spl_start_uboot()
471 if ((ret != -1) && (strcmp(s, "no") == 0)) in spl_start_uboot()
484 ret = env_get_f("recovery_status", s, sizeof(s)); in spl_start_uboot()
485 if (ret != -1) in spl_start_uboot()