• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/apei/

Lines Matching defs:rc

113 	int rc;
116 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_ERROR_TYPE);
117 if (rc)
118 return rc;
127 int rc;
130 rc = __einj_get_available_error_type(type);
133 return rc;
194 int rc = -EIO;
210 rc = einj_check_trigger_header(trigger_tab);
211 if (rc) {
216 rc = -EIO;
240 rc = apei_exec_collect_resources(&trigger_ctx, &trigger_resources);
241 if (rc)
243 rc = apei_resources_sub(&trigger_resources, &einj_resources);
244 if (rc)
246 rc = apei_resources_request(&trigger_resources, "APEI EINJ Trigger");
247 if (rc)
249 rc = apei_exec_pre_map_gars(&trigger_ctx);
250 if (rc)
253 rc = apei_exec_run(&trigger_ctx, ACPI_EINJ_TRIGGER_ERROR);
269 return rc;
276 int rc;
280 rc = apei_exec_run(&ctx, ACPI_EINJ_BEGIN_OPERATION);
281 if (rc)
282 return rc;
284 rc = apei_exec_run(&ctx, ACPI_EINJ_SET_ERROR_TYPE);
285 if (rc)
286 return rc;
291 rc = apei_exec_run(&ctx, ACPI_EINJ_EXECUTE_OPERATION);
292 if (rc)
293 return rc;
295 rc = apei_exec_run(&ctx, ACPI_EINJ_CHECK_BUSY_STATUS);
296 if (rc)
297 return rc;
304 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_COMMAND_STATUS);
305 if (rc)
306 return rc;
311 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_TRIGGER_TABLE);
312 if (rc)
313 return rc;
315 rc = __einj_error_trigger(trigger_paddr);
316 if (rc)
317 return rc;
318 rc = apei_exec_run(&ctx, ACPI_EINJ_END_OPERATION);
320 return rc;
326 int rc;
329 rc = __einj_error_inject(type, param1, param2);
332 return rc;
342 int rc;
345 rc = einj_get_available_error_type(&available_error_type);
346 if (rc)
347 return rc;
397 int rc;
403 rc = einj_get_available_error_type(&available_error_type);
404 if (rc)
405 return rc;
445 int rc;
465 rc = einj_check_table(einj_tab);
466 if (rc) {
471 rc = -ENOMEM;
499 rc = apei_exec_collect_resources(&ctx, &einj_resources);
500 if (rc)
502 rc = apei_resources_request(&einj_resources, "APEI EINJ");
503 if (rc)
505 rc = apei_exec_pre_map_gars(&ctx);
506 if (rc)
511 rc = -ENOMEM;
529 return rc;