Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-octeon-core.h12 #define SW_TWSI_V BIT_ULL(63) /* Valid bit */ macro
144 __raw_writeq(SW_TWSI_V | eop_reg | data, i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_reg_write()
149 } while ((tmp & SW_TWSI_V) != 0); 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()
181 } while ((tmp & SW_TWSI_V) != 0); in octeon_i2c_reg_read()
Di2c-octeon-core.c83 return (__raw_readq(i2c->twsi_base + SW_TWSI(i2c)) & SW_TWSI_V) == 0; in octeon_i2c_hlc_test_valid()
411 cmd = SW_TWSI_V | SW_TWSI_R | SW_TWSI_SOVR; in octeon_i2c_hlc_read()
453 cmd = SW_TWSI_V | SW_TWSI_SOVR; in octeon_i2c_hlc_write()
496 cmd = SW_TWSI_V | SW_TWSI_R | SW_TWSI_SOVR; in octeon_i2c_hlc_comp_read()
551 cmd = SW_TWSI_V | SW_TWSI_SOVR; in octeon_i2c_hlc_comp_write()