Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-ocores.c56 #define OCI2C_CONTROL 2 macro
377 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_xfer_core()
379 oc_setreg(i2c, OCI2C_CONTROL, ctrl & ~OCI2C_CTRL_IEN); in ocores_xfer_core()
381 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_IEN); in ocores_xfer_core()
422 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_init()
426 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_init()
444 oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_EN); in ocores_init()
747 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_remove()
751 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_i2c_remove()
766 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_suspend()
[all …]