Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_fsl.c1184 u32 hstatus, done_mask = 0; in sata_fsl_host_intr() local
1195 done_mask = ioread32(hcr_base + CC); in sata_fsl_host_intr()
1236 done_mask, in sata_fsl_host_intr()
1242 if (done_mask & ap->qc_active) { in sata_fsl_host_intr()
1245 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()
1248 done_mask, ioread32(hcr_base + CA), in sata_fsl_host_intr()
1252 if (done_mask & (1 << i)) in sata_fsl_host_intr()
1257 ata_qc_complete_multiple(ap, ata_qc_get_active(ap) ^ done_mask); in sata_fsl_host_intr()
1274 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()
Dlibata-sata.c650 u64 done_mask, ap_qc_active = ap->qc_active; in ata_qc_complete_multiple() local
663 done_mask = ap_qc_active ^ qc_active; in ata_qc_complete_multiple()
665 if (unlikely(done_mask & qc_active)) { in ata_qc_complete_multiple()
671 while (done_mask) { in ata_qc_complete_multiple()
673 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
680 done_mask &= ~(1ULL << tag); in ata_qc_complete_multiple()
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 …]
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()