Searched refs:done_mask (Results 1 – 4 of 4) sorted by relevance
1110 u32 hstatus, done_mask = 0; in sata_fsl_host_intr() local1130 done_mask = ioread32(hcr_base + CC); in sata_fsl_host_intr()1134 done_mask, in sata_fsl_host_intr()1140 if (done_mask & ap->qc_active) { in sata_fsl_host_intr()1143 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()1147 done_mask, ioread32(hcr_base + CA), in sata_fsl_host_intr()1151 if (done_mask & (1 << i)) in sata_fsl_host_intr()1157 ata_qc_complete_multiple(ap, ap->qc_active ^ done_mask); in sata_fsl_host_intr()1174 iowrite32(done_mask, hcr_base + CC); in sata_fsl_host_intr()
1001 u32 done_mask = 0; in nv_adma_interrupt() local1019 done_mask |= 1 << pos; in nv_adma_interrupt()1024 ata_qc_complete_multiple(ap, ap->qc_active ^ done_mask); in nv_adma_interrupt()1800 u32 done_mask; in nv_swncq_ncq_stop() local1816 done_mask = pp->qc_active ^ sactive; in nv_swncq_ncq_stop()1823 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 …]
4946 u32 done_mask; in ata_qc_complete_multiple() local4948 done_mask = ap->qc_active ^ qc_active; in ata_qc_complete_multiple()4950 if (unlikely(done_mask & qc_active)) { in ata_qc_complete_multiple()4956 while (done_mask) { in ata_qc_complete_multiple()4958 unsigned int tag = __ffs(done_mask); in ata_qc_complete_multiple()4965 done_mask &= ~(1 << tag); in ata_qc_complete_multiple()
2779 u32 done_mask = 0; in mv_process_crpb_entries() local2801 done_mask |= 1 << tag; in mv_process_crpb_entries()2806 ata_qc_complete_multiple(ap, ap->qc_active ^ done_mask); in mv_process_crpb_entries()