Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/ata/
Dsata_dwc_460ex.c512 uint intpr, sactive, sactive2, tag_mask; in sata_dwc_isr() local
557 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive); in sata_dwc_isr()
558 tag_mask = (hsdev->sactive_issued | sactive) ^ sactive; in sata_dwc_isr()
631 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive); in sata_dwc_isr()
632 tag_mask = (hsdev->sactive_issued | sactive) ^ sactive; in sata_dwc_isr()
634 if (sactive != 0 || hsdev->sactive_issued > 1 || tag_mask > 1) { in sata_dwc_isr()
637 __func__, sactive, hsdev->sactive_issued, tag_mask); in sata_dwc_isr()
643 sactive, hsdev->sactive_issued, tag_mask); in sata_dwc_isr()
706 if (sactive2 != sactive) { in sata_dwc_isr()
709 sactive, sactive2); in sata_dwc_isr()
[all …]
Dsata_nv.c973 check_commands = ap->link.sactive; in nv_adma_interrupt()
1640 if (ata_tag_valid(ap->link.active_tag) || ap->link.sactive) { in nv_adma_error_handler()
1658 ap->link.sactive & (1 << i)) in nv_adma_error_handler()
1758 u32 sactive; in nv_swncq_ncq_stop() local
1762 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop()
1773 sactive = readl(pp->sactive_block); in nv_swncq_ncq_stop()
1774 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()
1791 (sactive >> i) & 0x1, in nv_swncq_ncq_stop()
1805 if (ap->link.sactive) { in nv_swncq_error_handler()
2074 u32 sactive; in nv_swncq_sdbfis() local
[all …]
Dlibata-core.c1585 preempted_sactive = link->sactive; in ata_exec_internal_sg()
1589 link->sactive = 0; in ata_exec_internal_sg()
1692 link->sactive = preempted_sactive; in ata_exec_internal_sg()
4976 if (!ata_tag_valid(link->active_tag) && !link->sactive) in ata_std_qc_defer()
5173 link->sactive &= ~(1 << qc->hw_tag); in __ata_qc_complete()
5174 if (!link->sactive) in __ata_qc_complete()
5411 WARN_ON_ONCE(link->sactive & (1 << qc->hw_tag)); in ata_qc_issue()
5413 if (!link->sactive) in ata_qc_issue()
5415 link->sactive |= 1 << qc->hw_tag; in ata_qc_issue()
5417 WARN_ON_ONCE(link->sactive); in ata_qc_issue()
Dlibata-eh.c1687 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1708 if (!(link->sactive & (1 << tag))) { in ata_eh_analyze_ncq_error()
2452 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2459 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
Dsata_sil24.c1134 slot_stat, ap->link.active_tag, ap->link.sactive); in sil24_host_intr()
Dlibahci.c1867 if (ap->qc_active && pp->active_link->sactive) in ahci_handle_port_interrupt()
/Linux-v5.4/drivers/scsi/libsas/
Dsas_ata.c130 if (!link->sactive) { in sas_ata_task_done()
142 if (!link->sactive) { in sas_ata_task_done()
/Linux-v5.4/include/linux/
Dlibata.h785 u32 sactive; /* active NCQ commands */ member
1557 return ata_tag_valid(link->active_tag) || link->sactive; in ata_link_active()