Searched refs:TWSI_IA_CTL (Results 1 – 1 of 1) sorted by relevance
/openbsd/sys/arch/octeon/dev/ |
H A D | octiic.c | 108 #define TWSI_IA_CTL 0x02 macro 232 error = octiic_reg_write(sc, TWSI_IA_CTL, TWSI_CTL_ENAB | TWSI_CTL_STA); in octiic_i2c_send_start() 258 return octiic_reg_write(sc, TWSI_IA_CTL, TWSI_CTL_ENAB | TWSI_CTL_STP); in octiic_i2c_send_stop() 279 octiic_reg_write(sc, TWSI_IA_CTL, TWSI_CTL_ENAB); in octiic_i2c_initiate_xfer() 287 octiic_reg_write(sc, TWSI_IA_CTL, TWSI_CTL_ENAB); in octiic_i2c_initiate_xfer() 306 octiic_reg_write(sc, TWSI_IA_CTL, ctl); in octiic_i2c_read_byte() 328 octiic_reg_write(sc, TWSI_IA_CTL, TWSI_CTL_ENAB); in octiic_i2c_write_byte() 426 octiic_reg_read(sc, TWSI_IA_CTL, &ctl); in octiic_wait()
|