Lines Matching refs:err_msg
52 args->err_msg = NULL; in ethtool_cmis_cdb_compose_args()
211 args.err_msg); in cmis_cdb_validate_password()
272 args.err_msg); in cmis_cdb_module_features_get()
439 args->err_msg = "Completion Flag did not set on time"; in cmis_cdb_wait_for_completion()
446 static void cmis_cdb_status_fail_msg_get(u8 status, char **err_msg) in cmis_cdb_status_fail_msg_get() argument
450 *err_msg = "CDB Status is in progress: Busy capturing command"; in cmis_cdb_status_fail_msg_get()
453 *err_msg = in cmis_cdb_status_fail_msg_get()
457 *err_msg = "CDB Status is in progress: Busy executing"; in cmis_cdb_status_fail_msg_get()
460 *err_msg = "CDB status failed: no specific failure"; in cmis_cdb_status_fail_msg_get()
463 *err_msg = in cmis_cdb_status_fail_msg_get()
467 *err_msg = "CDB status failed: CdbChkCode error"; in cmis_cdb_status_fail_msg_get()
470 *err_msg = "CDB status failed: Password error"; in cmis_cdb_status_fail_msg_get()
473 *err_msg = "Unknown failure reason"; in cmis_cdb_status_fail_msg_get()
492 if (err < 0 && !args->err_msg) in cmis_cdb_wait_for_status()
493 cmis_cdb_status_fail_msg_get(status, &args->err_msg); in cmis_cdb_wait_for_status()
635 args->err_msg = "LPL length is longer than CDB read write length extension allows"; in ethtool_cmis_cdb_execute_cmd()