/openbmc/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 …]
|
/openbmc/qemu/hw/block/ |
H A D | virtio-blk.c | 387 uint8_t err_status; in virtio_blk_handle_discard_write_zeroes() local 402 err_status = VIRTIO_BLK_S_IOERR; in virtio_blk_handle_discard_write_zeroes() 409 err_status = VIRTIO_BLK_S_IOERR; in virtio_blk_handle_discard_write_zeroes() 418 err_status = VIRTIO_BLK_S_UNSUPP; in virtio_blk_handle_discard_write_zeroes() 441 err_status = VIRTIO_BLK_S_UNSUPP; in virtio_blk_handle_discard_write_zeroes() 455 return err_status; in virtio_blk_handle_discard_write_zeroes() 529 int8_t err_status = VIRTIO_BLK_S_OK; in virtio_blk_zone_report_complete() local 536 err_status = VIRTIO_BLK_S_ZONE_INVALID_CMD; in virtio_blk_zone_report_complete() 545 err_status = VIRTIO_BLK_S_ZONE_INVALID_CMD; in virtio_blk_zone_report_complete() 609 err_status = VIRTIO_BLK_S_ZONE_INVALID_CMD; in virtio_blk_zone_report_complete() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | pcnet.c | 487 u16 status, err_status; in pcnet_recv() local 497 err_status = status >> 8; in pcnet_recv() 499 if (err_status != 0x03) { /* There was an error. */ in pcnet_recv() 501 PCNET_DEBUG1(" (status=0x%x)", err_status); in pcnet_recv() 502 if (err_status & 0x20) in pcnet_recv() 504 if (err_status & 0x10) in pcnet_recv() 506 if (err_status & 0x08) in pcnet_recv() 508 if (err_status & 0x04) in pcnet_recv()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | sal.h | 521 u64 err_status : 1, member 533 u64 err_status; member 564 u64 err_status : 1, member 572 u64 err_status; member 597 u64 err_status : 1, member 602 u64 err_status; member 610 u64 err_status : 1, member 618 u64 err_status; member 629 u64 err_status : 1, member 637 u64 err_status; member
|
/openbmc/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()
|
/openbmc/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 …]
|
/openbmc/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 | 1031 u32 err_status; in xcan_err_interrupt() local 1033 err_status = priv->read_reg(priv, XCAN_ESR_OFFSET); in xcan_err_interrupt() 1034 priv->write_reg(priv, XCAN_ESR_OFFSET, err_status); in xcan_err_interrupt() 1084 if (err_status & XCAN_ESR_ACKER_MASK) { in xcan_err_interrupt() 1093 if (err_status & XCAN_ESR_BERR_MASK) { in xcan_err_interrupt() 1102 if (err_status & XCAN_ESR_STER_MASK) { in xcan_err_interrupt() 1111 if (err_status & XCAN_ESR_FMER_MASK) { in xcan_err_interrupt() 1120 if (err_status & XCAN_ESR_CRCER_MASK) { in xcan_err_interrupt()
|
/openbmc/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()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cadence.c | 198 int err_status; member 410 id->err_status = 0; in cdns_i2c_master_isr() 449 id->err_status |= CDNS_I2C_IXR_TO; in cdns_i2c_master_isr() 533 id->err_status |= isr_status & CDNS_I2C_IXR_ERR_INTR_MASK; in cdns_i2c_master_isr() 534 if (id->err_status) in cdns_i2c_master_isr() 760 id->err_status = 0; in cdns_i2c_process_msg() 802 if (id->err_status & CDNS_I2C_IXR_ARB_LOST) in cdns_i2c_process_msg() 904 if (id->err_status) { in cdns_i2c_master_xfer() 907 if (id->err_status & CDNS_I2C_IXR_NACK) { in cdns_i2c_master_xfer()
|
/openbmc/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec_main.c | 1031 u32 err_status; in sec_get_err_result() local 1033 err_status = sec_get_hw_err_status(qm); in sec_get_err_result() 1034 if (err_status) { in sec_get_err_result() 1035 if (err_status & qm->err_info.ecc_2bits_mask) in sec_get_err_result() 1036 qm->err_status.is_dev_ecc_mbit = true; in sec_get_err_result() 1037 sec_log_hw_error(qm, err_status); in sec_get_err_result() 1039 if (err_status & qm->err_info.dev_reset_mask) { in sec_get_err_result() 1041 sec_disable_error_report(qm, err_status); in sec_get_err_result() 1044 sec_clear_hw_err_status(qm, err_status); in sec_get_err_result()
|
/openbmc/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 1307 u32 err_status; in hpre_get_err_result() local 1309 err_status = hpre_get_hw_err_status(qm); in hpre_get_err_result() 1310 if (err_status) { in hpre_get_err_result() 1311 if (err_status & qm->err_info.ecc_2bits_mask) in hpre_get_err_result() 1312 qm->err_status.is_dev_ecc_mbit = true; in hpre_get_err_result() 1313 hpre_log_hw_error(qm, err_status); in hpre_get_err_result() 1315 if (err_status & qm->err_info.dev_reset_mask) { in hpre_get_err_result() 1317 hpre_disable_error_report(qm, err_status); in hpre_get_err_result() 1320 hpre_clear_hw_err_status(qm, err_status); in hpre_get_err_result()
|
/openbmc/linux/drivers/crypto/hisilicon/zip/ |
H A D | zip_main.c | 1111 u32 err_status; in hisi_zip_get_err_result() local 1113 err_status = hisi_zip_get_hw_err_status(qm); in hisi_zip_get_err_result() 1114 if (err_status) { in hisi_zip_get_err_result() 1115 if (err_status & qm->err_info.ecc_2bits_mask) in hisi_zip_get_err_result() 1116 qm->err_status.is_dev_ecc_mbit = true; in hisi_zip_get_err_result() 1117 hisi_zip_log_hw_error(qm, err_status); in hisi_zip_get_err_result() 1119 if (err_status & qm->err_info.dev_reset_mask) { in hisi_zip_get_err_result() 1121 hisi_zip_disable_error_report(qm, err_status); in hisi_zip_get_err_result() 1124 hisi_zip_clear_hw_err_status(qm, err_status); in hisi_zip_get_err_result()
|
/openbmc/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()
|
/openbmc/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 | 895 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()
|
H A D | lance.c | 1066 int err_status = lp->tx_ring[entry].misc; in lance_interrupt() local 1068 if (err_status & 0x0400) in lance_interrupt() 1070 if (err_status & 0x0800) in lance_interrupt() 1072 if (err_status & 0x1000) in lance_interrupt() 1074 if (err_status & 0x4000) { in lance_interrupt()
|
H A D | pcnet32.c | 1318 int err_status = le32_to_cpu(lp->tx_ring[entry].misc); in pcnet32_tx() local 1322 status, err_status); in pcnet32_tx() 1323 if (err_status & 0x04000000) in pcnet32_tx() 1325 if (err_status & 0x08000000) in pcnet32_tx() 1327 if (err_status & 0x10000000) in pcnet32_tx() 1330 if (err_status & 0x40000000) { in pcnet32_tx() 1338 if (err_status & 0x40000000) { in pcnet32_tx()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sf_dataflash.c | 613 goto err_status; in spi_dataflash_probe() 660 goto err_status; in spi_dataflash_probe() 665 err_status: in spi_dataflash_probe()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-tle62x0.c | 265 goto err_status; in tle62x0_probe() 286 err_status: in tle62x0_probe()
|
/openbmc/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()
|
/openbmc/linux/drivers/dma/ |
H A D | pch_dma.c | 95 unsigned long err_status; member 685 if (test_and_clear_bit(0, &pd_chan->err_status)) in pdc_tasklet() 713 set_bit(0, &pd_chan->err_status); in pd_irq() 721 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()
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 1491 qm->err_status.is_qm_ecc_mbit = true; in qm_hw_error_handle_v2() 1764 if (qm->err_status.is_qm_ecc_mbit || in qm_set_msi() 1765 qm->err_status.is_dev_ecc_mbit) in qm_set_msi() 4096 if (!qm->err_status.is_dev_ecc_mbit && in qm_dev_ecc_mbit_handle() 4097 qm->err_status.is_qm_ecc_mbit && in qm_dev_ecc_mbit_handle() 4100 } else if (qm->err_status.is_dev_ecc_mbit && in qm_dev_ecc_mbit_handle() 4101 !qm->err_status.is_qm_ecc_mbit && in qm_dev_ecc_mbit_handle() 4372 if (!qm->err_status.is_qm_ecc_mbit && in qm_restart_prepare() 4373 !qm->err_status.is_dev_ecc_mbit) in qm_restart_prepare() 4400 if (!qm->err_status.is_qm_ecc_mbit && in qm_restart_done() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-csi2.c | 1232 u32 status, err_status; in rcsi2_irq() local 1235 err_status = rcsi2_read(priv, INTERRSTATE_REG); in rcsi2_irq() 1242 if (!err_status) in rcsi2_irq() 1245 rcsi2_write(priv, INTERRSTATE_REG, err_status); in rcsi2_irq()
|