Home
last modified time | relevance | path

Searched refs:i2c_status (Results 1 – 7 of 7) sorted by relevance

/drivers/media/pci/saa7134/
Dsaa7134-i2c.c52 enum i2c_status { enum
82 static inline enum i2c_status i2c_get_status(struct saa7134_dev *dev) in i2c_get_status()
84 enum i2c_status status; in i2c_get_status()
92 enum i2c_status status) in i2c_set_status()
104 static inline int i2c_is_error(enum i2c_status status) in i2c_is_error()
119 static inline int i2c_is_idle(enum i2c_status status) in i2c_is_idle()
130 static inline int i2c_is_busy(enum i2c_status status) in i2c_is_busy()
144 enum i2c_status status; in i2c_is_busy_wait()
160 enum i2c_status status; in i2c_reset()
189 enum i2c_status status; in i2c_send_byte()
[all …]
/drivers/i2c/busses/
Di2c-xlr.c171 u32 i2c_status; in xlr_i2c_tx() local
208 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_tx()
210 if ((i2c_status & XLR_I2C_SDOEMPTY) && pos < len) { in xlr_i2c_tx()
218 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_tx()
224 if (i2c_status & XLR_I2C_ACK_ERR) in xlr_i2c_tx()
227 if (!xlr_i2c_busy(priv, i2c_status) && pos >= len) in xlr_i2c_tx()
237 u32 i2c_status; in xlr_i2c_rx() local
260 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_rx()
261 if (i2c_status & XLR_I2C_RXRDY) { in xlr_i2c_rx()
273 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_rx()
[all …]
Di2c-cros-ec-tunnel.c150 if (resp->i2c_status & EC_I2C_STATUS_TIMEOUT) in ec_i2c_parse_response()
152 else if (resp->i2c_status & EC_I2C_STATUS_NAK) in ec_i2c_parse_response()
154 else if (resp->i2c_status & EC_I2C_STATUS_ERROR) in ec_i2c_parse_response()
Di2c-cadence.c332 unsigned int isr_status, i2c_status; in cdns_i2c_slave_isr() local
342 i2c_status = cdns_i2c_readreg(CDNS_I2C_SR_OFFSET); in cdns_i2c_slave_isr()
345 if (i2c_status & CDNS_I2C_SR_RXRW) { in cdns_i2c_slave_isr()
Di2c-nomadik.c120 enum i2c_status { enum
/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c261 u16 i2c_status = 0; in s5c73m3_check_status() local
264 s5c73m3_read(state, REG_I2C_STATUS, &i2c_status); in s5c73m3_check_status()
269 status, value, i2c_status, i2c_seq_status); in s5c73m3_check_status()
/drivers/scsi/esas2r/
Datioctl.h804 u8 i2c_status; member