Searched refs:i2c_status (Results 1 – 7 of 7) sorted by relevance
52 enum i2c_status { enum82 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 …]
171 u32 i2c_status; in xlr_i2c_tx() local208 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() local260 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 …]
150 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()
332 unsigned int isr_status, i2c_status; in cdns_i2c_slave_isr() local342 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()
120 enum i2c_status { enum
261 u16 i2c_status = 0; in s5c73m3_check_status() local264 s5c73m3_read(state, REG_I2C_STATUS, &i2c_status); in s5c73m3_check_status()269 status, value, i2c_status, i2c_seq_status); in s5c73m3_check_status()
804 u8 i2c_status; member