Searched refs:XI2C_SET_BITS (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-i2c.c | 233 XI2C_SET_BITS(cmd, IC_DATA_CMD, STOP, 1); in xgbe_i2c_write() 337 XI2C_SET_BITS(reg, IC_CON, MASTER_MODE, 1); in xgbe_i2c_set_mode() 338 XI2C_SET_BITS(reg, IC_CON, SLAVE_DISABLE, 1); in xgbe_i2c_set_mode() 339 XI2C_SET_BITS(reg, IC_CON, RESTART_EN, 1); in xgbe_i2c_set_mode() 340 XI2C_SET_BITS(reg, IC_CON, SPEED, XGBE_STD_SPEED); in xgbe_i2c_set_mode() 341 XI2C_SET_BITS(reg, IC_CON, RX_FIFO_FULL_HOLD, 1); in xgbe_i2c_set_mode()
|
D | xgbe-common.h | 1714 #define XI2C_SET_BITS(_var, _prefix, _field, _val) \ macro
|