Lines Matching refs:sns
1368 struct sns_info *sns = &skd_chkstat_table[i]; in skd_check_status() local
1370 if (sns->mask & 0x10) in skd_check_status()
1371 if (skerr->type != sns->type) in skd_check_status()
1374 if (sns->mask & 0x08) in skd_check_status()
1375 if (cmp_status != sns->stat) in skd_check_status()
1378 if (sns->mask & 0x04) in skd_check_status()
1379 if (skerr->key != sns->key) in skd_check_status()
1382 if (sns->mask & 0x02) in skd_check_status()
1383 if (skerr->code != sns->asc) in skd_check_status()
1386 if (sns->mask & 0x01) in skd_check_status()
1387 if (skerr->qual != sns->ascq) in skd_check_status()
1390 if (sns->action == SKD_CHECK_STATUS_REPORT_SMART_ALERT) { in skd_check_status()
1395 return sns->action; in skd_check_status()