Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/ata/
Dlibata-sata.c652 u64 done_mask, ap_qc_active = ap->qc_active; in ata_qc_complete_multiple() local
665 done_mask = ap_qc_active ^ qc_active; in ata_qc_complete_multiple()
667 if (unlikely(done_mask & qc_active)) { in ata_qc_complete_multiple()
674 ap->ops->qc_ncq_fill_rtf(ap, done_mask); in ata_qc_complete_multiple()
676 while (done_mask) { in ata_qc_complete_multiple()
678 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
685 done_mask &= ~(1ULL << tag); in ata_qc_complete_multiple()
Dsata_fsl.c1183 u32 hstatus, done_mask = 0; in sata_fsl_host_intr() local
1194 done_mask = ioread32(hcr_base + CC); in sata_fsl_host_intr()
1235 done_mask, in sata_fsl_host_intr()
1241 if (done_mask & ap->qc_active) { in sata_fsl_host_intr()
1244 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()
1247 done_mask, ioread32(hcr_base + CA), in sata_fsl_host_intr()
1251 if (done_mask & (1 << i)) in sata_fsl_host_intr()
1256 ata_qc_complete_multiple(ap, ata_qc_get_active(ap) ^ done_mask); in sata_fsl_host_intr()
1273 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()
Dsata_nv.c971 u32 done_mask = 0; in nv_adma_interrupt() local
989 done_mask |= 1 << pos; in nv_adma_interrupt()
994 ata_qc_complete_multiple(ap, ata_qc_get_active(ap) ^ done_mask); in nv_adma_interrupt()
1752 u32 done_mask; in nv_swncq_ncq_stop() local
1767 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()
1774 else if (done_mask & (1 << i)) in nv_swncq_ncq_stop()
2066 u32 done_mask; in nv_swncq_sdbfis() local
2085 done_mask = pp->qc_active ^ sactive; in nv_swncq_sdbfis()
2087 pp->qc_active &= ~done_mask; in nv_swncq_sdbfis()
2088 pp->dhfis_bits &= ~done_mask; in nv_swncq_sdbfis()
[all …]
Dlibahci.c59 static void ahci_qc_ncq_fill_rtf(struct ata_port *ap, u64 done_mask);
2136 static void ahci_qc_ncq_fill_rtf(struct ata_port *ap, u64 done_mask) in ahci_qc_ncq_fill_rtf() argument
2160 while (done_mask) { in ahci_qc_ncq_fill_rtf()
2162 unsigned int tag = __ffs64(done_mask); in ahci_qc_ncq_fill_rtf()
2170 done_mask &= ~(1ULL << tag); in ahci_qc_ncq_fill_rtf()
2181 while (done_mask) { in ahci_qc_ncq_fill_rtf()
2183 unsigned int tag = __ffs64(done_mask); in ahci_qc_ncq_fill_rtf()
2194 done_mask &= ~(1ULL << tag); in ahci_qc_ncq_fill_rtf()
Dsata_mv.c2802 u32 done_mask = 0; in mv_process_crpb_entries() local
2824 done_mask |= 1 << tag; in mv_process_crpb_entries()
2829 ata_qc_complete_multiple(ap, ata_qc_get_active(ap) ^ done_mask); in mv_process_crpb_entries()
/linux-6.6.21/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7110.c261 u32 done_mask = info->doen_mask << shift; in jh7110_set_gpiomux() local
286 doen |= readl_relaxed(reg_doen) & ~done_mask; in jh7110_set_gpiomux()
/linux-6.6.21/include/linux/
Dlibata.h898 void (*qc_ncq_fill_rtf)(struct ata_port *ap, u64 done_mask);