Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-ocores.c138 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg() function
161 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); in ocores_process()
169 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
179 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
200 oc_setreg(i2c, OCI2C_DATA, addr); in ocores_process()
201 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); in ocores_process()
208 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
214 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? in ocores_process()
217 oc_setreg(i2c, OCI2C_DATA, msg->buf[i2c->pos++]); in ocores_process()
218 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_WRITE); in ocores_process()
[all …]