Home
last modified time | relevance | path

Searched refs:msg_err (Results 1 – 8 of 8) sorted by relevance

/drivers/i2c/busses/
Di2c-bcm2835.c68 u32 msg_err; member
125 i2c_dev->msg_err = err; in bcm2835_i2c_isr()
137 i2c_dev->msg_err = BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
139 i2c_dev->msg_err = 0; in bcm2835_i2c_isr()
190 if (likely(!i2c_dev->msg_err)) in bcm2835_i2c_xfer_msg()
193 if ((i2c_dev->msg_err & BCM2835_I2C_S_ERR) && in bcm2835_i2c_xfer_msg()
197 dev_err(i2c_dev->dev, "i2c transfer failed: %x\n", i2c_dev->msg_err); in bcm2835_i2c_xfer_msg()
199 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) in bcm2835_i2c_xfer_msg()
Di2c-axxia.c103 int msg_err; member
243 idev->msg_err = -EPROTO; in axxia_i2c_empty_rx_fifo()
314 idev->msg_err = -EAGAIN; in axxia_i2c_isr()
316 idev->msg_err = -ENXIO; in axxia_i2c_isr()
318 idev->msg_err = -EIO; in axxia_i2c_isr()
345 idev->msg_err = 0; in axxia_i2c_xfer_msg()
399 idev->msg_err = -ETIMEDOUT; in axxia_i2c_xfer_msg()
401 if (idev->msg_err == -ETIMEDOUT) in axxia_i2c_xfer_msg()
404 if (unlikely(idev->msg_err) && idev->msg_err != -ENXIO) in axxia_i2c_xfer_msg()
407 return idev->msg_err; in axxia_i2c_xfer_msg()
Di2c-xlp9xx.c88 u32 msg_err; member
170 priv->msg_err = status; in xlp9xx_i2c_isr()
235 priv->msg_err = 0; in xlp9xx_i2c_xfer_msg()
300 if (priv->msg_err) { in xlp9xx_i2c_xfer_msg()
301 dev_dbg(priv->dev, "transfer error %x!\n", priv->msg_err); in xlp9xx_i2c_xfer_msg()
302 if (priv->msg_err & XLP9XX_I2C_INTEN_BUSERR) in xlp9xx_i2c_xfer_msg()
Di2c-tegra.c191 int msg_err; member
572 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
584 i2c_dev->msg_err |= I2C_ERR_NO_ACK; in tegra_i2c_isr()
586 i2c_dev->msg_err |= I2C_ERR_ARBITRATION_LOST; in tegra_i2c_isr()
643 i2c_dev->msg_err = I2C_ERR_NONE; in tegra_i2c_xfer_msg()
706 i2c_dev->msg_err); in tegra_i2c_xfer_msg()
708 if (likely(i2c_dev->msg_err == I2C_ERR_NONE)) in tegra_i2c_xfer_msg()
717 if (i2c_dev->msg_err == I2C_ERR_NO_ACK) in tegra_i2c_xfer_msg()
721 if (i2c_dev->msg_err == I2C_ERR_NO_ACK) { in tegra_i2c_xfer_msg()
Di2c-designware-core.c545 dev->msg_err = -EINVAL; in i2c_dw_xfer_msg()
552 dev->msg_err = -EINVAL; in i2c_dw_xfer_msg()
623 if (dev->msg_err) in i2c_dw_xfer_msg()
709 dev->msg_err = 0; in i2c_dw_xfer()
744 if (dev->msg_err) { in i2c_dw_xfer()
745 ret = dev->msg_err; in i2c_dw_xfer()
885 if ((stat & (DW_IC_INTR_TX_ABRT | DW_IC_INTR_STOP_DET)) || dev->msg_err) in i2c_dw_isr()
Di2c-designware-core.h94 int msg_err; member
/drivers/gpu/drm/msm/edp/
Dedp_aux.c30 bool msg_err; member
144 aux->msg_err = false; in edp_aux_transfer()
167 if (!aux->msg_err) { in edp_aux_transfer()
240 aux->msg_err = true; in msm_edp_aux_irq()
242 aux->msg_err = false; in msm_edp_aux_irq()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c1368 goto msg_err; in fm10k_mbx_process()
1388 msg_err: in fm10k_mbx_process()