Lines Matching refs:gssr
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
727 if (hw->mac.ops.acquire_swfw_sync(hw, gssr)) in ixgbe_mii_bus_read_generic_c45()
747 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_read_generic_c45()
760 int regnum, u16 val, u32 gssr) in ixgbe_mii_bus_write_generic_c22() argument
765 if (hw->mac.ops.acquire_swfw_sync(hw, gssr)) in ixgbe_mii_bus_write_generic_c22()
777 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_write_generic_c22()
792 u32 gssr) in ixgbe_mii_bus_write_generic_c45() argument
797 if (hw->mac.ops.acquire_swfw_sync(hw, gssr)) in ixgbe_mii_bus_write_generic_c45()
814 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_write_generic_c45()
828 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_mii_bus_read_c22() local
830 return ixgbe_mii_bus_read_generic_c22(hw, addr, regnum, gssr); in ixgbe_mii_bus_read_c22()
845 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_mii_bus_read_c45() local
847 return ixgbe_mii_bus_read_generic_c45(hw, addr, devad, regnum, gssr); in ixgbe_mii_bus_read_c45()
862 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_mii_bus_write_c22() local
864 return ixgbe_mii_bus_write_generic_c22(hw, addr, regnum, val, gssr); in ixgbe_mii_bus_write_c22()
880 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_mii_bus_write_c45() local
883 gssr); in ixgbe_mii_bus_write_c45()
897 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_x550em_a_mii_bus_read_c22() local
899 gssr |= IXGBE_GSSR_TOKEN_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_x550em_a_mii_bus_read_c22()
900 return ixgbe_mii_bus_read_generic_c22(hw, addr, regnum, gssr); in ixgbe_x550em_a_mii_bus_read_c22()
915 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_x550em_a_mii_bus_read_c45() local
917 gssr |= IXGBE_GSSR_TOKEN_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_x550em_a_mii_bus_read_c45()
918 return ixgbe_mii_bus_read_generic_c45(hw, addr, devad, regnum, gssr); in ixgbe_x550em_a_mii_bus_read_c45()
933 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_x550em_a_mii_bus_write_c22() local
935 gssr |= IXGBE_GSSR_TOKEN_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_x550em_a_mii_bus_write_c22()
936 return ixgbe_mii_bus_write_generic_c22(hw, addr, regnum, val, gssr); in ixgbe_x550em_a_mii_bus_write_c22()
952 u32 gssr = hw->phy.phy_semaphore_mask; in ixgbe_x550em_a_mii_bus_write_c45() local
954 gssr |= IXGBE_GSSR_TOKEN_SM | IXGBE_GSSR_PHY0_SM; in ixgbe_x550em_a_mii_bus_write_c45()
956 gssr); in ixgbe_x550em_a_mii_bus_write_c45()