Home
last modified time | relevance | path

Searched refs:gssr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c552 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 …]
H A Dixgbe_common.c2578 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 …]