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

/linux-4.1.27/drivers/i2c/busses/
H A Di2c-ocores.c51 #define OCI2C_CMD 4 /* write only */ macro
52 #define OCI2C_STATUS 4 /* read only, same address as OCI2C_CMD */
127 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); ocores_process()
135 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); ocores_process()
145 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); ocores_process()
169 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); ocores_process()
176 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); ocores_process()
182 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? ocores_process()
186 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_WRITE); ocores_process()
212 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); ocores_xfer()
245 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); ocores_init()

Completed in 67 milliseconds