Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-axxia.c102 int msg_err; member
242 idev->msg_err = -EPROTO; in axxia_i2c_empty_rx_fifo()
303 idev->msg_err = -EAGAIN; in axxia_i2c_isr()
305 idev->msg_err = -ENXIO; in axxia_i2c_isr()
307 idev->msg_err = -EIO; in axxia_i2c_isr()
328 idev->msg_err = -ETIMEDOUT; in axxia_i2c_isr()
393 if (idev->msg_err) in axxia_i2c_xfer_msg()
412 idev->msg_err = -ETIMEDOUT; in axxia_i2c_xfer_msg()
418 if (unlikely(idev->msg_err) && idev->msg_err != -ENXIO && in axxia_i2c_xfer_msg()
419 idev->msg_err != -ETIMEDOUT) in axxia_i2c_xfer_msg()
[all …]
Di2c-bcm2835.c67 u32 msg_err; member
124 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()
184 if (likely(!i2c_dev->msg_err)) in bcm2835_i2c_xfer_msg()
187 if ((i2c_dev->msg_err & BCM2835_I2C_S_ERR) && in bcm2835_i2c_xfer_msg()
191 dev_err(i2c_dev->dev, "i2c transfer failed: %x\n", i2c_dev->msg_err); in bcm2835_i2c_xfer_msg()
193 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) in bcm2835_i2c_xfer_msg()
Di2c-xlp9xx.c87 u32 msg_err; member
169 priv->msg_err = status; in xlp9xx_i2c_isr()
234 priv->msg_err = 0; in xlp9xx_i2c_xfer_msg()
299 if (priv->msg_err) { in xlp9xx_i2c_xfer_msg()
300 dev_dbg(priv->dev, "transfer error %x!\n", priv->msg_err); in xlp9xx_i2c_xfer_msg()
301 if (priv->msg_err & XLP9XX_I2C_INTEN_BUSERR) in xlp9xx_i2c_xfer_msg()
Di2c-tegra.c180 int msg_err; member
501 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
512 i2c_dev->msg_err |= I2C_ERR_NO_ACK; in tegra_i2c_isr()
514 i2c_dev->msg_err |= I2C_ERR_ARBITRATION_LOST; in tegra_i2c_isr()
568 i2c_dev->msg_err = I2C_ERR_NONE; in tegra_i2c_xfer_msg()
625 i2c_dev->msg_err); in tegra_i2c_xfer_msg()
627 if (likely(i2c_dev->msg_err == I2C_ERR_NONE)) in tegra_i2c_xfer_msg()
635 if (i2c_dev->msg_err == I2C_ERR_NO_ACK) in tegra_i2c_xfer_msg()
639 if (i2c_dev->msg_err == I2C_ERR_NO_ACK) { in tegra_i2c_xfer_msg()
Di2c-designware-core.c473 dev->msg_err = -EINVAL; in i2c_dw_xfer_msg()
480 dev->msg_err = -EINVAL; in i2c_dw_xfer_msg()
551 if (dev->msg_err) in i2c_dw_xfer_msg()
638 dev->msg_err = 0; in i2c_dw_xfer()
676 if (dev->msg_err) { in i2c_dw_xfer()
677 ret = dev->msg_err; in i2c_dw_xfer()
814 if ((stat & (DW_IC_INTR_TX_ABRT | DW_IC_INTR_STOP_DET)) || dev->msg_err) in i2c_dw_isr()
Di2c-designware-core.h89 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.c1360 goto msg_err; in fm10k_mbx_process()
1380 msg_err: in fm10k_mbx_process()