Home
last modified time | relevance | path

Searched refs:err_status (Results 1 – 20 of 20) sorted by relevance

/drivers/mmc/host/
Dmvsdio.c242 u32 err_status) in mvsd_finish_cmd() argument
273 if (err_status & MVSD_ERR_CMD_TIMEOUT) { in mvsd_finish_cmd()
275 } else if (err_status & (MVSD_ERR_CMD_CRC | MVSD_ERR_CMD_ENDBIT | in mvsd_finish_cmd()
279 err_status &= ~(MVSD_ERR_CMD_TIMEOUT | MVSD_ERR_CMD_CRC | in mvsd_finish_cmd()
283 return err_status; in mvsd_finish_cmd()
287 u32 err_status) in mvsd_finish_data() argument
300 if (err_status & MVSD_ERR_DATA_TIMEOUT) in mvsd_finish_data()
302 else if (err_status & (MVSD_ERR_DATA_CRC | MVSD_ERR_DATA_ENDBIT)) in mvsd_finish_data()
304 else if (err_status & MVSD_ERR_XFER_SIZE) in mvsd_finish_data()
306 err_status &= ~(MVSD_ERR_DATA_TIMEOUT | MVSD_ERR_DATA_CRC | in mvsd_finish_data()
[all …]
/drivers/rapidio/
Drio.c783 static int rio_clr_err_stopped(struct rio_dev *rdev, u32 pnum, u32 err_status) in rio_clr_err_stopped() argument
789 if (err_status == 0) in rio_clr_err_stopped()
792 &err_status); in rio_clr_err_stopped()
794 if (err_status & RIO_PORT_N_ERR_STS_PW_OUT_ES) { in rio_clr_err_stopped()
846 &err_status); in rio_clr_err_stopped()
847 pr_debug("RIO_EM: SP%d_ERR_STS_CSR=0x%08x\n", pnum, err_status); in rio_clr_err_stopped()
850 if ((err_status & RIO_PORT_N_ERR_STS_PW_INP_ES) && nextdev) { in rio_clr_err_stopped()
858 &err_status); in rio_clr_err_stopped()
859 pr_debug("RIO_EM: SP%d_ERR_STS_CSR=0x%08x\n", pnum, err_status); in rio_clr_err_stopped()
862 return (err_status & (RIO_PORT_N_ERR_STS_PW_OUT_ES | in rio_clr_err_stopped()
[all …]
/drivers/net/can/
Dti_hecc.c661 int err_status) in ti_hecc_error() argument
711 if ((int_status & HECC_CANGIF_BOIF) || (err_status & HECC_CANES_BO)) { in ti_hecc_error()
721 if (err_status & HECC_BUS_ERROR) { in ti_hecc_error()
725 if (err_status & HECC_CANES_FE) { in ti_hecc_error()
729 if (err_status & HECC_CANES_BE) { in ti_hecc_error()
733 if (err_status & HECC_CANES_SE) { in ti_hecc_error()
737 if (err_status & HECC_CANES_CRCE) { in ti_hecc_error()
742 if (err_status & HECC_CANES_ACKE) { in ti_hecc_error()
761 u32 mbxno, mbx_mask, int_status, err_status; in ti_hecc_interrupt() local
770 err_status = hecc_read(priv, HECC_CANES); in ti_hecc_interrupt()
[all …]
Dxilinx_can.c545 u32 err_status, status, txerr = 0, rxerr = 0; in xcan_err_interrupt() local
549 err_status = priv->read_reg(priv, XCAN_ESR_OFFSET); in xcan_err_interrupt()
550 priv->write_reg(priv, XCAN_ESR_OFFSET, err_status); in xcan_err_interrupt()
616 if (err_status & XCAN_ESR_ACKER_MASK) { in xcan_err_interrupt()
625 if (err_status & XCAN_ESR_BERR_MASK) { in xcan_err_interrupt()
634 if (err_status & XCAN_ESR_STER_MASK) { in xcan_err_interrupt()
643 if (err_status & XCAN_ESR_FMER_MASK) { in xcan_err_interrupt()
652 if (err_status & XCAN_ESR_CRCER_MASK) { in xcan_err_interrupt()
/drivers/i2c/busses/
Di2c-sirf.c79 int err_status; /* 1 indicates an error on bus */ member
147 siic->err_status = SIRFSOC_I2C_ERR_NOACK; in i2c_sirfsoc_irq()
217 siic->err_status = SIRFSOC_I2C_ERR_TIMEOUT; in i2c_sirfsoc_xfer_msg()
226 if (siic->err_status == SIRFSOC_I2C_ERR_TIMEOUT) { in i2c_sirfsoc_xfer_msg()
232 return siic->err_status ? -EAGAIN : 0; in i2c_sirfsoc_xfer_msg()
252 siic->err_status = 0; in i2c_sirfsoc_xfer()
Di2c-cadence.c142 int err_status; member
288 id->err_status = isr_status & CDNS_I2C_IXR_ERR_INTR_MASK; in cdns_i2c_isr()
289 if (id->err_status) in cdns_i2c_isr()
453 id->err_status = 0; in cdns_i2c_process_msg()
487 if (id->err_status & CDNS_I2C_IXR_ARB_LOST) in cdns_i2c_process_msg()
537 if (id->err_status) { in cdns_i2c_master_xfer()
540 if (id->err_status & CDNS_I2C_IXR_NACK) in cdns_i2c_master_xfer()
/drivers/rapidio/switches/
Dtsi57x.c218 u32 intstat, err_status; in tsi57x_em_handler() local
225 &err_status); in tsi57x_em_handler()
227 if ((err_status & RIO_PORT_N_ERR_STS_PORT_OK) && in tsi57x_em_handler()
228 (err_status & (RIO_PORT_N_ERR_STS_PW_OUT_ES | in tsi57x_em_handler()
/drivers/net/ethernet/amd/
Dariadne.c319 int err_status = priv->tx_ring[entry]->TMD3; in ariadne_interrupt() local
321 if (err_status & EF_RTRY) in ariadne_interrupt()
323 if (err_status & EF_LCAR) in ariadne_interrupt()
325 if (err_status & EF_LCOL) in ariadne_interrupt()
327 if (err_status & EF_UFLO) { in ariadne_interrupt()
Datarilance.c895 int err_status = MEM->tx_head[entry].misc; in lance_interrupt() local
897 if (err_status & TMD3_RTRY) dev->stats.tx_aborted_errors++; in lance_interrupt()
898 if (err_status & TMD3_LCAR) dev->stats.tx_carrier_errors++; in lance_interrupt()
899 if (err_status & TMD3_LCOL) dev->stats.tx_window_errors++; in lance_interrupt()
900 if (err_status & TMD3_UFLO) { in lance_interrupt()
Dlance.c1062 int err_status = lp->tx_ring[entry].misc; in lance_interrupt() local
1064 if (err_status & 0x0400) in lance_interrupt()
1066 if (err_status & 0x0800) in lance_interrupt()
1068 if (err_status & 0x1000) in lance_interrupt()
1070 if (err_status & 0x4000) { in lance_interrupt()
Dpcnet32.c1263 int err_status = le32_to_cpu(lp->tx_ring[entry].misc); in pcnet32_tx() local
1267 status, err_status); in pcnet32_tx()
1268 if (err_status & 0x04000000) in pcnet32_tx()
1270 if (err_status & 0x08000000) in pcnet32_tx()
1272 if (err_status & 0x10000000) in pcnet32_tx()
1275 if (err_status & 0x40000000) { in pcnet32_tx()
1283 if (err_status & 0x40000000) { in pcnet32_tx()
/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c945 goto err_status; in exynos_drm_ipp_check_valid()
952 goto err_status; in exynos_drm_ipp_check_valid()
956 goto err_status; in exynos_drm_ipp_check_valid()
960 goto err_status; in exynos_drm_ipp_check_valid()
964 goto err_status; in exynos_drm_ipp_check_valid()
968 goto err_status; in exynos_drm_ipp_check_valid()
973 err_status: in exynos_drm_ipp_check_valid()
/drivers/spi/
Dspi-tle62x0.c268 goto err_status; in tle62x0_probe()
289 err_status: in tle62x0_probe()
/drivers/dma/
Dintel_mid_dma.c1021 u32 tfr_status, err_status; in intel_mid_dma_interrupt() local
1025 err_status = ioread32(mid->dma_base + RAW_ERR); in intel_mid_dma_interrupt()
1026 if (!tfr_status && !err_status) in intel_mid_dma_interrupt()
1040 err_status &= mid->intr_mask; in intel_mid_dma_interrupt()
1041 if (err_status) { in intel_mid_dma_interrupt()
1042 iowrite32((err_status << INT_MASK_WE), in intel_mid_dma_interrupt()
Dpch_dma.c107 unsigned long err_status; member
705 if (test_and_clear_bit(0, &pd_chan->err_status)) in pdc_tasklet()
733 set_bit(0, &pd_chan->err_status); in pd_irq()
741 set_bit(0, &pd_chan->err_status); in pd_irq()
/drivers/usb/usbip/
Dstub_dev.c128 goto err_status; in stub_add_files()
144 err_status: in stub_add_files()
/drivers/char/
Dmbcs.h353 union cm_error_status err_status; member
/drivers/scsi/bfa/
Dbfa_defs.h1168 u32 err_status; /* error status reg */ member
Dbfa_ioc.c4803 res->err_status = swab32(res->err_status); in bfa_diag_memtest_done()
4809 bfa_trc(diag, res->err_status); in bfa_diag_memtest_done()
/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c882 goto err_status; in uasp_set_alt()
893 err_status: in uasp_set_alt()