Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-ocores.c58 #define OCI2C_CMD 4 /* write only */ macro
59 #define OCI2C_STATUS 4 /* read only, same address as OCI2C_CMD */
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()
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()
230 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_WRITE); in ocores_process()
263 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STO in ocores_process_timeout()
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-ocores.c58 #define OCI2C_CMD 4 /* write only */ macro
59 #define OCI2C_STATUS 4 /* read only, same address as OCI2C_CMD */
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()
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()
229 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_WRITE); in ocores_process()
262 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STO in ocores_process_timeout()
[all...]

Completed in 2 milliseconds