Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-ocores.c150 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg() function
173 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); in ocores_process()
181 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
191 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
212 oc_setreg(i2c, OCI2C_DATA, addr); in ocores_process()
213 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); in ocores_process()
220 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
226 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? in ocores_process()
229 oc_setreg(i2c, OCI2C_DATA, msg->buf[i2c->pos++]); in ocores_process()
230 oc_setreg(i2 in ocores_process()
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-ocores.c149 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg() function
172 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); in ocores_process()
180 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
190 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
211 oc_setreg(i2c, OCI2C_DATA, addr); in ocores_process()
212 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); in ocores_process()
219 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process()
225 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? in ocores_process()
228 oc_setreg(i2c, OCI2C_DATA, msg->buf[i2c->pos++]); in ocores_process()
229 oc_setreg(i2 in ocores_process()
[all...]

Completed in 2 milliseconds