Lines Matching refs:ret_val
46 int ret_val = FPGA_FAIL; in spartan2_load() local
51 ret_val = spartan2_ss_load(desc, buf, bsize); in spartan2_load()
56 ret_val = spartan2_sp_load(desc, buf, bsize); in spartan2_load()
64 return ret_val; in spartan2_load()
69 int ret_val = FPGA_FAIL; in spartan2_dump() local
74 ret_val = spartan2_ss_dump(desc, buf, bsize); in spartan2_dump()
79 ret_val = spartan2_sp_dump(desc, buf, bsize); in spartan2_dump()
87 return ret_val; in spartan2_dump()
101 int ret_val = FPGA_FAIL; /* assume the worst */ in spartan2_sp_load() local
215 ret_val = FPGA_SUCCESS; in spartan2_sp_load()
226 ret_val = FPGA_FAIL; in spartan2_sp_load()
238 if (ret_val == FPGA_SUCCESS) in spartan2_sp_load()
248 return ret_val; in spartan2_sp_load()
253 int ret_val = FPGA_FAIL; /* assume the worst */ in spartan2_sp_dump() local
293 return ret_val; in spartan2_sp_dump()
301 int ret_val = FPGA_FAIL; /* assume the worst */ in spartan2_ss_load() local
402 ret_val = FPGA_SUCCESS; in spartan2_ss_load()
416 ret_val = FPGA_FAIL; in spartan2_ss_load()
429 if (ret_val == FPGA_SUCCESS) in spartan2_ss_load()
439 return ret_val; in spartan2_ss_load()