Lines Matching refs:err_msg
36 args->err_msg = NULL; in ethtool_cmis_cdb_compose_args()
195 args.err_msg); in cmis_cdb_validate_password()
255 args.err_msg); in cmis_cdb_module_features_get()
422 args->err_msg = "Completion Flag did not set on time"; in cmis_cdb_wait_for_completion()
429 static void cmis_cdb_status_fail_msg_get(u8 status, char **err_msg) in cmis_cdb_status_fail_msg_get() argument
433 *err_msg = "CDB Status is in progress: Busy capturing command"; in cmis_cdb_status_fail_msg_get()
436 *err_msg = in cmis_cdb_status_fail_msg_get()
440 *err_msg = "CDB Status is in progress: Busy executing"; in cmis_cdb_status_fail_msg_get()
443 *err_msg = "CDB status failed: no specific failure"; in cmis_cdb_status_fail_msg_get()
446 *err_msg = in cmis_cdb_status_fail_msg_get()
450 *err_msg = "CDB status failed: CdbChkCode error"; in cmis_cdb_status_fail_msg_get()
453 *err_msg = "CDB status failed: Password error"; in cmis_cdb_status_fail_msg_get()
456 *err_msg = "Unknown failure reason"; in cmis_cdb_status_fail_msg_get()
475 if (err < 0 && !args->err_msg) in cmis_cdb_wait_for_status()
476 cmis_cdb_status_fail_msg_get(status, &args->err_msg); in cmis_cdb_wait_for_status()
573 args->err_msg = "LPL length is longer than CDB read write length extension allows"; in ethtool_cmis_cdb_execute_cmd()