Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/i2c/busses/
Di2c-axxia.c141 int msg_err; member
284 idev->msg_err = -EPROTO; in axxia_i2c_empty_rx_fifo()
397 idev->msg_err = -EAGAIN; in axxia_i2c_isr()
399 idev->msg_err = -ENXIO; in axxia_i2c_isr()
401 idev->msg_err = -EIO; in axxia_i2c_isr()
424 idev->msg_err = -ETIMEDOUT; in axxia_i2c_isr()
505 if (idev->msg_err == -ENXIO) { in axxia_i2c_xfer_seq()
513 idev->msg_err = -ETIMEDOUT; in axxia_i2c_xfer_seq()
518 if (unlikely(idev->msg_err) && idev->msg_err != -ENXIO) in axxia_i2c_xfer_seq()
521 return idev->msg_err; in axxia_i2c_xfer_seq()
[all …]
Di2c-bcm2835.c68 u32 msg_err; member
289 i2c_dev->msg_err = err; in bcm2835_i2c_isr()
302 i2c_dev->msg_err = BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
304 i2c_dev->msg_err = 0; in bcm2835_i2c_isr()
310 i2c_dev->msg_err = val | BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
326 i2c_dev->msg_err = val | BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
377 if (!i2c_dev->msg_err) in bcm2835_i2c_xfer()
380 dev_dbg(i2c_dev->dev, "i2c transfer failed: %x\n", i2c_dev->msg_err); in bcm2835_i2c_xfer()
382 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) in bcm2835_i2c_xfer()
Di2c-altera.c78 int msg_err; member
253 idev->msg_err = -EAGAIN; in altr_i2c_isr()
257 idev->msg_err = -ENXIO; in altr_i2c_isr()
316 idev->msg_err = 0; in altr_i2c_xfer_msg()
349 idev->msg_err = -ETIMEDOUT; in altr_i2c_xfer_msg()
356 return idev->msg_err; in altr_i2c_xfer_msg()
Di2c-xlp9xx.c97 u32 msg_err; member
246 priv->msg_err = status; in xlp9xx_i2c_isr()
331 priv->msg_err = 0; in xlp9xx_i2c_xfer_msg()
402 if (priv->msg_err & XLP9XX_I2C_INTEN_BUSERR) { in xlp9xx_i2c_xfer_msg()
403 dev_dbg(priv->dev, "transfer error %x!\n", priv->msg_err); in xlp9xx_i2c_xfer_msg()
406 } else if (priv->msg_err & XLP9XX_I2C_INTEN_NACKADDR) { in xlp9xx_i2c_xfer_msg()
Di2c-tegra.c280 int msg_err; member
882 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
889 i2c_dev->msg_err |= I2C_ERR_NO_ACK; in tegra_i2c_isr()
891 i2c_dev->msg_err |= I2C_ERR_ARBITRATION_LOST; in tegra_i2c_isr()
910 i2c_dev->msg_err |= I2C_ERR_RX_BUFFER_OVERFLOW; in tegra_i2c_isr()
944 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
1199 if (i2c_dev->msg_err == I2C_ERR_NONE) in tegra_i2c_error_recover()
1205 if (i2c_dev->msg_err == I2C_ERR_ARBITRATION_LOST) { in tegra_i2c_error_recover()
1212 if (i2c_dev->msg_err == I2C_ERR_NO_ACK) { in tegra_i2c_error_recover()
1242 i2c_dev->msg_err = I2C_ERR_NONE; in tegra_i2c_xfer_msg()
[all …]
Di2c-designware-master.c388 dev->msg_err = -EINVAL; in i2c_dw_xfer_msg()
477 if (dev->msg_err) in i2c_dw_xfer_msg()
576 dev->msg_err = 0; in i2c_dw_xfer()
612 if (dev->msg_err) { in i2c_dw_xfer()
613 ret = dev->msg_err; in i2c_dw_xfer()
745 if (((stat & (DW_IC_INTR_TX_ABRT | DW_IC_INTR_STOP_DET)) || dev->msg_err) && in i2c_dw_irq_handler_master()
Di2c-designware-slave.c84 dev->msg_err = 0; in i2c_dw_reg_slave()
Di2c-designware-core.h265 int msg_err; member
/linux-5.19.10/drivers/vdpa/
Dvdpa.c476 goto msg_err; in vdpa_mgmtdev_fill()
487 goto msg_err; in vdpa_mgmtdev_fill()
492 goto msg_err; in vdpa_mgmtdev_fill()
497 goto msg_err; in vdpa_mgmtdev_fill()
503 msg_err: in vdpa_mgmtdev_fill()
684 goto msg_err; in vdpa_dev_fill()
694 goto msg_err; in vdpa_dev_fill()
696 goto msg_err; in vdpa_dev_fill()
698 goto msg_err; in vdpa_dev_fill()
700 goto msg_err; in vdpa_dev_fill()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c1353 goto msg_err; in fm10k_mbx_process()
1373 msg_err: in fm10k_mbx_process()