Searched refs:i2ccmd (Results 1 – 1 of 1) sorted by relevance
418 u32 i, i2ccmd = 0; in e1000_read_phy_reg_i2c() local426 i2ccmd = ((offset << E1000_I2CCMD_REG_ADDR_SHIFT) | in e1000_read_phy_reg_i2c()430 E1000_WRITE_REG(hw, E1000_I2CCMD, i2ccmd); in e1000_read_phy_reg_i2c()435 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_read_phy_reg_i2c()436 if (i2ccmd & E1000_I2CCMD_READY) in e1000_read_phy_reg_i2c()439 if (!(i2ccmd & E1000_I2CCMD_READY)) { in e1000_read_phy_reg_i2c()443 if (i2ccmd & E1000_I2CCMD_ERROR) { in e1000_read_phy_reg_i2c()449 *data = ((i2ccmd >> 8) & 0x00FF) | ((i2ccmd << 8) & 0xFF00); in e1000_read_phy_reg_i2c()465 u32 i, i2ccmd = 0; in e1000_write_phy_reg_i2c() local484 i2ccmd = ((offset << E1000_I2CCMD_REG_ADDR_SHIFT) | in e1000_write_phy_reg_i2c()[all …]