Searched refs:oc_setreg (Results 1 - 1 of 1) sorted by relevance
/u-boot/drivers/i2c/ |
H A D | ocores_i2c.c | 137 static inline void oc_setreg(struct ocores_i2c_bus *i2c, int reg, u8 value) function 158 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); 165 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); 175 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); 196 oc_setreg(i2c, OCI2C_DATA, addr); 197 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); 204 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); 210 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len - 1) ? 213 oc_setreg(i2c, OCI2C_DATA, msg->buf[i2c->pos++]); 214 oc_setreg(i2 [all...] |
Completed in 49 milliseconds