Searched refs:done_mask (Results 1 – 4 of 4) sorted by relevance
1219 u32 hstatus, done_mask = 0; in sata_fsl_host_intr() local1230 done_mask = ioread32(hcr_base + CC); in sata_fsl_host_intr()1272 done_mask, in sata_fsl_host_intr()1278 if (done_mask & ap->qc_active) { in sata_fsl_host_intr()1281 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()1285 done_mask, ioread32(hcr_base + CA), in sata_fsl_host_intr()1289 if (done_mask & (1 << i)) in sata_fsl_host_intr()1295 ata_qc_complete_multiple(ap, ap->qc_active ^ done_mask); in sata_fsl_host_intr()1312 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()
999 u32 done_mask = 0; in nv_adma_interrupt() local1017 done_mask |= 1 << pos; in nv_adma_interrupt()1022 ata_qc_complete_multiple(ap, ap->qc_active ^ done_mask); in nv_adma_interrupt()1799 u32 done_mask; in nv_swncq_ncq_stop() local1814 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()1821 else if (done_mask & (1 << i)) in nv_swncq_ncq_stop()2118 u32 done_mask; in nv_swncq_sdbfis() local2136 done_mask = pp->qc_active ^ sactive; in nv_swncq_sdbfis()2138 pp->qc_active &= ~done_mask; in nv_swncq_sdbfis()2139 pp->dhfis_bits &= ~done_mask; in nv_swncq_sdbfis()[all …]
5081 u32 done_mask; in ata_qc_complete_multiple() local5083 done_mask = ap->qc_active ^ qc_active; in ata_qc_complete_multiple()5085 if (unlikely(done_mask & qc_active)) { in ata_qc_complete_multiple()5091 while (done_mask) { in ata_qc_complete_multiple()5093 unsigned int tag = __ffs(done_mask); in ata_qc_complete_multiple()5100 done_mask &= ~(1 << tag); in ata_qc_complete_multiple()
2822 u32 done_mask = 0; in mv_process_crpb_entries() local2844 done_mask |= 1 << tag; in mv_process_crpb_entries()2849 ata_qc_complete_multiple(ap, ap->qc_active ^ done_mask); in mv_process_crpb_entries()