FPGA_MGR_STATE_WRITE_ERR
if (alt_pr_fpga_state(mgr) == FPGA_MGR_STATE_WRITE_ERR)
case FPGA_MGR_STATE_WRITE_ERR:
ret = FPGA_MGR_STATE_WRITE_ERR;
ret = FPGA_MGR_STATE_WRITE_ERR;
ret = FPGA_MGR_STATE_WRITE_ERR;
mgr->state = FPGA_MGR_STATE_WRITE_ERR;
mgr->state = FPGA_MGR_STATE_WRITE_ERR;
[FPGA_MGR_STATE_WRITE_ERR] = "write error",