Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/xgbe/
Dxgbe-i2c.c233 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()
Dxgbe-common.h1714 #define XI2C_SET_BITS(_var, _prefix, _field, _val) \ macro