Lines Matching full:serror
1497 * ata_eh_analyze_serror - analyze SError for a failed port
1498 * @link: ATA link to analyze SError for
1500 * Analyze SError if available and further determine cause of
1509 u32 serror = ehc->i.serror; in ata_eh_analyze_serror() local
1513 if (serror & (SERR_PERSISTENT | SERR_DATA)) { in ata_eh_analyze_serror()
1517 if (serror & SERR_PROTOCOL) { in ata_eh_analyze_serror()
1521 if (serror & SERR_INTERNAL) { in ata_eh_analyze_serror()
1527 * SError.N/X are considered hotplug events for enabled or in ata_eh_analyze_serror()
1538 if (serror & hotplug_mask) in ata_eh_analyze_serror()
1929 u32 serror; in ata_eh_link_autopsy() local
1937 /* obtain and analyze SError */ in ata_eh_link_autopsy()
1938 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy()
1940 ehc->i.serror |= serror; in ata_eh_link_autopsy()
1943 /* SError read failed, force reset and probing */ in ata_eh_link_autopsy()
2263 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2270 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2277 if (ehc->i.serror) in ata_eh_link_report()
2279 "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n", in ata_eh_link_report()
2280 ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "", in ata_eh_link_report()
2281 ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "", in ata_eh_link_report()
2282 ehc->i.serror & SERR_DATA ? "UnrecovData " : "", in ata_eh_link_report()
2283 ehc->i.serror & SERR_PERSISTENT ? "Persist " : "", in ata_eh_link_report()
2284 ehc->i.serror & SERR_PROTOCOL ? "Proto " : "", in ata_eh_link_report()
2285 ehc->i.serror & SERR_INTERNAL ? "HostInt " : "", in ata_eh_link_report()
2286 ehc->i.serror & SERR_PHYRDY_CHG ? "PHYRdyChg " : "", in ata_eh_link_report()
2287 ehc->i.serror & SERR_PHY_INT_ERR ? "PHYInt " : "", in ata_eh_link_report()
2288 ehc->i.serror & SERR_COMM_WAKE ? "CommWake " : "", in ata_eh_link_report()
2289 ehc->i.serror & SERR_10B_8B_ERR ? "10B8B " : "", in ata_eh_link_report()
2290 ehc->i.serror & SERR_DISPARITY ? "Dispar " : "", in ata_eh_link_report()
2291 ehc->i.serror & SERR_CRC ? "BadCRC " : "", in ata_eh_link_report()
2292 ehc->i.serror & SERR_HANDSHAKE ? "Handshk " : "", in ata_eh_link_report()
2293 ehc->i.serror & SERR_LINK_SEQ_ERR ? "LinkSeq " : "", in ata_eh_link_report()
2294 ehc->i.serror & SERR_TRANS_ST_ERROR ? "TrStaTrns " : "", in ata_eh_link_report()
2295 ehc->i.serror & SERR_UNRECOG_FIS ? "UnrecFIS " : "", in ata_eh_link_report()
2296 ehc->i.serror & SERR_DEV_XCHG ? "DevExch " : ""); in ata_eh_link_report()
2693 /* postreset() should clear hardware SError. Although SError in ata_eh_reset()
2694 * is cleared during link resume, clearing SError here is in ata_eh_reset()
2706 /* clear cached SError */ in ata_eh_reset()
2708 link->eh_info.serror = 0; in ata_eh_reset()
2710 slave->eh_info.serror = 0; in ata_eh_reset()