Lines Matching refs:edma_err_cause

2560 static int mv_handle_dev_err(struct ata_port *ap, u32 edma_err_cause)  in mv_handle_dev_err()  argument
2569 if (!(edma_err_cause & EDMA_ERR_DEV)) in mv_handle_dev_err()
2571 edma_err_cause &= ~EDMA_ERR_IRQ_TRANSIENT; in mv_handle_dev_err()
2572 if (edma_err_cause & ~(EDMA_ERR_DEV | EDMA_ERR_SELF_DIS)) in mv_handle_dev_err()
2581 if (edma_err_cause & EDMA_ERR_SELF_DIS) { in mv_handle_dev_err()
2583 __func__, edma_err_cause, pp->pp_flags); in mv_handle_dev_err()
2593 if (!(edma_err_cause & EDMA_ERR_SELF_DIS)) { in mv_handle_dev_err()
2595 __func__, edma_err_cause, pp->pp_flags); in mv_handle_dev_err()
2636 u32 edma_err_cause, eh_freeze_mask, serr = 0; in mv_err_intr() local
2653 edma_err_cause = readl(port_mmio + EDMA_ERR_IRQ_CAUSE); in mv_err_intr()
2654 if (IS_GEN_IIE(hpriv) && (edma_err_cause & EDMA_ERR_TRANS_IRQ_7)) { in mv_err_intr()
2658 writelfl(~edma_err_cause, port_mmio + EDMA_ERR_IRQ_CAUSE); in mv_err_intr()
2660 if (edma_err_cause & EDMA_ERR_DEV) { in mv_err_intr()
2665 if (mv_handle_dev_err(ap, edma_err_cause)) in mv_err_intr()
2672 edma_err_cause, pp->pp_flags); in mv_err_intr()
2674 if (IS_GEN_IIE(hpriv) && (edma_err_cause & EDMA_ERR_TRANS_IRQ_7)) { in mv_err_intr()
2677 u32 ec = edma_err_cause & in mv_err_intr()
2688 if (edma_err_cause & EDMA_ERR_DEV) { in mv_err_intr()
2693 if (edma_err_cause & (EDMA_ERR_D_PAR | EDMA_ERR_PRD_PAR | in mv_err_intr()
2700 if (edma_err_cause & (EDMA_ERR_DEV_DCON | EDMA_ERR_DEV_CON)) { in mv_err_intr()
2702 ata_ehi_push_desc(ehi, edma_err_cause & EDMA_ERR_DEV_DCON ? in mv_err_intr()
2713 if (edma_err_cause & EDMA_ERR_SELF_DIS_5) { in mv_err_intr()
2719 if (edma_err_cause & EDMA_ERR_SELF_DIS) { in mv_err_intr()
2723 if (edma_err_cause & EDMA_ERR_SERR) { in mv_err_intr()
2751 } else if (edma_err_cause & eh_freeze_mask) { in mv_err_intr()