Searched refs:i2c_write_reg (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 216 i2c_write_reg(struct i2c_softc *sc, bus_size_t off, uint8_t val) in i2c_write_reg() function 236 i2c_write_reg(sc, off, status); in i2c_flag_set() 299 i2c_write_reg(sc, I2C_STATUS_REG, 0); in i2c_error_handler() 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() 528 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_repeated_start() 529 i2c_write_reg(sc, I2C_DATA_REG, slave); 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() 552 i2c_write_reg(sc, I2C_STATUS_REG, 0); in i2c_start_ll() [all …]
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | i2c.c | 127 i2c_write_reg(struct i2c_softc *sc, bus_size_t off, uint8_t val) in i2c_write_reg() function 147 i2c_write_reg(sc, off, status); in i2c_flag_set() 179 i2c_write_reg(sc, I2C_STATUS_REG, 0x0); in i2c_do_wait() 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() 257 i2c_write_reg(sc, I2C_DATA_REG, slave); in i2c_repeated_start() 290 i2c_write_reg(sc, I2C_CONTROL_REG, I2CCR_MEN | I2CCR_MSTA | I2CCR_MTX); in i2c_start() 292 i2c_write_reg(sc, I2C_DATA_REG, slave); 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() [all …]
|