Searched refs:OCI2C_CMD (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-ocores.c | 51 #define OCI2C_CMD 4 /* write only */ macro 147 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); in ocores_process() 155 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process() 165 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process() 186 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); in ocores_process() 193 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); in ocores_process() 199 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? in ocores_process() 203 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_WRITE); in ocores_process() 226 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); in ocores_xfer() 259 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); in ocores_init()
|