| /linux/drivers/crypto/hisilicon/zip/ |
| H A D | dae_main.c | 208 u32 err_status; in hisi_dae_get_err_result() local 213 err_status = hisi_dae_get_hw_err_status(qm); in hisi_dae_get_err_result() 214 if (!err_status) in hisi_dae_get_err_result() 217 hisi_dae_log_hw_error(qm, err_status); in hisi_dae_get_err_result() 219 if (err_status & DAE_ERR_NFE_MASK) { in hisi_dae_get_err_result() 221 hisi_dae_disable_error_report(qm, err_status); in hisi_dae_get_err_result() 224 hisi_dae_clear_hw_err_status(qm, err_status); in hisi_dae_get_err_result() 233 u32 err_status; in hisi_dae_dev_is_abnormal() local 238 err_status = hisi_dae_get_hw_err_status(qm); in hisi_dae_dev_is_abnormal() 239 if (err_status & DAE_ERR_NFE_MASK) in hisi_dae_dev_is_abnormal()
|
| H A D | zip_main.c | 1233 u32 err_status; in hisi_zip_get_err_result() local 1236 err_status = hisi_zip_get_hw_err_status(qm); in hisi_zip_get_err_result() 1237 if (err_status) { in hisi_zip_get_err_result() 1238 if (err_status & qm->err_info.dev_err.ecc_2bits_mask) in hisi_zip_get_err_result() 1239 qm->err_status.is_dev_ecc_mbit = true; in hisi_zip_get_err_result() 1240 hisi_zip_log_hw_error(qm, err_status); in hisi_zip_get_err_result() 1242 if (err_status & qm->err_info.dev_err.reset_mask) { in hisi_zip_get_err_result() 1244 hisi_zip_disable_error_report(qm, err_status); in hisi_zip_get_err_result() 1247 hisi_zip_clear_hw_err_status(qm, err_status); in hisi_zip_get_err_result() 1262 u32 err_status; in hisi_zip_dev_is_abnormal() local [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | mvsdio.c | 242 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 299 if (err_status & MVSD_ERR_DATA_TIMEOUT) in mvsd_finish_data() 301 else if (err_status & (MVSD_ERR_DATA_CRC | MVSD_ERR_DATA_ENDBIT)) in mvsd_finish_data() 303 else if (err_status & MVSD_ERR_XFER_SIZE) in mvsd_finish_data() 305 err_status &= ~(MVSD_ERR_DATA_TIMEOUT | MVSD_ERR_DATA_CRC | in mvsd_finish_data() [all …]
|
| /linux/drivers/rapidio/ |
| H A D | rio.c | 1079 static int rio_clr_err_stopped(struct rio_dev *rdev, u32 pnum, u32 err_status) in rio_clr_err_stopped() argument 1085 if (err_status == 0) in rio_clr_err_stopped() 1088 &err_status); in rio_clr_err_stopped() 1090 if (err_status & RIO_PORT_N_ERR_STS_OUT_ES) { in rio_clr_err_stopped() 1143 &err_status); in rio_clr_err_stopped() 1144 pr_debug("RIO_EM: SP%d_ERR_STS_CSR=0x%08x\n", pnum, err_status); in rio_clr_err_stopped() 1147 if ((err_status & RIO_PORT_N_ERR_STS_INP_ES) && nextdev) { in rio_clr_err_stopped() 1154 &err_status); in rio_clr_err_stopped() 1155 pr_debug("RIO_EM: SP%d_ERR_STS_CSR=0x%08x\n", pnum, err_status); in rio_clr_err_stopped() 1158 return (err_status & (RIO_PORT_N_ERR_STS_OUT_ES | in rio_clr_err_stopped() [all …]
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_res.c | 271 u32 err_status; in snic_log_q_error() local 274 err_status = ioread32(&snic->wq[i].ctrl->error_status); in snic_log_q_error() 275 if (err_status) in snic_log_q_error() 279 err_status); in snic_log_q_error()
|
| /linux/drivers/net/can/ |
| H A D | ti_hecc.c | 593 int err_status) in ti_hecc_error() argument 601 if (err_status & HECC_BUS_ERROR) { in ti_hecc_error() 614 if (err_status & HECC_CANES_FE) in ti_hecc_error() 616 if (err_status & HECC_CANES_BE) in ti_hecc_error() 618 if (err_status & HECC_CANES_SE) in ti_hecc_error() 620 if (err_status & HECC_CANES_CRCE) in ti_hecc_error() 622 if (err_status & HECC_CANES_ACKE) in ti_hecc_error() 672 u32 mbxno, mbx_mask, int_status, err_status, stamp; in ti_hecc_interrupt() local 683 err_status = hecc_read(priv, HECC_CANES); in ti_hecc_interrupt() 684 if (unlikely(err_status & HECC_CANES_FLAGS)) in ti_hecc_interrupt() [all …]
|
| H A D | xilinx_can.c | 1093 u32 err_status; in xcan_err_interrupt() local 1095 err_status = priv->read_reg(priv, XCAN_ESR_OFFSET); in xcan_err_interrupt() 1096 priv->write_reg(priv, XCAN_ESR_OFFSET, err_status); in xcan_err_interrupt() 1146 if (err_status & XCAN_ESR_ACKER_MASK) { in xcan_err_interrupt() 1155 if (err_status & XCAN_ESR_BERR_MASK) { in xcan_err_interrupt() 1164 if (err_status & XCAN_ESR_STER_MASK) { in xcan_err_interrupt() 1173 if (err_status & XCAN_ESR_FMER_MASK) { in xcan_err_interrupt() 1182 if (err_status & XCAN_ESR_CRCER_MASK) { in xcan_err_interrupt()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-cadence.c | 201 int err_status; member 475 id->err_status = 0; in cdns_i2c_master_isr() 514 id->err_status |= CDNS_I2C_IXR_TO; in cdns_i2c_master_isr() 598 id->err_status |= isr_status & CDNS_I2C_IXR_ERR_INTR_MASK; in cdns_i2c_master_isr() 599 if (id->err_status) in cdns_i2c_master_isr() 633 id->err_status = 0; in cdns_i2c_error_check() 638 id->err_status = isr_status & CDNS_I2C_IXR_ERR_INTR_MASK; in cdns_i2c_error_check() 640 return !!id->err_status; in cdns_i2c_error_check() 938 id->err_status = 0; in cdns_i2c_process_msg() 996 if (id->err_status & CDNS_I2C_IXR_ARB_LOST) in cdns_i2c_process_msg() [all …]
|
| /linux/drivers/rapidio/switches/ |
| H A D | idt_gen3.c | 233 u32 err_status; in idtg3_em_handler() local 238 &err_status); in idtg3_em_handler() 241 if (err_status & RIO_PORT_N_ERR_STS_PORT_UNINIT) in idtg3_em_handler() 248 if (err_status & (RIO_PORT_N_ERR_STS_OUT_ES | in idtg3_em_handler()
|
| /linux/drivers/crypto/hisilicon/sec2/ |
| H A D | sec_main.c | 1146 u32 err_status; in sec_get_err_result() local 1148 err_status = sec_get_hw_err_status(qm); in sec_get_err_result() 1149 if (err_status) { in sec_get_err_result() 1150 if (err_status & qm->err_info.dev_err.ecc_2bits_mask) in sec_get_err_result() 1151 qm->err_status.is_dev_ecc_mbit = true; in sec_get_err_result() 1152 sec_log_hw_error(qm, err_status); in sec_get_err_result() 1154 if (err_status & qm->err_info.dev_err.reset_mask) { in sec_get_err_result() 1156 sec_disable_error_report(qm, err_status); in sec_get_err_result() 1159 sec_clear_hw_err_status(qm, err_status); in sec_get_err_result() 1169 u32 err_status; in sec_dev_is_abnormal() local [all …]
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_main.c | 1424 u32 err_status; in hpre_get_err_result() local 1426 err_status = hpre_get_hw_err_status(qm); in hpre_get_err_result() 1427 if (err_status) { in hpre_get_err_result() 1428 if (err_status & qm->err_info.dev_err.ecc_2bits_mask) in hpre_get_err_result() 1429 qm->err_status.is_dev_ecc_mbit = true; in hpre_get_err_result() 1430 hpre_log_hw_error(qm, err_status); in hpre_get_err_result() 1432 if (err_status & qm->err_info.dev_err.reset_mask) { in hpre_get_err_result() 1434 hpre_disable_error_report(qm, err_status); in hpre_get_err_result() 1437 hpre_clear_hw_err_status(qm, err_status); in hpre_get_err_result() 1447 u32 err_status; in hpre_dev_is_abnormal() local [all …]
|
| /linux/drivers/dma/dw-edma/ |
| H A D | dw-edma-v0-debugfs.c | 152 WR_REGISTER(dw, err_status), in dw_edma_debugfs_regs_wr() 214 RD_REGISTER(dw, err_status.lsb), in dw_edma_debugfs_regs_rd() 215 RD_REGISTER(dw, err_status.msb), in dw_edma_debugfs_regs_rd()
|
| /linux/drivers/net/ethernet/amd/ |
| H A D | ariadne.c | 319 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()
|
| H A D | atarilance.c | 896 int err_status = MEM->tx_head[entry].misc; in lance_interrupt() local 898 if (err_status & TMD3_RTRY) dev->stats.tx_aborted_errors++; in lance_interrupt() 899 if (err_status & TMD3_LCAR) dev->stats.tx_carrier_errors++; in lance_interrupt() 900 if (err_status & TMD3_LCOL) dev->stats.tx_window_errors++; in lance_interrupt() 901 if (err_status & TMD3_UFLO) { in lance_interrupt()
|
| H A D | lance.c | 1067 int err_status = lp->tx_ring[entry].misc; in lance_interrupt() local 1069 if (err_status & 0x0400) in lance_interrupt() 1071 if (err_status & 0x0800) in lance_interrupt() 1073 if (err_status & 0x1000) in lance_interrupt() 1075 if (err_status & 0x4000) { in lance_interrupt()
|
| H A D | pcnet32.c | 1322 int err_status = le32_to_cpu(lp->tx_ring[entry].misc); in pcnet32_tx() local 1326 status, err_status); in pcnet32_tx() 1327 if (err_status & 0x04000000) in pcnet32_tx() 1329 if (err_status & 0x08000000) in pcnet32_tx() 1331 if (err_status & 0x10000000) in pcnet32_tx() 1334 if (err_status & 0x40000000) { in pcnet32_tx() 1342 if (err_status & 0x40000000) { in pcnet32_tx()
|
| /linux/drivers/spi/ |
| H A D | spi-tle62x0.c | 265 goto err_status; in tle62x0_probe() 286 err_status: in tle62x0_probe()
|
| /linux/drivers/mfd/ |
| H A D | nct6694.c | 61 static int nct6694_response_err_handling(struct nct6694 *nct6694, unsigned char err_status) in nct6694_response_err_handling() argument 63 switch (err_status) { in nct6694_response_err_handling()
|
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim_blk.c | 166 goto err_status; in vdpasim_blk_handle_req() 299 err_status: in vdpasim_blk_handle_req()
|
| /linux/drivers/dma/ |
| H A D | pch_dma.c | 95 unsigned long err_status; member 680 if (test_and_clear_bit(0, &pd_chan->err_status)) in pdc_tasklet() 708 set_bit(0, &pd_chan->err_status); in pd_irq() 716 set_bit(0, &pd_chan->err_status); in pd_irq()
|
| H A D | tegra186-gpc-dma.c | 556 unsigned int err_status) in tegra_dma_chan_decode_error() argument 558 switch (TEGRA_GPCDMA_CHAN_ERR_TYPE(err_status)) { in tegra_dma_chan_decode_error() 592 err_status); in tegra_dma_chan_decode_error()
|
| /linux/drivers/crypto/hisilicon/ |
| H A D | qm.c | 521 u32 err_status; in qm_check_dev_error() local 526 err_status = qm_get_hw_error_status(pf_qm); in qm_check_dev_error() 527 if (err_status & pf_qm->err_info.qm_err.shutdown_mask) in qm_check_dev_error() 1581 qm->err_status.is_qm_ecc_mbit = true; in qm_hw_error_handle_v2() 1828 if (qm->err_status.is_qm_ecc_mbit || in qm_set_msi() 1829 qm->err_status.is_dev_ecc_mbit) in qm_set_msi() 4432 if (!qm->err_status.is_dev_ecc_mbit && in qm_dev_ecc_mbit_handle() 4433 qm->err_status.is_qm_ecc_mbit && in qm_dev_ecc_mbit_handle() 4436 } else if (qm->err_status.is_dev_ecc_mbit && in qm_dev_ecc_mbit_handle() 4437 !qm->err_status.is_qm_ecc_mbit && in qm_dev_ecc_mbit_handle() [all …]
|
| /linux/drivers/media/platform/renesas/ |
| H A D | rcar-csi2.c | 1942 u32 status, err_status; in rcsi2_irq() local 1945 err_status = rcsi2_read(priv, INTERRSTATE_REG); in rcsi2_irq() 1952 if (!err_status) in rcsi2_irq() 1955 rcsi2_write(priv, INTERRSTATE_REG, err_status); in rcsi2_irq()
|
| /linux/include/linux/ |
| H A D | hisi_acc_qm.h | 399 struct hisi_qm_err_status err_status; member
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_defs.h | 1161 u32 err_status; /* error status reg */ member
|