Searched refs:gssr (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_82598.c | 1129 u16 gssr; in ixgbe_read_i2c_phy_82598() local 1135 gssr = IXGBE_GSSR_PHY1_SM; in ixgbe_read_i2c_phy_82598() 1137 gssr = IXGBE_GSSR_PHY0_SM; in ixgbe_read_i2c_phy_82598() 1139 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) != IXGBE_SUCCESS) in ixgbe_read_i2c_phy_82598() 1183 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_i2c_phy_82598()
|
H A D | ixgbe_common.c | 3189 u32 gssr = 0; in ixgbe_acquire_swfw_sync() local 3205 gssr = IXGBE_READ_REG(hw, IXGBE_GSSR); in ixgbe_acquire_swfw_sync() 3206 if (!(gssr & (fwmask | swmask))) { in ixgbe_acquire_swfw_sync() 3207 gssr |= swmask; in ixgbe_acquire_swfw_sync() 3208 IXGBE_WRITE_REG(hw, IXGBE_GSSR, gssr); in ixgbe_acquire_swfw_sync() 3219 if (gssr & (fwmask | swmask)) in ixgbe_acquire_swfw_sync() 3220 ixgbe_release_swfw_sync(hw, gssr & (fwmask | swmask)); in ixgbe_acquire_swfw_sync() 3236 u32 gssr; in ixgbe_release_swfw_sync() local 3243 gssr = IXGBE_READ_REG(hw, IXGBE_GSSR); in ixgbe_release_swfw_sync() 3244 gssr &= ~swmask; in ixgbe_release_swfw_sync() [all …]
|
H A D | ixgbe_phy.c | 685 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_read_phy_reg_generic() local 689 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) == IXGBE_SUCCESS) { in ixgbe_read_phy_reg_generic() 692 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_phy_reg_generic() 786 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_write_phy_reg_generic() local 790 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) == IXGBE_SUCCESS) { in ixgbe_write_phy_reg_generic() 793 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_write_phy_reg_generic()
|
H A D | ixgbe_x550.c | 814 u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_write_iosf_sb_reg_x550() local 818 ret = ixgbe_acquire_swfw_semaphore(hw, gssr); in ixgbe_write_iosf_sb_reg_x550() 846 ixgbe_release_swfw_semaphore(hw, gssr); in ixgbe_write_iosf_sb_reg_x550() 861 u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_read_iosf_sb_reg_x550() local 865 ret = ixgbe_acquire_swfw_semaphore(hw, gssr); in ixgbe_read_iosf_sb_reg_x550() 893 ixgbe_release_swfw_semaphore(hw, gssr); in ixgbe_read_iosf_sb_reg_x550()
|