Lines Matching refs:OCI2C_CONTROL
56 #define OCI2C_CONTROL 2 macro
378 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_xfer_core()
380 oc_setreg(i2c, OCI2C_CONTROL, ctrl & ~OCI2C_CTRL_IEN); in ocores_xfer_core()
382 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_IEN); in ocores_xfer_core()
424 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_init()
428 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_init()
445 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_EN); in ocores_init()
736 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_remove()
740 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_i2c_remove()
749 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_suspend()
753 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_i2c_suspend()