Lines Matching refs:ret_val
81 int ret_val = FPGA_FAIL; /* assume failure */ in fpga_dev_info() local
92 ret_val = xilinx_info(desc->devdesc); in fpga_dev_info()
100 ret_val = altera_info(desc->devdesc); in fpga_dev_info()
108 ret_val = lattice_info(desc->devdesc); in fpga_dev_info()
121 return ret_val; in fpga_dev_info()
199 int ret_val = FPGA_FAIL; /* assume failure */ in fpga_fsload() local
207 ret_val = xilinx_loadfs(desc->devdesc, buf, size, in fpga_fsload()
219 return ret_val; in fpga_fsload()
227 int ret_val = FPGA_FAIL; in fpga_loads() local
236 ret_val = xilinx_loads(desc->devdesc, buf, size, in fpga_loads()
248 return ret_val; in fpga_loads()
257 int ret_val = FPGA_FAIL; /* assume failure */ in fpga_load() local
265 ret_val = xilinx_load(desc->devdesc, buf, bsize, in fpga_load()
273 ret_val = altera_load(desc->devdesc, buf, bsize); in fpga_load()
280 ret_val = lattice_load(desc->devdesc, buf, bsize); in fpga_load()
291 return ret_val; in fpga_load()
300 int ret_val = FPGA_FAIL; /* assume failure */ in fpga_dump() local
308 ret_val = xilinx_dump(desc->devdesc, buf, bsize); in fpga_dump()
315 ret_val = altera_dump(desc->devdesc, buf, bsize); in fpga_dump()
322 ret_val = lattice_dump(desc->devdesc, buf, bsize); in fpga_dump()
333 return ret_val; in fpga_dump()