Home
last modified time | relevance | path

Searched refs:active_tag (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/ata/
H A Dsata_dwc_460ex.c301 tag = ap->link.active_tag; in dma_dwc_xfer_done()
426 tag = ap->link.active_tag; in sata_dwc_error_intr()
484 ap->link.active_tag); in sata_dwc_isr()
516 qc->ap->link.active_tag = tag; in sata_dwc_isr()
527 if (ap->link.active_tag == ATA_TAG_POISON) in sata_dwc_isr()
530 tag = ap->link.active_tag; in sata_dwc_isr()
544 qc->ap->link.active_tag = tag; in sata_dwc_isr()
631 qc->ap->link.active_tag = tag; in sata_dwc_isr()
717 tag = ap->link.active_tag; in sata_dwc_dma_xfer_complete()
734 ap->link.active_tag = ATA_TAG_POISON; in sata_dwc_dma_xfer_complete()
H A Dsata_nv.c857 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in nv_host_intr()
909 if (ata_tag_valid(ap->link.active_tag)) in nv_adma_interrupt()
979 if (ata_tag_valid(ap->link.active_tag)) in nv_adma_interrupt()
981 ap->link.active_tag; in nv_adma_interrupt()
1447 qc = ata_qc_from_tag(ap, ap->link.active_tag); in nv_generic_interrupt()
1636 if (ata_tag_valid(ap->link.active_tag) || ap->link.sactive) { in nv_adma_error_handler()
1653 if ((ata_tag_valid(ap->link.active_tag) && i == ap->link.active_tag) || in nv_adma_error_handler()
H A Dsata_qstor.c375 qc = ata_qc_from_tag(ap, ap->link.active_tag); in qs_intr_pkt()
401 qc = ata_qc_from_tag(ap, ap->link.active_tag); in qs_intr_mmio()
H A Dpdc_adma.c405 qc = ata_qc_from_tag(ap, ap->link.active_tag); in adma_intr_pkt()
448 qc = ata_qc_from_tag(ap, ap->link.active_tag); in adma_intr_mmio()
H A Dsata_sil24.c1040 qc = ata_qc_from_tag(ap, link->active_tag); in sil24_error_intr()
1051 qc = ata_qc_from_tag(ap, link->active_tag); in sil24_error_intr()
1135 slot_stat, ap->link.active_tag, ap->link.sactive); in sil24_host_intr()
H A Dlibata-sff.c1221 qc = ata_qc_from_tag(ap, link->active_tag); in ata_sff_pio_task()
1477 qc = ata_qc_from_tag(ap, ap->link.active_tag); in __ata_sff_interrupt()
1570 qc = ata_qc_from_tag(ap, ap->link.active_tag); in ata_sff_lost_interrupt()
2060 qc = __ata_qc_from_tag(ap, ap->link.active_tag); in ata_sff_error_handler()
2783 qc = __ata_qc_from_tag(ap, ap->link.active_tag); in ata_bmdma_error_handler()
H A Dsata_vsc.c229 qc = ata_qc_from_tag(ap, ap->link.active_tag); in vsc_port_intr()
H A Dlibata-core.c1532 preempted_tag = link->active_tag; in ata_exec_internal()
1536 link->active_tag = ATA_TAG_POISON; in ata_exec_internal()
1623 link->active_tag = preempted_tag; in ata_exec_internal()
4575 if (!ata_tag_valid(link->active_tag)) in ata_std_qc_defer()
4578 if (!ata_tag_valid(link->active_tag) && !link->sactive) in ata_std_qc_defer()
4728 link->active_tag = ATA_TAG_POISON; in __ata_qc_complete()
4936 WARN_ON_ONCE(ata_tag_valid(link->active_tag)); in ata_qc_issue()
4948 link->active_tag = qc->tag; in ata_qc_issue()
5355 link->active_tag = ATA_TAG_POISON; in ata_link_init()
H A Dpata_octeon_cf.c661 qc = ata_qc_from_tag(ap, ap->link.active_tag); in octeon_cf_interrupt()
735 qc = ata_qc_from_tag(ap, ap->link.active_tag); in octeon_cf_delayed_finish()
H A Dsata_sil.c422 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in sil_host_intr()
H A Dsata_fsl.c1133 qc = ata_qc_from_tag(ap, link->active_tag); in sata_fsl_error_intr()
1151 qc = ata_qc_from_tag(ap, link->active_tag); in sata_fsl_error_intr()
H A Dsata_inic162x.c385 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in inic_host_intr()
H A Dsata_mv.c2394 qc = ata_qc_from_tag(ap, ap->link.active_tag); in mv_get_active_qc()
2581 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in mv_unexpected_intr()
2787 tag = ap->link.active_tag; in mv_process_crpb_entries()
2942 qc = ata_qc_from_tag(ap, ap->link.active_tag); in mv_pci_error()
H A Dsata_rcar.c686 qc = ata_qc_from_tag(ap, ap->link.active_tag); in sata_rcar_ata_interrupt()
H A Dlibata-eh.c1982 qc = __ata_qc_from_tag(ap, link->active_tag); in ata_eh_get_non_ncq_success_sense()
3355 if (!ata_tag_valid(link->active_tag)) in ata_eh_maybe_retry_flush()
3358 qc = __ata_qc_from_tag(ap, link->active_tag); in ata_eh_maybe_retry_flush()
H A Dsata_promise.c975 qc = ata_qc_from_tag(ap, ap->link.active_tag); in pdc_interrupt()
H A Dsata_sx4.c781 qc = ata_qc_from_tag(ap, ap->link.active_tag); in pdc20621_interrupt()
H A Dlibahci.c1775 active_qc = ata_qc_from_tag(ap, link->active_tag); in ahci_error_intr()
/linux/include/linux/
H A Dlibata.h842 unsigned int active_tag; /* active tag on this link */ member
862 #define ATA_LINK_CLEAR_BEGIN offsetof(struct ata_link, active_tag)
1713 return ata_tag_valid(link->active_tag) || link->sactive; in ata_link_active()
/linux/Documentation/driver-api/
H A Dlibata.rst483 2. ``ap->active_tag`` and ``qc->tag`` are poisoned.