Home
last modified time | relevance | path

Searched refs:sactive (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dsata_dwc_460ex.c471 uint intpr, sactive, sactive2, tag_mask; in sata_dwc_isr() local
522 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive); in sata_dwc_isr()
523 tag_mask = (hsdev->sactive_issued | sactive) ^ sactive; in sata_dwc_isr()
596 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive); in sata_dwc_isr()
597 tag_mask = (hsdev->sactive_issued | sactive) ^ sactive; in sata_dwc_isr()
599 if (sactive != 0 || hsdev->sactive_issued > 1 || tag_mask > 1) { in sata_dwc_isr()
602 __func__, sactive, hsdev->sactive_issued, tag_mask); in sata_dwc_isr()
608 sactive, hsdev->sactive_issued, tag_mask); in sata_dwc_isr()
674 if (sactive2 != sactive) { in sata_dwc_isr()
677 sactive, sactive2); in sata_dwc_isr()
[all …]
H A Dsata_nv.c980 check_commands = ap->link.sactive; in nv_adma_interrupt()
1633 if (ata_tag_valid(ap->link.active_tag) || ap->link.sactive) { in nv_adma_error_handler()
1651 ap->link.sactive & (1 << i)) in nv_adma_error_handler()
1751 u32 sactive; in nv_swncq_ncq_stop() local
1755 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop()
1766 sactive = readl(pp->sactive_block); in nv_swncq_ncq_stop()
1767 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()
1784 (sactive >> i) & 0x1, in nv_swncq_ncq_stop()
1798 if (ap->link.sactive) { in nv_swncq_error_handler()
2065 u32 sactive; in nv_swncq_sdbfis() local
[all …]
H A Dlibata-core.c1542 preempted_sactive = link->sactive; in ata_exec_internal_sg()
1546 link->sactive = 0; in ata_exec_internal_sg()
1643 link->sactive = preempted_sactive; in ata_exec_internal_sg()
4616 if (!ata_tag_valid(link->active_tag) && !link->sactive) in ata_std_qc_defer()
4767 link->sactive &= ~(1 << qc->hw_tag); in __ata_qc_complete()
4768 if (!link->sactive) in __ata_qc_complete()
4981 WARN_ON_ONCE(link->sactive & (1 << qc->hw_tag)); in ata_qc_issue()
4983 if (!link->sactive) in ata_qc_issue()
4985 link->sactive |= 1 << qc->hw_tag; in ata_qc_issue()
4987 WARN_ON_ONCE(link->sactive); in ata_qc_issue()
H A Dlibata-sata.c1459 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1480 if (!(link->sactive & (1 << tag))) { in ata_eh_analyze_ncq_error()
H A Dlibata-eh.c1981 if (link->sactive) in ata_eh_get_success_sense()
2382 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2389 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
H A Dsata_sil24.c1135 slot_stat, ap->link.active_tag, ap->link.sactive); in sil24_host_intr()
H A Dlibahci.c1882 if (ap->qc_active && pp->active_link->sactive) in ahci_qc_complete()
2143 if (!pp->active_link->sactive) in ahci_qc_ncq_fill_rtf()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_ata.c123 if (!link->sactive) { in sas_ata_task_done()
135 if (!link->sactive) { in sas_ata_task_done()
/openbmc/linux/include/linux/
H A Dlibata.h785 u32 sactive; /* active NCQ commands */ member
1649 return ata_tag_valid(link->active_tag) || link->sactive; in ata_link_active()