/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-sata.c | 634 * @qc_active: new qc_active mask 638 * requests normally. ap->qc_active and @qc_active is compared 651 int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active) in ata_qc_complete_multiple() argument 653 u64 done_mask, ap_qc_active = ap->qc_active; in ata_qc_complete_multiple() 657 * If the internal tag is set on ap->qc_active, then we care about in ata_qc_complete_multiple() 658 * bit0 on the passed in qc_active mask. Move that bit up to match in ata_qc_complete_multiple() 662 qc_active |= (qc_active in ata_qc_complete_multiple() [all...] |
H A D | sata_nv.c | 263 u32 qc_active; member 1736 pp->qc_active = 0; in nv_swncq_pp_reinit() 1763 ata_port_err(ap, "EH in SWNCQ mode,QC:qc_active 0x%llX sactive 0x%X\n", in nv_swncq_ncq_stop() 1764 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop() 1766 "SWNCQ:qc_active 0x%X defer_bits 0x%X last_issue_tag 0x%x\n " 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() [all...] |
H A D | pata_sc1200.c | 190 if (alt && alt->qc_active) in sc1200_qc_defer()
|
H A D | libahci.c | 1825 u32 qc_active = 0; in ahci_handle_port_interrupt() local 1879 if (ap->qc_active) { in ahci_handle_port_interrupt() 1880 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_handle_port_interrupt() 1881 qc_active |= readl(port_mmio + PORT_CMD_ISSUE); in ahci_handle_port_interrupt() 1885 if (ap->qc_active && pp->active_link->sactive) in ahci_handle_port_interrupt() 1886 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_handle_port_interrupt() 1888 qc_active = readl(port_mmio + PORT_CMD_ISSUE); in ahci_handle_port_interrupt() 1892 rc = ata_qc_complete_multiple(ap, qc_active); in ahci_handle_port_interrupt()
|
H A D | pata_sl82c105.c | 226 if (alt && alt->qc_active) in sl82c105_qc_defer()
|
H A D | pata_artop.c | 290 if (alt && alt->qc_active) in artop6210_qc_defer()
|
H A D | sata_sil24.c | 1100 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()
|
H A D | sata_fsl.c | 1264 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()
|
H A D | libata-core.c | 1530 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() 4630 ap->qc_active &= ~(1ULL << qc->tag); in __ata_qc_complete() 4780 u64 qc_active = ap->qc_active; in ata_qc_get_active() local 4783 if (qc_active & (1ULL << ATA_TAG_INTERNAL)) { in ata_qc_get_active() 4784 qc_active |= (1 << 0); in ata_qc_get_active() 4785 qc_active &= ~(1ULL << ATA_TAG_INTERNAL); in ata_qc_get_active() 4788 return qc_active; in ata_qc_get_active() [all...] |
H A D | pata_hpt3x2n.c | 324 if ((flags & USE_DPLL) != dpll && alt->qc_active) in hpt3x2n_qc_defer()
|
H A D | sata_mv.c | 2533 ap->qc_active, failed_links, in mv_handle_fbs_ncq_dev_err()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | libata-sata.c | 633 * @qc_active: new qc_active mask 637 * requests normally. ap->qc_active and @qc_active is compared 650 int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active) in ata_qc_complete_multiple() argument 652 u64 done_mask, ap_qc_active = ap->qc_active; in ata_qc_complete_multiple() 656 * If the internal tag is set on ap->qc_active, then we care about in ata_qc_complete_multiple() 657 * bit0 on the passed in qc_active mask. Move that bit up to match in ata_qc_complete_multiple() 661 qc_active |= (qc_active in ata_qc_complete_multiple() [all...] |
H A D | sata_nv.c | 264 u32 qc_active; member 1727 pp->qc_active = 0; in nv_swncq_pp_reinit() 1754 ata_port_err(ap, "EH in SWNCQ mode,QC:qc_active 0x%llX sactive 0x%X\n", in nv_swncq_ncq_stop() 1755 ap->qc_active, ap->link.sactive); in nv_swncq_ncq_stop() 1757 "SWNCQ:qc_active 0x%X defer_bits 0x%X last_issue_tag 0x%x\n " in nv_swncq_ncq_stop() 1759 pp->qc_active, pp->defer_queue.defer_bits, pp->last_issue_tag, in nv_swncq_ncq_stop() 1767 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop() 1772 if (pp->qc_active & (1 << i)) in nv_swncq_ncq_stop() 2009 pp->qc_active |= (0x1 << qc->hw_tag); in nv_swncq_issue_atacmd() 2027 if (!pp->qc_active) in nv_swncq_qc_issue() [all...] |
H A D | pata_sc1200.c | 190 if (alt && alt->qc_active) in sc1200_qc_defer()
|
H A D | libahci.c | 1867 u32 qc_active = 0; in ahci_qc_complete() local 1876 if (ap->qc_active) { in ahci_qc_complete() 1877 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_qc_complete() 1878 qc_active |= readl(port_mmio + PORT_CMD_ISSUE); in ahci_qc_complete() 1882 if (ap->qc_active && pp->active_link->sactive) in ahci_qc_complete() 1883 qc_active = readl(port_mmio + PORT_SCR_ACT); in ahci_qc_complete() 1885 qc_active = readl(port_mmio + PORT_CMD_ISSUE); in ahci_qc_complete() 1888 rc = ata_qc_complete_multiple(ap, qc_active); in ahci_qc_complete() 2142 if (!ap->qc_active) in ahci_qc_ncq_fill_rtf()
|
H A D | pata_sl82c105.c | 225 if (alt && alt->qc_active) in sl82c105_qc_defer()
|
H A D | pata_artop.c | 290 if (alt && alt->qc_active) in artop6210_qc_defer()
|
H A D | sata_fsl.c | 1239 ap->qc_active); in sata_fsl_host_intr() 1241 if (done_mask & ap->qc_active) { in sata_fsl_host_intr() 1259 } else if ((ap->qc_active & (1ULL << ATA_TAG_INTERNAL))) { in sata_fsl_host_intr()
|
H A D | sata_sil24.c | 1099 u32 slot_stat, qc_active; in sil24_host_intr() local 1119 qc_active = slot_stat & ~HOST_SSTAT_ATTN; in sil24_host_intr() 1120 rc = ata_qc_complete_multiple(ap, qc_active); in sil24_host_intr()
|
H A D | libata-core.c | 1543 preempted_qc_active = ap->qc_active; in ata_exec_internal_sg() 1547 ap->qc_active = 0; in ata_exec_internal_sg() 1644 ap->qc_active = preempted_qc_active; in ata_exec_internal_sg() 4785 ap->qc_active &= ~(1ULL << qc->tag); in __ata_qc_complete() 4939 u64 qc_active = ap->qc_active; in ata_qc_get_active() local 4942 if (qc_active & (1ULL << ATA_TAG_INTERNAL)) { in ata_qc_get_active() 4943 qc_active |= (1 << 0); in ata_qc_get_active() 4944 qc_active &= ~(1ULL << ATA_TAG_INTERNAL); in ata_qc_get_active() 4947 return qc_active; in ata_qc_get_active() [all...] |
H A D | pata_hpt3x2n.c | 319 if ((flags & USE_DPLL) != dpll && alt->qc_active) in hpt3x2n_qc_defer()
|
H A D | sata_mv.c | 2530 ap->qc_active, failed_links, in mv_handle_fbs_ncq_dev_err()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | libata.h | 848 u64 qc_active; member 1257 extern int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | libata.h | 837 u64 qc_active; member 1251 extern int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active);
|