Searched refs:OCI2C_CONTROL (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 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() [all …]
|