Lines Matching refs:ret_val
50 int ret_val = FPGA_FAIL; in spartan3_load() local
55 ret_val = spartan3_ss_load(desc, buf, bsize); in spartan3_load()
60 ret_val = spartan3_sp_load(desc, buf, bsize); in spartan3_load()
68 return ret_val; in spartan3_load()
73 int ret_val = FPGA_FAIL; in spartan3_dump() local
78 ret_val = spartan3_ss_dump(desc, buf, bsize); in spartan3_dump()
83 ret_val = spartan3_sp_dump(desc, buf, bsize); in spartan3_dump()
91 return ret_val; in spartan3_dump()
105 int ret_val = FPGA_FAIL; /* assume the worst */ in spartan3_sp_load() local
219 ret_val = FPGA_SUCCESS; in spartan3_sp_load()
232 ret_val = FPGA_FAIL; in spartan3_sp_load()
244 if (ret_val == FPGA_SUCCESS) in spartan3_sp_load()
254 return ret_val; in spartan3_sp_load()
259 int ret_val = FPGA_FAIL; /* assume the worst */ in spartan3_sp_dump() local
299 return ret_val; in spartan3_sp_dump()
307 int ret_val = FPGA_FAIL; /* assume the worst */ in spartan3_ss_load() local
418 ret_val = FPGA_SUCCESS; in spartan3_ss_load()
434 ret_val = FPGA_FAIL; in spartan3_ss_load()
447 if (ret_val == FPGA_SUCCESS) in spartan3_ss_load()
457 return ret_val; in spartan3_ss_load()