Home
last modified time | relevance | path

Searched refs:qc_active (Results 1 – 7 of 7) sorted by relevance

/drivers/ata/
Dsata_fsl.c1088 u32 hstatus, qc_active = 0; in sata_fsl_host_intr() local
1109 qc_active = ioread32(hcr_base + CC); in sata_fsl_host_intr()
1113 qc_active, in sata_fsl_host_intr()
1117 ap->qc_active); in sata_fsl_host_intr()
1119 if (qc_active & ap->qc_active) { in sata_fsl_host_intr()
1122 iowrite32(qc_active, hcr_base + CC); in sata_fsl_host_intr()
1126 qc_active, ioread32(hcr_base + CA), in sata_fsl_host_intr()
1130 if (qc_active & (1 << i)) { in sata_fsl_host_intr()
1143 } else if ((ap->qc_active & (1 << ATA_TAG_INTERNAL))) { in sata_fsl_host_intr()
1157 iowrite32(qc_active, hcr_base + CC); in sata_fsl_host_intr()
Dsata_nv.c279 u32 qc_active; member
1750 pp->qc_active = 0; in nv_swncq_pp_reinit()
1779 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop()
1783 pp->qc_active, pp->defer_queue.defer_bits, pp->last_issue_tag, in nv_swncq_ncq_stop()
1791 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()
1796 if (pp->qc_active & (1 << i)) in nv_swncq_ncq_stop()
2033 pp->qc_active |= (0x1 << qc->tag); in nv_swncq_issue_atacmd()
2053 if (!pp->qc_active) in nv_swncq_qc_issue()
2112 done_mask = pp->qc_active ^ sactive; in nv_swncq_sdbfis()
2117 "(%08x->%08x)", pp->qc_active, sactive); in nv_swncq_sdbfis()
[all …]
Dpata_sl82c105.c225 if (alt && alt->qc_active) in sl82c105_qc_defer()
Dlibata-core.c1800 preempted_qc_active = ap->qc_active; in ata_exec_internal_sg()
1804 ap->qc_active = 0; in ata_exec_internal_sg()
1893 ap->qc_active = preempted_qc_active; in ata_exec_internal_sg()
4872 ap->qc_active &= ~(1 << qc->tag); in __ata_qc_complete()
5004 int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active) in ata_qc_complete_multiple() argument
5010 done_mask = ap->qc_active ^ qc_active; in ata_qc_complete_multiple()
5012 if (unlikely(done_mask & qc_active)) { in ata_qc_complete_multiple()
5014 "(%08x->%08x)\n", ap->qc_active, qc_active); in ata_qc_complete_multiple()
5071 ap->qc_active |= 1 << qc->tag; in ata_qc_issue()
Dsata_sil24.c1085 u32 slot_stat, qc_active; in sil24_host_intr() local
1105 qc_active = slot_stat & ~HOST_SSTAT_ATTN; in sil24_host_intr()
1106 rc = ata_qc_complete_multiple(ap, qc_active); in sil24_host_intr()
Dahci.c2035 u32 status, qc_active; in ahci_port_intr() local
2087 if (ap->qc_active && pp->active_link->sactive) in ahci_port_intr()
2088 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_port_intr()
2090 qc_active = readl(port_mmio + PORT_CMD_ISSUE); in ahci_port_intr()
2092 rc = ata_qc_complete_multiple(ap, qc_active); in ahci_port_intr()
Dsata_mv.c1723 ap->qc_active, failed_links, in mv_handle_fbs_ncq_dev_err()