Home
last modified time | relevance | path

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

/Linux-v5.4/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.c62 u32 msg_err; member
283 i2c_dev->msg_err = err; in bcm2835_i2c_isr()
296 i2c_dev->msg_err = BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
298 i2c_dev->msg_err = 0; in bcm2835_i2c_isr()
304 i2c_dev->msg_err = val | BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
320 i2c_dev->msg_err = val | BCM2835_I2C_S_LEN; in bcm2835_i2c_isr()
371 if (!i2c_dev->msg_err) in bcm2835_i2c_xfer()
374 dev_dbg(i2c_dev->dev, "i2c transfer failed: %x\n", i2c_dev->msg_err); in bcm2835_i2c_xfer()
376 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) in bcm2835_i2c_xfer()
Di2c-altera.c78 int msg_err; member
258 idev->msg_err = -EAGAIN; in altr_i2c_isr()
262 idev->msg_err = -ENXIO; in altr_i2c_isr()
318 idev->msg_err = 0; in altr_i2c_xfer_msg()
349 idev->msg_err = -ETIMEDOUT; in altr_i2c_xfer_msg()
355 return idev->msg_err; in altr_i2c_xfer_msg()
Di2c-xlp9xx.c99 u32 msg_err; member
248 priv->msg_err = status; in xlp9xx_i2c_isr()
333 priv->msg_err = 0; in xlp9xx_i2c_xfer_msg()
404 if (priv->msg_err & XLP9XX_I2C_INTEN_BUSERR) { in xlp9xx_i2c_xfer_msg()
405 dev_dbg(priv->dev, "transfer error %x!\n", priv->msg_err); in xlp9xx_i2c_xfer_msg()
408 } else if (priv->msg_err & XLP9XX_I2C_INTEN_NACKADDR) { in xlp9xx_i2c_xfer_msg()
Di2c-tegra.c266 int msg_err; member
834 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
846 i2c_dev->msg_err |= I2C_ERR_NO_ACK; in tegra_i2c_isr()
848 i2c_dev->msg_err |= I2C_ERR_ARBITRATION_LOST; in tegra_i2c_isr()
867 i2c_dev->msg_err |= I2C_ERR_RX_BUFFER_OVERFLOW; in tegra_i2c_isr()
900 i2c_dev->msg_err |= I2C_ERR_UNKNOWN_INTERRUPT; in tegra_i2c_isr()
1058 i2c_dev->msg_err = I2C_ERR_NONE; in tegra_i2c_xfer_msg()
1190 if (i2c_dev->msg_read && i2c_dev->msg_err == I2C_ERR_NONE) { in tegra_i2c_xfer_msg()
1199 if (i2c_dev->msg_err != I2C_ERR_NONE) in tegra_i2c_xfer_msg()
1218 i2c_dev->msg_err); in tegra_i2c_xfer_msg()
[all …]
Di2c-designware-master.c263 dev->msg_err = -EINVAL; in i2c_dw_xfer_msg()
346 if (dev->msg_err) in i2c_dw_xfer_msg()
440 dev->msg_err = 0; in i2c_dw_xfer()
476 if (dev->msg_err) { in i2c_dw_xfer()
477 ret = dev->msg_err; in i2c_dw_xfer()
607 if ((stat & (DW_IC_INTR_TX_ABRT | DW_IC_INTR_STOP_DET)) || dev->msg_err) in i2c_dw_irq_handler_master()
Di2c-designware-core.h245 int msg_err; member
Di2c-designware-slave.c83 dev->msg_err = 0; in i2c_dw_reg_slave()
/Linux-v5.4/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()
232 aux->msg_err = true; in msm_edp_aux_irq()
234 aux->msg_err = false; in msm_edp_aux_irq()
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c1352 goto msg_err; in fm10k_mbx_process()
1372 msg_err: in fm10k_mbx_process()