Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ata/
Dsata_dwc_460ex.c516 uint intpr, sactive, sactive2, tag_mask; in sata_dwc_isr() local
561 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive); in sata_dwc_isr()
562 tag_mask = (hsdev->sactive_issued | sactive) ^ sactive; in sata_dwc_isr()
635 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive); in sata_dwc_isr()
636 tag_mask = (hsdev->sactive_issued | sactive) ^ sactive; in sata_dwc_isr()
638 if (sactive != 0 || hsdev->sactive_issued > 1 || tag_mask > 1) { in sata_dwc_isr()
641 __func__, sactive, hsdev->sactive_issued, tag_mask); in sata_dwc_isr()
647 sactive, hsdev->sactive_issued, tag_mask); in sata_dwc_isr()
710 if (sactive2 != sactive) { in sata_dwc_isr()
713 sactive, sactive2); in sata_dwc_isr()
[all …]
Dsata_nv.c989 check_commands = ap->link.sactive; in nv_adma_interrupt()
1661 if (ata_tag_valid(ap->link.active_tag) || ap->link.sactive) { in nv_adma_error_handler()
1679 ap->link.sactive & (1 << i)) in nv_adma_error_handler()
1779 u32 sactive; in nv_swncq_ncq_stop() local
1783 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop()
1794 sactive = readl(pp->sactive_block); in nv_swncq_ncq_stop()
1795 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()
1812 (sactive >> i) & 0x1, in nv_swncq_ncq_stop()
1826 if (ap->link.sactive) { in nv_swncq_error_handler()
2096 u32 sactive; in nv_swncq_sdbfis() local
[all …]
Dlibata-core.c1601 preempted_sactive = link->sactive; in ata_exec_internal_sg()
1605 link->sactive = 0; in ata_exec_internal_sg()
1708 link->sactive = preempted_sactive; in ata_exec_internal_sg()
4988 if (!ata_tag_valid(link->active_tag) && !link->sactive) in ata_std_qc_defer()
5185 link->sactive &= ~(1 << qc->hw_tag); in __ata_qc_complete()
5186 if (!link->sactive) in __ata_qc_complete()
5423 WARN_ON_ONCE(link->sactive & (1 << qc->hw_tag)); in ata_qc_issue()
5425 if (!link->sactive) in ata_qc_issue()
5427 link->sactive |= 1 << qc->hw_tag; in ata_qc_issue()
5429 WARN_ON_ONCE(link->sactive); in ata_qc_issue()
Dlibata-eh.c1708 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1729 if (!(link->sactive & (1 << tag))) { in ata_eh_analyze_ncq_error()
2471 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2478 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
Dsata_sil24.c1144 slot_stat, ap->link.active_tag, ap->link.sactive); in sil24_host_intr()
Dlibahci.c1884 if (ap->qc_active && pp->active_link->sactive) in ahci_handle_port_interrupt()
/Linux-v4.19/drivers/scsi/libsas/
Dsas_ata.c144 if (!link->sactive) { in sas_ata_task_done()
157 if (!link->sactive) { in sas_ata_task_done()
/Linux-v4.19/include/linux/
Dlibata.h802 u32 sactive; /* active NCQ commands */ member
1574 return ata_tag_valid(link->active_tag) || link->sactive; in ata_link_active()