Searched refs:i2ccmd (Results 1 – 1 of 1) sorted by relevance
229 u32 i, i2ccmd = 0; in igb_read_phy_reg_i2c() local235 i2ccmd = ((offset << E1000_I2CCMD_REG_ADDR_SHIFT) | in igb_read_phy_reg_i2c()239 wr32(E1000_I2CCMD, i2ccmd); in igb_read_phy_reg_i2c()244 i2ccmd = rd32(E1000_I2CCMD); in igb_read_phy_reg_i2c()245 if (i2ccmd & E1000_I2CCMD_READY) in igb_read_phy_reg_i2c()248 if (!(i2ccmd & E1000_I2CCMD_READY)) { in igb_read_phy_reg_i2c()252 if (i2ccmd & E1000_I2CCMD_ERROR) { in igb_read_phy_reg_i2c()258 *data = ((i2ccmd >> 8) & 0x00FF) | FIELD_PREP(0xFF00, i2ccmd); in igb_read_phy_reg_i2c()274 u32 i, i2ccmd = 0; in igb_write_phy_reg_i2c() local291 i2ccmd = ((offset << E1000_I2CCMD_REG_ADDR_SHIFT) | in igb_write_phy_reg_i2c()[all …]