Searched refs:i2cctl (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_phy.c | 46 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 47 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 48 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data); 49 static bool ixgbe_get_i2c_data(u32 *i2cctl); 1547 u32 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL); in ixgbe_i2c_start() local 1552 (void) ixgbe_set_i2c_data(hw, &i2cctl, 1); in ixgbe_i2c_start() 1553 ixgbe_raise_i2c_clk(hw, &i2cctl); in ixgbe_i2c_start() 1558 (void) ixgbe_set_i2c_data(hw, &i2cctl, 0); in ixgbe_i2c_start() 1563 ixgbe_lower_i2c_clk(hw, &i2cctl); in ixgbe_i2c_start() 1578 u32 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL); in ixgbe_i2c_stop() local [all …]
|
/titanic_41/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82575.c | 114 static void e1000_raise_i2c_clk(struct e1000_hw *hw, u32 *i2cctl); 115 static void e1000_lower_i2c_clk(struct e1000_hw *hw, u32 *i2cctl); 116 static s32 e1000_set_i2c_data(struct e1000_hw *hw, u32 *i2cctl, bool data); 117 static bool e1000_get_i2c_data(u32 *i2cctl); 3296 u32 i2cctl = E1000_READ_REG(hw, E1000_I2CPARAMS); in e1000_i2c_start() local 3301 e1000_set_i2c_data(hw, &i2cctl, 1); in e1000_i2c_start() 3302 e1000_raise_i2c_clk(hw, &i2cctl); in e1000_i2c_start() 3307 e1000_set_i2c_data(hw, &i2cctl, 0); in e1000_i2c_start() 3312 e1000_lower_i2c_clk(hw, &i2cctl); in e1000_i2c_start() 3327 u32 i2cctl = E1000_READ_REG(hw, E1000_I2CPARAMS); in e1000_i2c_stop() local [all …]
|