Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c229 u32 i, i2ccmd = 0; in igb_read_phy_reg_i2c() local
235 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() local
291 i2ccmd = ((offset << E1000_I2CCMD_REG_ADDR_SHIFT) | in igb_write_phy_reg_i2c()
[all …]