Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ata/
Dlibata-sata.c638 int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active) in ata_qc_complete_multiple() argument
640 u64 done_mask, ap_qc_active = ap->qc_active; in ata_qc_complete_multiple()
649 qc_active |= (qc_active & 0x01) << ATA_TAG_INTERNAL; in ata_qc_complete_multiple()
650 qc_active ^= qc_active & 0x01; in ata_qc_complete_multiple()
653 done_mask = ap_qc_active ^ qc_active; in ata_qc_complete_multiple()
655 if (unlikely(done_mask & qc_active)) { in ata_qc_complete_multiple()
657 ap->qc_active, qc_active); in ata_qc_complete_multiple()
Dsata_nv.c263 u32 qc_active; member
1736 pp->qc_active = 0; in nv_swncq_pp_reinit()
1764 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop()
1768 pp->qc_active, pp->defer_queue.defer_bits, pp->last_issue_tag, in nv_swncq_ncq_stop()
1776 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()
1781 if (pp->qc_active & (1 << i)) in nv_swncq_ncq_stop()
2020 pp->qc_active |= (0x1 << qc->hw_tag); in nv_swncq_issue_atacmd()
2040 if (!pp->qc_active) in nv_swncq_qc_issue()
2097 done_mask = pp->qc_active ^ sactive; in nv_swncq_sdbfis()
2099 pp->qc_active &= ~done_mask; in nv_swncq_sdbfis()
[all …]
Dpata_sc1200.c190 if (alt && alt->qc_active) in sc1200_qc_defer()
Dlibahci.c1814 u32 qc_active = 0; in ahci_handle_port_interrupt() local
1868 if (ap->qc_active) { in ahci_handle_port_interrupt()
1869 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_handle_port_interrupt()
1870 qc_active |= readl(port_mmio + PORT_CMD_ISSUE); in ahci_handle_port_interrupt()
1874 if (ap->qc_active && pp->active_link->sactive) in ahci_handle_port_interrupt()
1875 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_handle_port_interrupt()
1877 qc_active = readl(port_mmio + PORT_CMD_ISSUE); in ahci_handle_port_interrupt()
1881 rc = ata_qc_complete_multiple(ap, qc_active); in ahci_handle_port_interrupt()
Dpata_sl82c105.c226 if (alt && alt->qc_active) in sl82c105_qc_defer()
Dlibata-core.c1530 preempted_qc_active = ap->qc_active; in ata_exec_internal_sg()
1534 ap->qc_active = 0; in ata_exec_internal_sg()
1637 ap->qc_active = preempted_qc_active; in ata_exec_internal_sg()
4622 ap->qc_active &= ~(1ULL << qc->tag); in __ata_qc_complete()
4772 u64 qc_active = ap->qc_active; in ata_qc_get_active() local
4775 if (qc_active & (1ULL << ATA_TAG_INTERNAL)) { in ata_qc_get_active()
4776 qc_active |= (1 << 0); in ata_qc_get_active()
4777 qc_active &= ~(1ULL << ATA_TAG_INTERNAL); in ata_qc_get_active()
4780 return qc_active; in ata_qc_get_active()
4822 ap->qc_active |= 1ULL << qc->tag; in ata_qc_issue()
Dsata_sil24.c1100 u32 slot_stat, qc_active; in sil24_host_intr() local
1120 qc_active = slot_stat & ~HOST_SSTAT_ATTN; in sil24_host_intr()
1121 rc = ata_qc_complete_multiple(ap, qc_active); in sil24_host_intr()
Dpata_artop.c290 if (alt && alt->qc_active) in artop6210_qc_defer()
Dpata_hpt3x2n.c324 if ((flags & USE_DPLL) != dpll && alt->qc_active) in hpt3x2n_qc_defer()
Dsata_fsl.c1264 ap->qc_active); in sata_fsl_host_intr()
1266 if (done_mask & ap->qc_active) { in sata_fsl_host_intr()
1286 } else if ((ap->qc_active & (1ULL << ATA_TAG_INTERNAL))) { in sata_fsl_host_intr()
Dsata_mv.c2533 ap->qc_active, failed_links, in mv_handle_fbs_ncq_dev_err()
/kernel/linux/linux-5.10/include/linux/
Dlibata.h844 u64 qc_active; member
1253 extern int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active);