Searched refs:gssr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.c | 552 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_read_phy_reg_generic() local 555 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) == 0) { in ixgbe_read_phy_reg_generic() 558 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_phy_reg_generic() 650 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_write_phy_reg_generic() local 653 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) == 0) { in ixgbe_write_phy_reg_generic() 656 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_write_phy_reg_generic() 688 int regnum, u32 gssr) in ixgbe_mii_bus_read_generic_c22() argument 693 if (hw->mac.ops.acquire_swfw_sync(hw, gssr)) in ixgbe_mii_bus_read_generic_c22() 709 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_read_generic_c22() 722 int devad, int regnum, u32 gssr) in ixgbe_mii_bus_read_generic_c45() argument [all …]
|
D | ixgbe_82598.c | 958 u16 gssr; in ixgbe_read_i2c_phy_82598() local 962 gssr = IXGBE_GSSR_PHY1_SM; in ixgbe_read_i2c_phy_82598() 964 gssr = IXGBE_GSSR_PHY0_SM; in ixgbe_read_i2c_phy_82598() 966 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) != 0) in ixgbe_read_i2c_phy_82598() 1010 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_i2c_phy_82598()
|
D | ixgbe_common.c | 2578 u32 gssr = 0; in ixgbe_acquire_swfw_sync() local 2592 gssr = IXGBE_READ_REG(hw, IXGBE_GSSR); in ixgbe_acquire_swfw_sync() 2593 if (!(gssr & (fwmask | swmask))) { in ixgbe_acquire_swfw_sync() 2594 gssr |= swmask; in ixgbe_acquire_swfw_sync() 2595 IXGBE_WRITE_REG(hw, IXGBE_GSSR, gssr); in ixgbe_acquire_swfw_sync() 2606 if (gssr & (fwmask | swmask)) in ixgbe_acquire_swfw_sync() 2607 ixgbe_release_swfw_sync(hw, gssr & (fwmask | swmask)); in ixgbe_acquire_swfw_sync() 2623 u32 gssr; in ixgbe_release_swfw_sync() local 2628 gssr = IXGBE_READ_REG(hw, IXGBE_GSSR); in ixgbe_release_swfw_sync() 2629 gssr &= ~swmask; in ixgbe_release_swfw_sync() [all …]
|
D | ixgbe_x550.c | 696 u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_read_iosf_sb_reg_x550() local 700 ret = hw->mac.ops.acquire_swfw_sync(hw, gssr); in ixgbe_read_iosf_sb_reg_x550() 727 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_iosf_sb_reg_x550() 1393 u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_write_iosf_sb_reg_x550() local 1397 ret = hw->mac.ops.acquire_swfw_sync(hw, gssr); in ixgbe_write_iosf_sb_reg_x550() 1423 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_write_iosf_sb_reg_x550()
|