Searched refs:I2CCR_MEN (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/powerpc/mpc85xx/ |
H A D | i2c.c | 64 #define I2CCR_MEN (1<<7) /* Module enable */ macro 180 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | I2CCR_TXAK); in i2c_do_wait() 290 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | I2CCR_MSTA | I2CCR_MTX); in i2c_start() 311 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | I2CCR_TXAK); in i2c_stop() 363 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read() 367 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read() 383 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read() 388 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read()
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 88 #define I2CCR_MEN (1 << 7) /* Module enable */ macro 300 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN); in i2c_error_handler() 544 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN); in i2c_start_ll() 549 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | I2CCR_MSTA | I2CCR_MTX); in i2c_start_ll() 592 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN); in i2c_stop() 670 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read() 673 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read() 689 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read() 693 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | in i2c_read()
|