Home
last modified time | relevance | path

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

/freebsd/sys/arm/freescale/imx/
H A Dimx_i2c.c84 #define I2C_STATUS_REG 0x0C /* I2C status register */ macro
247 srb = i2c_read_reg(sc, I2C_STATUS_REG) & I2CSR_MBB; in wait_for_busbusy()
273 sr = i2c_read_reg(sc, I2C_STATUS_REG); in wait_for_xfer()
299 i2c_write_reg(sc, I2C_STATUS_REG, 0); in i2c_error_handler()
518 if ((i2c_read_reg(sc, I2C_STATUS_REG) & I2CSR_MBB) == 0) { in i2c_repeated_start()
528 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_repeated_start()
546 if (i2c_read_reg(sc, I2C_STATUS_REG) & I2CSR_MBB) { in i2c_start_ll()
552 i2c_write_reg(sc, I2C_STATUS_REG, 0); in i2c_start_ll()
647 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_reset()
676 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_read()
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Di2c.c53 #define I2C_STATUS_REG 0x0C /* I2C status register */ macro
156 status = i2c_read_reg(sc, I2C_STATUS_REG); in i2c_do_wait()
179 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_do_wait()
280 status = i2c_read_reg(sc, I2C_STATUS_REG); in i2c_start()
340 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_reset()