Home
last modified time | relevance | path

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

/freebsd/sys/powerpc/mpc85xx/
H A Di2c.c52 #define I2C_CONTROL_REG 0x08 /* I2C control register */ macro
180 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | I2CCR_TXAK); in i2c_do_wait()
206 i2c_write_reg(sc, I2C_CONTROL_REG, I2C_ENABLE); in i2c_probe()
255 i2c_flag_set(sc, I2C_CONTROL_REG ,I2CCR_RSTA); in i2c_repeated_start()
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()
339 i2c_write_reg(sc, I2C_CONTROL_REG, 0x0); in i2c_reset()
344 i2c_write_reg(sc, I2C_CONTROL_REG, I2C_ENABLE); in i2c_reset()
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()
[all …]
/freebsd/sys/arm/freescale/imx/
H A Dimx_i2c.c83 #define I2C_CONTROL_REG 0x08 /* I2C control register */ macro
300 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN); in i2c_error_handler()
302 i2c_write_reg(sc, I2C_CONTROL_REG, 0); in i2c_error_handler()
526 i2c_flag_set(sc, I2C_CONTROL_REG, I2CCR_RSTA); in i2c_repeated_start()
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()
577 i2c_write_reg(sc, I2C_CONTROL_REG, 0x0); in i2c_start()
592 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN); in i2c_stop()
594 i2c_write_reg(sc, I2C_CONTROL_REG, 0); in i2c_stop()
648 i2c_write_reg(sc, I2C_CONTROL_REG, 0x0); in i2c_reset()
[all …]