Searched refs:oc_setreg (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 67 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) function 84 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK); 92 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); 102 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); 125 oc_setreg(i2c, OCI2C_DATA, addr); 126 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_START); 133 oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_STOP); 139 oc_setreg(i2c, OCI2C_CMD, i2c->pos == (msg->len-1) ? 142 oc_setreg(i2c, OCI2C_DATA, msg->buf[i2c->pos++]); 143 oc_setreg(i2 [all...] |
Completed in 132 milliseconds