Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-octeon-core.h97 #define SW_TWSI(x) (x->roff.sw_twsi) macro
144 __raw_writeq(SW_TWSI_V | eop_reg | data, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_reg_write()
146 tmp = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_reg_write()
172 __raw_writeq(SW_TWSI_V | eop_reg | SW_TWSI_R, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_reg_read()
174 tmp = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_reg_read()
H A Di2c-octeon-core.c83 return (__raw_readq(i2c->twsi_base + SW_TWSI(i2c)) & SW_TWSI_V) == 0; in octeon_i2c_hlc_test_valid()
186 stat = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_check_status()
422 octeon_i2c_writeq_flush(cmd, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_read()
427 cmd = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_read()
475 octeon_i2c_writeq_flush(cmd, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_write()
480 cmd = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_write()
519 octeon_i2c_writeq_flush(cmd, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_comp_read()
525 cmd = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_comp_read()
583 octeon_i2c_writeq_flush(cmd, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_comp_write()
589 cmd = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_hlc_comp_write()