Searched refs:OCI2C_CONTROL (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 | 39 #define OCI2C_CONTROL 2 macro 181 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); 184 oc_setreg(i2c, OCI2C_CONTROL, ctrl & ~(OCI2C_CTRL_EN|OCI2C_CTRL_IEN)); 192 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_IEN | OCI2C_CTRL_EN); 300 oc_setreg(i2c, OCI2C_CONTROL, oc_getreg(i2c, OCI2C_CONTROL) 326 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); 329 oc_setreg(i2c, OCI2C_CONTROL, ctrl & ~(OCI2C_CTRL_EN|OCI2C_CTRL_IEN));
|
Completed in 111 milliseconds