Home
last modified time | relevance | path

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

/Linux-v5.15/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.c63 u32 msg_err; member
284 i2c_dev->msg_err = err; in bcm2835_i2c_isr()
297 i2c_dev->msg_err = BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
299 i2c_dev->msg_err = 0; in bcm2835_i2c_isr()
305 i2c_dev->msg_err = val | BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
321 i2c_dev->msg_err = val | BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
372 if (!i2c_dev->msg_err) in bcm2835_i2c_xfer()
375 dev_dbg(i2c_dev->dev, "i2c transfer failed: %x\n", i2c_dev->msg_err); in bcm2835_i2c_xfer()
377 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.c279 int msg_err; member
875 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
882 i2c_dev->msg_err |= I2C_ERR_NO_ACK; in tegra_i2c_isr()
884 i2c_dev->msg_err |= I2C_ERR_ARBITRATION_LOST; in tegra_i2c_isr()
903 i2c_dev->msg_err |= I2C_ERR_RX_BUFFER_OVERFLOW; in tegra_i2c_isr()
937 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
1192 if (i2c_dev->msg_err == I2C_ERR_NONE) in tegra_i2c_error_recover()
1198 if (i2c_dev->msg_err == I2C_ERR_ARBITRATION_LOST) { in tegra_i2c_error_recover()
1205 if (i2c_dev->msg_err == I2C_ERR_NO_ACK) { in tegra_i2c_error_recover()
1230 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()
581 dev->msg_err = 0; in i2c_dw_xfer()
617 if (dev->msg_err) { in i2c_dw_xfer()
618 ret = dev->msg_err; in i2c_dw_xfer()
748 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.h259 int msg_err; member
/Linux-v5.15/drivers/gpu/drm/msm/edp/
Dedp_aux.c22 bool msg_err; member
136 aux->msg_err = false; in edp_aux_transfer()
159 if (!aux->msg_err) { in edp_aux_transfer()
233 aux->msg_err = true; in msm_edp_aux_irq()
235 aux->msg_err = false; in msm_edp_aux_irq()
/Linux-v5.15/drivers/vdpa/
Dvdpa.c353 goto msg_err; in vdpa_mgmtdev_fill()
363 goto msg_err; in vdpa_mgmtdev_fill()
369 msg_err: in vdpa_mgmtdev_fill()
506 goto msg_err; in vdpa_dev_fill()
514 goto msg_err; in vdpa_dev_fill()
516 goto msg_err; in vdpa_dev_fill()
518 goto msg_err; in vdpa_dev_fill()
520 goto msg_err; in vdpa_dev_fill()
522 goto msg_err; in vdpa_dev_fill()
527 msg_err: in vdpa_dev_fill()
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c1353 goto msg_err; in fm10k_mbx_process()
1373 msg_err: in fm10k_mbx_process()