Searched refs:octeon_i2c_reg_write (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-octeon-core.h | 139 static inline void octeon_i2c_reg_write(struct octeon_i2c *i2c, u64 eop_reg, u8 data) in octeon_i2c_reg_write() function 153 octeon_i2c_reg_write(i2c, SW_TWSI_EOP_TWSI_CTL, val) 155 octeon_i2c_reg_write(i2c, SW_TWSI_EOP_TWSI_DATA, val)
|
H A D | i2c-octeon-core.c | 695 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp); in octeon_i2c_set_clock() 696 octeon_i2c_reg_write(i2c, SW_TWSI_EOP_TWSI_CLKCTL, (mdiv << 3) | ndiv); in octeon_i2c_set_clock() 705 octeon_i2c_reg_write(i2c, SW_TWSI_EOP_TWSI_RST, 0); in octeon_i2c_init_lowlevel() 756 octeon_i2c_reg_write(i2c, SW_TWSI_EOP_TWSI_RST, 0); in octeon_i2c_prepare_recovery()
|