/drivers/ata/ |
D | sata_via.c | 575 u32 serror; in vt642x_interrupt() local 580 svia_scr_read(&host->ports[0]->link, SCR_ERROR, &serror); in vt642x_interrupt() 581 if (serror & SERR_PHYRDY_CHG) { in vt642x_interrupt() 587 svia_scr_read(&host->ports[1]->link, SCR_ERROR, &serror); in vt642x_interrupt() 588 if (serror & SERR_PHYRDY_CHG) { in vt642x_interrupt() 603 u32 serror; in vt6421_error_handler() local 607 svia_scr_read(&ap->link, SCR_ERROR, &serror); in vt6421_error_handler() 608 if (serror == 0x1000500) { in vt6421_error_handler()
|
D | libata-eh.c | 1691 u32 serror = ehc->i.serror; in ata_eh_analyze_serror() local 1695 if (serror & (SERR_PERSISTENT | SERR_DATA)) { in ata_eh_analyze_serror() 1699 if (serror & SERR_PROTOCOL) { in ata_eh_analyze_serror() 1703 if (serror & SERR_INTERNAL) { in ata_eh_analyze_serror() 1720 if (serror & hotplug_mask) in ata_eh_analyze_serror() 2171 u32 serror; in ata_eh_link_autopsy() local 2180 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy() 2182 ehc->i.serror |= serror; in ata_eh_link_autopsy() 2498 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report() 2505 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report() [all …]
|
D | sata_sil.c | 441 u32 serror = 0xffffffff; in sil_host_intr() local 447 sil_scr_read(&ap->link, SCR_ERROR, &serror); in sil_host_intr() 448 sil_scr_write(&ap->link, SCR_ERROR, serror); in sil_host_intr() 453 if (serror & SERR_PHYRDY_CHG) { in sil_host_intr() 454 ap->link.eh_info.serror |= serror; in sil_host_intr()
|
D | sata_rcar.c | 681 u32 serror; in sata_rcar_serr_interrupt() local 683 serror = ioread32(priv->base + SCRSERR_REG); in sata_rcar_serr_interrupt() 684 if (!serror) in sata_rcar_serr_interrupt() 687 DPRINTK("SError @host_intr: 0x%x\n", serror); in sata_rcar_serr_interrupt() 692 if (serror & (SERR_DEV_XCHG | SERR_PHYRDY_CHG)) { in sata_rcar_serr_interrupt() 697 freeze = serror & SERR_COMM_WAKE ? 0 : 1; in sata_rcar_serr_interrupt()
|
D | sata_nv.c | 2085 u32 serror; in nv_swncq_hotplug() local 2091 sata_scr_read(&ap->link, SCR_ERROR, &serror); in nv_swncq_hotplug() 2092 sata_scr_write(&ap->link, SCR_ERROR, serror); in nv_swncq_hotplug() 2103 ehi->serror |= serror; in nv_swncq_hotplug() 2227 u32 serror; in nv_swncq_host_interrupt() local 2246 if (ap->ops->scr_read(&ap->link, SCR_ERROR, &serror)) in nv_swncq_host_interrupt() 2248 ap->ops->scr_write(&ap->link, SCR_ERROR, serror); in nv_swncq_host_interrupt() 2254 ehi->serror |= serror; in nv_swncq_host_interrupt()
|
D | sata_dwc_460ex.c | 462 u32 serror; in sata_dwc_error_intr() local 467 sata_dwc_scr_read(&ap->link, SCR_ERROR, &serror); in sata_dwc_error_intr() 474 __func__, serror, intpr, status, hsdevp->dma_interrupt_count, in sata_dwc_error_intr() 487 ehi->serror |= serror; in sata_dwc_error_intr()
|
D | sata_promise.c | 878 u32 serror; in pdc_error_intr() local 880 pdc_sata_scr_read(&ap->link, SCR_ERROR, &serror); in pdc_error_intr() 881 ehi->serror |= serror; in pdc_error_intr()
|
D | libahci.c | 1700 u32 serror; in ahci_error_intr() local 1729 ahci_scr_read(&ap->link, SCR_ERROR, &serror); in ahci_error_intr() 1730 ahci_scr_write(&ap->link, SCR_ERROR, serror); in ahci_error_intr() 1731 host_ehi->serror |= serror; in ahci_error_intr() 1748 host_ehi->serror &= ~SERR_INTERNAL; in ahci_error_intr()
|
D | libata-core.c | 3877 u32 scontrol, serror; in sata_link_resume() local 3919 if (!(rc = sata_scr_read(link, SCR_ERROR, &serror))) in sata_link_resume() 3920 rc = sata_scr_write(link, SCR_ERROR, serror); in sata_link_resume() 3993 ehc->i.serror &= ~SERR_PHYRDY_CHG; in sata_link_scr_lpm() 4194 u32 serror; in ata_std_postreset() local 4199 if (!sata_scr_read(link, SCR_ERROR, &serror)) in ata_std_postreset() 4200 sata_scr_write(link, SCR_ERROR, serror); in ata_std_postreset()
|
D | sata_mv.c | 2751 ehi->serror |= serr; in mv_err_intr()
|