Lines Matching refs:err_code
124 enum fw_upload_err err_code; member
1146 tst->inject.err_code = err; in upload_err_inject_error()
1203 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1207 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1210 ret = tst->inject.err_code; in test_fw_upload_prepare()
1217 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1239 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write()
1243 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_write()
1246 return tst->inject.err_code; in test_fw_upload_write()
1257 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_complete()
1261 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_complete()
1264 return tst->inject.err_code; in test_fw_upload_complete()
1278 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_cleanup()