Searched refs:gssr (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_phy.c | 285 u16 gssr; in ixgbe_read_phy_reg_generic() local 290 gssr = IXGBE_GSSR_PHY1_SM; in ixgbe_read_phy_reg_generic() 292 gssr = IXGBE_GSSR_PHY0_SM; in ixgbe_read_phy_reg_generic() 294 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) != IXGBE_SUCCESS) in ixgbe_read_phy_reg_generic() 365 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_phy_reg_generic() 384 u16 gssr; in ixgbe_write_phy_reg_generic() local 389 gssr = IXGBE_GSSR_PHY1_SM; in ixgbe_write_phy_reg_generic() 391 gssr = IXGBE_GSSR_PHY0_SM; in ixgbe_write_phy_reg_generic() 393 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) != IXGBE_SUCCESS) in ixgbe_write_phy_reg_generic() 459 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_write_phy_reg_generic()
|
H A D | ixgbe_common.c | 2820 u32 gssr; in ixgbe_acquire_swfw_sync() local 2835 gssr = IXGBE_READ_REG(hw, IXGBE_GSSR); in ixgbe_acquire_swfw_sync() 2836 if (!(gssr & (fwmask | swmask))) in ixgbe_acquire_swfw_sync() 2853 gssr |= swmask; in ixgbe_acquire_swfw_sync() 2854 IXGBE_WRITE_REG(hw, IXGBE_GSSR, gssr); in ixgbe_acquire_swfw_sync() 2870 u32 gssr; in ixgbe_release_swfw_sync() local 2877 gssr = IXGBE_READ_REG(hw, IXGBE_GSSR); in ixgbe_release_swfw_sync() 2878 gssr &= ~swmask; in ixgbe_release_swfw_sync() 2879 IXGBE_WRITE_REG(hw, IXGBE_GSSR, gssr); in ixgbe_release_swfw_sync()
|