Home
last modified time | relevance | path

Searched refs:OCI2C_CONTROL (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/i2c/busses/
Di2c-ocores.c56 #define OCI2C_CONTROL 2 macro
376 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_xfer_core()
378 oc_setreg(i2c, OCI2C_CONTROL, ctrl & ~OCI2C_CTRL_IEN); in ocores_xfer_core()
380 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_IEN); in ocores_xfer_core()
421 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_init()
425 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_init()
443 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_EN); in ocores_init()
746 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_remove()
750 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_i2c_remove()
765 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_suspend()
[all …]